summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-01-15 22:36:55 +0000
committerMichał Górny <mgorny@gentoo.org>2013-01-15 22:36:55 +0000
commit6a8c973c7621affbb181179e870cd395a5fe8488 (patch)
treed925b25d5f1d357df19563824d9c562ea7a816bf /dev-python/mysql-python
parentbuild against newer zlib (bug #452404); tidy (diff)
downloadgentoo-2-6a8c973c7621affbb181179e870cd395a5fe8488.tar.gz
gentoo-2-6a8c973c7621affbb181179e870cd395a5fe8488.tar.bz2
gentoo-2-6a8c973c7621affbb181179e870cd395a5fe8488.zip
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha152/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/mysql-python')
-rw-r--r--dev-python/mysql-python/ChangeLog9
-rw-r--r--dev-python/mysql-python/mysql-python-1.2.3-r1.ebuild31
2 files changed, 38 insertions, 2 deletions
diff --git a/dev-python/mysql-python/ChangeLog b/dev-python/mysql-python/ChangeLog
index d4d1d09090cd..7b67273d2420 100644
--- a/dev-python/mysql-python/ChangeLog
+++ b/dev-python/mysql-python/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/mysql-python
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/ChangeLog,v 1.82 2012/09/30 16:55:11 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/ChangeLog,v 1.83 2013/01/15 22:36:55 mgorny Exp $
+
+*mysql-python-1.2.3-r1 (15 Jan 2013)
+
+ 15 Jan 2013; Michał Górny <mgorny@gentoo.org> +mysql-python-1.2.3-r1.ebuild:
+ Migrate to distutils-r1.
30 Sep 2012; Raúl Porcel <armin76@gentoo.org> mysql-python-1.2.3.ebuild:
Add ~s390/~sh
diff --git a/dev-python/mysql-python/mysql-python-1.2.3-r1.ebuild b/dev-python/mysql-python/mysql-python-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..10e9a2508182
--- /dev/null
+++ b/dev-python/mysql-python/mysql-python-1.2.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python/mysql-python-1.2.3-r1.ebuild,v 1.1 2013/01/15 22:36:55 mgorny Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit distutils-r1 flag-o-matic
+
+MY_P="MySQL-python-${PV}"
+
+DESCRIPTION="Python interface to MySQL"
+HOMEPAGE="http://sourceforge.net/projects/mysql-python/ http://pypi.python.org/pypi/MySQL-python"
+SRC_URI="mirror://sourceforge/mysql-python/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="virtual/mysql"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( HISTORY README doc/{FAQ,MySQLdb}.txt )
+
+python_configure_all() {
+ append-flags -fno-strict-aliasing
+}