summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-04-20 00:45:12 +0000
committerMike Gilbert <floppym@gentoo.org>2012-04-20 00:45:12 +0000
commitccc26f99eb2241e5c841dddbbfa83ba7de0efaab (patch)
tree240da9af38a87a280240e791c913fa9c54827bd5 /dev-python/astng
parentRemove mask on libmowgli:2 as it is now considered stable by upstream. (diff)
downloadgentoo-2-ccc26f99eb2241e5c841dddbbfa83ba7de0efaab.tar.gz
gentoo-2-ccc26f99eb2241e5c841dddbbfa83ba7de0efaab.tar.bz2
gentoo-2-ccc26f99eb2241e5c841dddbbfa83ba7de0efaab.zip
Remove dev-python/py3dns; duplicate of dev-python/pydns:3.
Diffstat (limited to 'dev-python/astng')
-rw-r--r--dev-python/astng/Manifest2
-rw-r--r--dev-python/astng/astng-0.23.1.ebuild32
2 files changed, 6 insertions, 28 deletions
diff --git a/dev-python/astng/Manifest b/dev-python/astng/Manifest
index bd7318861492..e7b7e1355d9d 100644
--- a/dev-python/astng/Manifest
+++ b/dev-python/astng/Manifest
@@ -9,6 +9,4 @@ EBUILD astng-0.21.1.ebuild 2297 RMD160 a2be0db6e88621d6bdde5227505878884cd46d70
EBUILD astng-0.22.0.ebuild 1933 RMD160 462598f8b89d5a6d612fac3aba1aede9d08f2909 SHA1 b76600af6a9e51d8f906afd11d83577973d20c7e SHA256 c03e0f262188d17c99871364c4c12c9aef5ce011e86b9c2081f8f0e4bc6e82c1
EBUILD astng-0.23.1.ebuild 2441 RMD160 59834b9b599c925012c48c9c31590453cf645022 SHA1 4b7e3f486526d951d6285d56076bb375f852f1b6 SHA256 1e256a4e8c6574c1252cd6fa9458b93f1f37d160ef0d9a5f1491f8a9935d1192
MISC ChangeLog 7299 RMD160 f4d58ccab18c2cd6aa0115fdcaa7d95d304b780f SHA1 d5fd1e1c25a060686599228c53f65e64ee531ccd SHA256 03dfcae1868786b69c9ace0d372175b92a805a157510047844c4feb7ccf8f041
-MISC astng-0.23.1.ebuild.orig 1933 RMD160 462598f8b89d5a6d612fac3aba1aede9d08f2909 SHA1 b76600af6a9e51d8f906afd11d83577973d20c7e SHA256 c03e0f262188d17c99871364c4c12c9aef5ce011e86b9c2081f8f0e4bc6e82c1
-MISC astng-0.23.1.ebuild.rej 732 RMD160 a3eb5ce6912f4e8088d7c071e233507797914a0e SHA1 fc0e3a967995740beeaf8327732654c2dd0ec888 SHA256 181a57210f0a4bc699673586eb57ee32f1dab34c7ae4fbb32df18086306edd97
MISC metadata.xml 977 RMD160 b282dc87c0058e7da53c827ff043099a5d356eb8 SHA1 a6713710c31c6fa335bd07f747f5c8443ec2640b SHA256 5eb8114b349efc7a2c741eeea56299cd585b687515fb2ec0d37690fabf63e5a7
diff --git a/dev-python/astng/astng-0.23.1.ebuild b/dev-python/astng/astng-0.23.1.ebuild
index d20bb0f9c44d..b987554935e0 100644
--- a/dev-python/astng/astng-0.23.1.ebuild
+++ b/dev-python/astng/astng-0.23.1.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2011 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.1 2012/04/19 06:45:24 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.23.1.ebuild,v 1.2 2012/04/20 00:45:12 floppym Exp $
EAPI="4"
-PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
PYTHON_TESTS_FAILURES_TOLERANT_ABIS="3.* *-jython"
-RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython"
inherit distutils
@@ -23,25 +21,12 @@ IUSE="test"
RDEPEND=">=dev-python/logilab-common-0.53.0"
DEPEND="${RDEPEND}
dev-python/setuptools
- test? ( >=dev-python/egenix-mx-base-3.0.0 )
- ( dev-python/unittest2 )"
+ 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}"
@@ -50,19 +35,14 @@ src_test() {
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)"
+ "$(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
- if [[ "${PYTHON_ABI}" == 3.* ]]; then
- # Support for Python 3 is experimental. Some tests are known to fail.
- PYTHONPATH="${spath}" pytest -v
- else
- PYTHONPATH="${spath}" pytest -v || return 1
- fi
+ PYTHONPATH="${spath}" pytest -v || return 1
popd > /dev/null || return 1
}
- python_execute_function -s testing
+ python_execute_function testing
}
src_install() {