diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2009-06-19 13:08:17 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2009-06-19 13:08:17 +0000 |
commit | 8f307eab83678711d1359871af91df11fe004ade (patch) | |
tree | ee3600f91340d4fd2fe7286341f96422a79fda23 /dev-python/astng | |
parent | Don't install libsdl and openal, bug #264989 (diff) | |
download | historical-8f307eab83678711d1359871af91df11fe004ade.tar.gz historical-8f307eab83678711d1359871af91df11fe004ade.tar.bz2 historical-8f307eab83678711d1359871af91df11fe004ade.zip |
Version bump to 0.19.0. Fix src_test. Cleanup.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-python/astng')
-rw-r--r-- | dev-python/astng/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/astng/Manifest | 4 | ||||
-rw-r--r-- | dev-python/astng/astng-0.19.0.ebuild | 54 |
3 files changed, 64 insertions, 3 deletions
diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog index d4214be45fcd..d2f4c5956a1a 100644 --- a/dev-python/astng/ChangeLog +++ b/dev-python/astng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/astng -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.21 2008/02/28 20:37:47 dev-zero Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.22 2009/06/19 13:08:17 idl0r Exp $ + +*astng-0.19.0 (19 Jun 2009) + + 19 Jun 2009; Christian Ruppert <idl0r@gentoo.org> +astng-0.19.0.ebuild: + Version bump to 0.19.0. Fix src_test. Cleanup. *astng-0.17.2 (28 Feb 2008) diff --git a/dev-python/astng/Manifest b/dev-python/astng/Manifest index f1efbe1995bd..6b5749b764de 100644 --- a/dev-python/astng/Manifest +++ b/dev-python/astng/Manifest @@ -2,7 +2,9 @@ AUX astng-0.16.1-skip-gobject-test.patch 386 RMD160 24281fefa2b621a1203fcf0727ec AUX astng-0.17.0-test-fixes.patch 1802 RMD160 49e77ea9cb6e4f234301c943c47c5a450b353062 SHA1 b184625941feb46746a1afdf9d4b6c92b517a072 SHA256 0f5fe8b1971c95ac804e74191c9facf946afd2bbee68910ca4c2297b0cb5a220 DIST logilab-astng-0.17.0.tar.gz 62202 RMD160 7a869a756a511ba6c5fd82a1e575ee82b6ce7166 SHA1 ec3cd836d6a1079d1c2dd5cd9307c410206d6141 SHA256 714e37cc12186f8b796fc5431678d9fab3eff0152a186b523b1fe7d7d183d15f DIST logilab-astng-0.17.2.tar.gz 64038 RMD160 bd90f8d14b87d4681c88c03c7e95d78cbaf332c2 SHA1 6725878bef9570937c67491e2a0feafd62c9a02b SHA256 5aa272e1176d5b96024af7bc43a2f5a0914269c35be9b179abc0ee4009f64108 +DIST logilab-astng-0.19.0.tar.gz 86939 RMD160 c9b4a2eabcd28e959315af33215d1620b405c475 SHA1 87fe682ec98599c0088f228ba94cb50a7ed99466 SHA256 e1b4d209e2a66b20c9e1adff2c30e3b19ea2a43226da3c7dff5c39747ca6e113 EBUILD astng-0.17.0.ebuild 2006 RMD160 44bb0c794dc99eac11bb79524d35c8eb4a5ea18f SHA1 e608d3eeb2d530069a2fe8d65057668fcb0d176b SHA256 c9df46029de6f8736bea44c1eee3040c626a3650a5e558bb0421f5af7a23daff EBUILD astng-0.17.2.ebuild 1947 RMD160 f5434ddaa9fc0f23f5780709c2dabb5e351e39e3 SHA1 ca4ea2b04be9a01ad36f7cbc23191f3de65b0067 SHA256 5eda51cb1c0f9eee1b2a823d7e09966842983e1da2649ffb098af68df6a41d53 -MISC ChangeLog 3223 RMD160 c2c17ba97a69f02319ebd969e0d1e3b76d87165c SHA1 58ca86ffc52782bc975b9550846f7f1207061523 SHA256 f09cba1ae2e0cdf4a1a6cbd7324ff3ed7a8f7d6808c5210d5d515dd00728ebe5 +EBUILD astng-0.19.0.ebuild 1692 RMD160 f313ada7ae63c7229fba91571effa039686736e7 SHA1 ee09bf9375f219fae2d313d6c69a77687be90e4f SHA256 d1a8b71348689bbbd0cf89ed0c7ef6ab069c0d7901ae5d6688d545de3e01f2ce +MISC ChangeLog 3373 RMD160 4e3d5f9b2511431133bf73ce70ed4856d6e8f417 SHA1 6f701122e760e8cea97ad542df1303bb76faf7f4 SHA256 3b31cd565c55c6f529d1cc0bf215991f97d7f0a12ab7acf174f1b129cdbbe248 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/astng/astng-0.19.0.ebuild b/dev-python/astng/astng-0.19.0.ebuild new file mode 100644 index 000000000000..78711404e903 --- /dev/null +++ b/dev-python/astng/astng-0.19.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.19.0.ebuild,v 1.1 2009/06/19 13:08:17 idl0r Exp $ + +inherit python distutils + +DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" +HOMEPAGE="http://www.logilab.org/projects/astng/" +SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RDEPEND=">=dev-python/logilab-common-0.39.0" +DEPEND="${RDEPEND} + test? ( >=dev-python/egenix-mx-base-3.0.0 )" + +PYTHON_MODNAME="logilab" + +S="${WORKDIR}/logilab-${P}" + +src_test() { + local sdir="${T}/test/$(python_get_sitedir)" + + # This is a hack to make tests work without installing to the live + # filesystem. We copy part of the logilab site-packages to a temporary + # dir, install there, and run from there. + mkdir -p "${sdir}/logilab" || die + cp -r "$(python_get_sitedir)/logilab/common" "${sdir}/logilab" \ + || die "copying logilab-common failed!" + + ${python} setup.py install --root="${T}/test" || die "test copy failed" + + # Pytest picks up tests relative to the current dir, so cd in. + pushd "${sdir}/logilab/astng" >/dev/null || die + PYTHONPATH="${sdir}" pytest -v || die "tests failed" + popd >/dev/null +} + +src_install() { + local sdir="${D}/$(python_get_sitedir)/logilab" + + distutils_src_install + + # we need to remove this file because it collides with the one + # from logilab-common (which we depend on). + # Bug 111970 and bug 223025 + rm "${sdir}/__init__.py" || die + + # Remove unittests since they're just needed during build-time + rm -rf "${sdir}/astng/test" || die +} |