summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-14 17:49:02 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-14 17:49:02 +0000
commit1e727e4a603e63ca9882b7a4f4e157d30f15270d (patch)
treeb604e49b2d1992a137611bbdc69ee536062b06fd
parentsci-biology/primer3: Version Bump (diff)
downloadgentoo-2-1e727e4a603e63ca9882b7a4f4e157d30f15270d.tar.gz
gentoo-2-1e727e4a603e63ca9882b7a4f4e157d30f15270d.tar.bz2
gentoo-2-1e727e4a603e63ca9882b7a4f4e157d30f15270d.zip
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
-rw-r--r--dev-python/astng/ChangeLog7
-rw-r--r--dev-python/astng/astng-0.24.1-r1.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog
index 866d214d940f..4d34b499e26e 100644
--- a/dev-python/astng/ChangeLog
+++ b/dev-python/astng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/astng
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.61 2013/02/02 22:27:54 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.62 2013/02/14 17:49:02 mgorny Exp $
+
+*astng-0.24.1-r1 (14 Feb 2013)
+
+ 14 Feb 2013; Michał Górny <mgorny@gentoo.org> +astng-0.24.1-r1.ebuild:
+ Migrate to distutils-r1.
02 Feb 2013; Agostino Sarubbo <ago@gentoo.org> astng-0.24.1.ebuild:
Add ~arm, wrt bug #449220
diff --git a/dev-python/astng/astng-0.24.1-r1.ebuild b/dev-python/astng/astng-0.24.1-r1.ebuild
new file mode 100644
index 000000000000..b70a4fbd1aaa
--- /dev/null
+++ b/dev-python/astng/astng-0.24.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.24.1-r1.ebuild,v 1.1 2013/02/14 17:49:02 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy{1_9,2_0} )
+
+inherit distutils-r1
+
+DESCRIPTION="Abstract Syntax Tree for logilab packages"
+HOMEPAGE="http://www.logilab.org/project/logilab-astng http://pypi.python.org/pypi/logilab-astng"
+SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz mirror://pypi/l/logilab-astng/logilab-${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos"
+IUSE="test"
+
+# Version specified in __pkginfo__.py.
+RDEPEND=">=dev-python/logilab-common-0.53.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( >=dev-python/egenix-mx-base-3.0.0[$(python_gen_usedep python2*)] )"
+
+S="${WORKDIR}/logilab-${P}"
+
+python_test() {
+ distutils_install_for_testing
+
+ # Make sure that the tests use correct modules.
+ cd "${TEST_DIR}"/lib || die
+ pytest -v || die "Tests fail with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ rm "${D}$(python_get_sitedir)/logilab/__init__.py" || die
+}