diff options
author | 2013-08-26 11:36:28 +0000 | |
---|---|---|
committer | 2013-08-26 11:36:28 +0000 | |
commit | 297b5549ff916cc2e5631227d296b9a234fbdcea (patch) | |
tree | 06fc47bdcb4d26845e24cac2d65368c8b3ca3a48 /dev-python/astng | |
parent | dev-haskell/network-protocol-xmpp: initial layout (diff) | |
download | gentoo-2-297b5549ff916cc2e5631227d296b9a234fbdcea.tar.gz gentoo-2-297b5549ff916cc2e5631227d296b9a234fbdcea.tar.bz2 gentoo-2-297b5549ff916cc2e5631227d296b9a234fbdcea.zip |
Remove old versions.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 6B065BFB)
Diffstat (limited to 'dev-python/astng')
-rw-r--r-- | dev-python/astng/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/astng/astng-0.20.3.ebuild | 60 | ||||
-rw-r--r-- | dev-python/astng/astng-0.21.0.ebuild | 70 | ||||
-rw-r--r-- | dev-python/astng/astng-0.22.0.ebuild | 59 | ||||
-rw-r--r-- | dev-python/astng/astng-0.23.1-r1.ebuild | 65 | ||||
-rw-r--r-- | dev-python/astng/astng-0.23.1.ebuild | 60 | ||||
-rw-r--r-- | dev-python/astng/astng-0.24.0.ebuild | 60 | ||||
-rw-r--r-- | dev-python/astng/astng-0.24.1-r1.ebuild | 40 | ||||
-rw-r--r-- | dev-python/astng/astng-0.24.1.ebuild | 60 | ||||
-rw-r--r-- | dev-python/astng/astng-0.24.2.ebuild | 40 |
10 files changed, 7 insertions, 515 deletions
diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog index 4c1330c4d53d..636011f5fe09 100644 --- a/dev-python/astng/ChangeLog +++ b/dev-python/astng/ChangeLog @@ -1,6 +1,12 @@ # 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.71 2013/06/26 01:36:50 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.72 2013/08/26 11:36:28 djc Exp $ + + 26 Aug 2013; Dirkjan Ochtman <djc@gentoo.org> -astng-0.20.3.ebuild, + -astng-0.21.0.ebuild, -astng-0.22.0.ebuild, -astng-0.23.1-r1.ebuild, + -astng-0.23.1.ebuild, -astng-0.24.0.ebuild, -astng-0.24.1-r1.ebuild, + -astng-0.24.1.ebuild, -astng-0.24.2.ebuild: + Remove old versions. 26 Jun 2013; Patrick McLean <chutz@gentoo.org> astng-0.24.3.ebuild: Restore ~arm keyword dropped in last version bump, clean out test diff --git a/dev-python/astng/astng-0.20.3.ebuild b/dev-python/astng/astng-0.20.3.ebuild deleted file mode 100644 index 4d869dc06c9e..000000000000 --- a/dev-python/astng/astng-0.20.3.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.20.3.ebuild,v 1.5 2012/08/27 15:20:01 floppym Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation 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="amd64 ~ia64 ppc ~ppc64 ~sparc x86 ~x64-macos ~x86-macos" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=">=dev-python/logilab-common-0.49.0" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" - -PYTHON_MODNAME="logilab/astng" - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - PYTHONPATH="${spath}" pytest -v || return 1 - popd > /dev/null || return 1 - } - python_execute_function testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/astng-0.21.0.ebuild b/dev-python/astng/astng-0.21.0.ebuild deleted file mode 100644 index 7c6ac17664a0..000000000000 --- a/dev-python/astng/astng-0.21.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.21.0.ebuild,v 1.2 2012/08/27 15:20:01 floppym Exp $ - -EAPI="3" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation 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="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=">=dev-python/logilab-common-0.53.0" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" - -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" - -PYTHON_MODNAME="logilab/astng" - -src_prepare() { - distutils_src_prepare - - conversion() { - [[ "${PYTHON_ABI}" == 2.* ]] && return - find -name "*.py" ! -name "setup.py" -print | xargs 2to3-${PYTHON_ABI} -nw --no-diffs - } - python_execute_function -s conversion -} - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - PYTHONPATH="${spath}" pytest -v || return 1 - popd > /dev/null || return 1 - } - python_execute_function -s testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/astng-0.22.0.ebuild b/dev-python/astng/astng-0.22.0.ebuild deleted file mode 100644 index 01fb501fa2e8..000000000000 --- a/dev-python/astng/astng-0.22.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.22.0.ebuild,v 1.3 2012/08/27 15:20:01 floppym Exp $ - -EAPI="3" -SUPPORT_PYTHON_ABIS="1" -PYTHON_TESTS_FAILURES_TOLERANT_ABIS="3.* *-jython" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation 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="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=">=dev-python/logilab-common-0.53.0" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" - -PYTHON_MODNAME="logilab/astng" - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation_and_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - PYTHONPATH="${spath}" pytest -v || return 1 - popd > /dev/null || return 1 - } - python_execute_function testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/astng-0.23.1-r1.ebuild b/dev-python/astng/astng-0.23.1-r1.ebuild deleted file mode 100644 index 505372f00e37..000000000000 --- a/dev-python/astng/astng-0.23.1-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.23.1-r1.ebuild,v 1.2 2012/08/27 15:20:01 floppym Exp $ - -EAPI="4" -SUPPORT_PYTHON_ABIS="1" -PYTHON_TESTS_RESTRICTED_ABIS="3.* *-jython *-pypy-*" - -inherit distutils eutils - -DESCRIPTION="Abstract Syntax Tree New Generation 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="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=">=dev-python/logilab-common-0.53.0" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" -PYTHON_MODNAME="logilab/astng" -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" - -src_prepare() { - epatch "${FILESDIR}/${P}-file-open.patch" - distutils_src_prepare -} - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py build -b build install --root="${tpath}" || - die "Installation for tests failed with $(python_get_implementation_and_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - PYTHONPATH="${spath}" pytest -v || return 1 - popd > /dev/null || return 1 - } - python_execute_function -s testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/astng-0.23.1.ebuild b/dev-python/astng/astng-0.23.1.ebuild deleted file mode 100644 index adfeb736d1ee..000000000000 --- a/dev-python/astng/astng-0.23.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.23.1.ebuild,v 1.5 2012/08/27 15:20:01 floppym Exp $ - -EAPI="4" -SUPPORT_PYTHON_ABIS="1" -PYTHON_TESTS_RESTRICTED_ABIS="3.* *-jython *-pypy-*" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation 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="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=">=dev-python/logilab-common-0.53.0" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" -PYTHON_MODNAME="logilab/astng" -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py build -b build install --root="${tpath}" || - die "Installation for tests failed with $(python_get_implementation_and_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - PYTHONPATH="${spath}" pytest -v || return 1 - popd > /dev/null || return 1 - } - python_execute_function -s testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/astng-0.24.0.ebuild b/dev-python/astng/astng-0.24.0.ebuild deleted file mode 100644 index 6228fd700505..000000000000 --- a/dev-python/astng/astng-0.24.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.24.0.ebuild,v 1.2 2012/08/27 15:20:01 floppym Exp $ - -EAPI="4" -SUPPORT_PYTHON_ABIS="1" -PYTHON_TESTS_RESTRICTED_ABIS="3.* *-jython *-pypy-*" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation 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="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" -IUSE="test" - -# Version specified in __pkginfo__.py. -RDEPEND=">=dev-python/logilab-common-0.53.0" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" -PYTHON_MODNAME="logilab/astng" -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py build -b build install --root="${tpath}" || - die "Installation for tests failed with $(python_get_implementation_and_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - PYTHONPATH="${spath}" pytest -v || return 1 - popd > /dev/null || return 1 - } - python_execute_function -s testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/astng-0.24.1-r1.ebuild b/dev-python/astng/astng-0.24.1-r1.ebuild deleted file mode 100644 index c789b70017c1..000000000000 --- a/dev-python/astng/astng-0.24.1-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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.2 2013/03/30 13:00:41 floppym 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 -} diff --git a/dev-python/astng/astng-0.24.1.ebuild b/dev-python/astng/astng-0.24.1.ebuild deleted file mode 100644 index 31e5e282d2aa..000000000000 --- a/dev-python/astng/astng-0.24.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# 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.ebuild,v 1.3 2013/02/02 22:27:54 ago Exp $ - -EAPI="4" -SUPPORT_PYTHON_ABIS="1" -PYTHON_TESTS_RESTRICTED_ABIS="3.* *-jython *-pypy-*" - -inherit distutils - -DESCRIPTION="Abstract Syntax Tree New Generation 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" -DEPEND="${RDEPEND} - dev-python/setuptools - test? ( >=dev-python/egenix-mx-base-3.0.0 )" - -S="${WORKDIR}/logilab-${P}" -PYTHON_MODNAME="logilab/astng" -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" - -src_test() { - testing() { - local tpath="${T}/test-${PYTHON_ABI}" - local spath="${tpath}$(python_get_sitedir)" - - mkdir -p "${spath}/logilab" || return 1 - cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 - - "$(PYTHON)" setup.py build -b build install --root="${tpath}" || - die "Installation for tests failed with $(python_get_implementation_and_version)" - - # pytest uses tests placed relatively to the current directory. - pushd "${spath}/logilab/astng" > /dev/null || return 1 - PYTHONPATH="${spath}" pytest -v || return 1 - popd > /dev/null || return 1 - } - python_execute_function -s testing -} - -src_install() { - distutils_src_install - - deletion_of_unneeded_files() { - # Avoid collision with dev-python/logilab-common. - rm -f "${ED}$(python_get_sitedir)/logilab/__init__.py" || return 1 - - # Don't install tests. - rm -fr "${ED}$(python_get_sitedir)/logilab/astng/test" || return 1 - } - python_execute_function -q deletion_of_unneeded_files -} diff --git a/dev-python/astng/astng-0.24.2.ebuild b/dev-python/astng/astng-0.24.2.ebuild deleted file mode 100644 index 4b3d268cb3e3..000000000000 --- a/dev-python/astng/astng-0.24.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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.2.ebuild,v 1.5 2013/04/02 08:06:04 jlec 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 -} |