From 3bd0f66c08b5a27bb9906a96b5306b9531ed5b61 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 13 May 2010 18:18:39 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-HEAD/cvs/Linux x86_64 --- dev-python/astng/ChangeLog | 8 +++- dev-python/astng/Manifest | 15 ++----- dev-python/astng/astng-0.20.1.ebuild | 64 ++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 13 deletions(-) create mode 100644 dev-python/astng/astng-0.20.1.ebuild diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog index 315e9a9f305e..3de64ef3af41 100644 --- a/dev-python/astng/ChangeLog +++ b/dev-python/astng/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/astng # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.34 2010/04/26 10:53:00 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.35 2010/05/13 18:18:39 arfrever Exp $ + +*astng-0.20.1 (13 May 2010) + + 13 May 2010; Arfrever Frehtes Taifersar Arahesis + -astng-0.19.3.ebuild, +astng-0.20.1.ebuild: + Version bump. 26 Apr 2010; Christian Faulhammer astng-0.19.3-r1.ebuild: diff --git a/dev-python/astng/Manifest b/dev-python/astng/Manifest index 1f54c9a87db0..3845e00482f2 100644 --- a/dev-python/astng/Manifest +++ b/dev-python/astng/Manifest @@ -1,20 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX astng-0.19.3-fix_tests.patch 531 RMD160 99cf9969517eb4bdac44e1b18ec2fe3286f6bd9b SHA1 d34e08bba83836b300a953922966bcdb011b1fa6 SHA256 e2f09fa0b963bb3153cae0450e5472efae99e298ff7c722c5cb6b090b4b42879 DIST logilab-astng-0.19.1.tar.gz 86956 RMD160 bc1a754bb8e54fbcc220d4fbf0a96e6e3a72b73b SHA1 20048e71e58fd7cbee440eece7dffca9af2c14fa SHA256 cf2b418149303bed0d6885ed9392f38ee13d2aa4b724bb5da0cc776082b3bc1f DIST logilab-astng-0.19.3.tar.gz 89875 RMD160 22bb50949ed7790271b4fb5055b6b0178857d750 SHA1 0d467e512b0c2b5b3e75d58de7f802e749290002 SHA256 21e7314980a45308d37239a2586390ca84e93f230e063909aa2193ad568db523 DIST logilab-astng-0.20.0.tar.gz 92506 RMD160 c9a86c6e7443fa77892ab8a88b1b0fcdeec8204c SHA1 b4e9702a263d3baa57687733a2c50426bfd02fb7 SHA256 4ad2de8ba6b9d37121bfb73e8b4856eb23b7354c05260f1893ab758c25475a42 +DIST logilab-astng-0.20.1.tar.gz 103800 RMD160 add5f8d561617313762f79ddca9728ab8a11eed6 SHA1 ac4a7fc9c098393fd207eb2165b470b25ecb6f55 SHA256 5483499402e227db5f3d232d6e109605d42a37995032fed43413939b378db31e EBUILD astng-0.19.1.ebuild 2020 RMD160 69f7884d7e3baf275cde43a290dcd6f4ea994b2f SHA1 689673beceacaede29698d19131879b719f5001f SHA256 8b5f62470a5bbad6575e5bc9f1db5ffb801b38bf52e9371044ab3183b2d2dc6a EBUILD astng-0.19.3-r1.ebuild 2232 RMD160 ef7ac4193cc15f7a8636b3c95a8c7d6db9bff050 SHA1 7df437d3232dce781e71d3305744896aad444640 SHA256 b082e53932162ff6973ac8537d04e9899634d444718e2f623971150070c26e10 -EBUILD astng-0.19.3.ebuild 2150 RMD160 e0e49052a83865ee16ed102a34669e5168d572d3 SHA1 452f252f51a0114401e22e76964dfa03b8a0e68d SHA256 746bc64844145e098e1991930b5b3c71079022188588cbedebee44f5d4da2326 EBUILD astng-0.20.0.ebuild 2141 RMD160 800aebd3cd8131b3c189263d0250de99e271e17e SHA1 5e996e7b2d1892d83a43391bb324388e81d3834d SHA256 b8f40ff86f8a354f71f7f8cb8f6971e2f8bce72829eb0a7ef7a0312ef73b97bf -MISC ChangeLog 4850 RMD160 8d8b34412db6e4d27d1d7d90ad50360847a3f453 SHA1 7b8ea1b25774ea709f4b0016cce03a749a0b721c SHA256 b09c69aef5d0baf33c1c777e8de7a0a660f0302981598838a88a6197891b4064 +EBUILD astng-0.20.1.ebuild 2142 RMD160 0241b95c8ff80ad83fac3ecac4ff3a04132e31c9 SHA1 8a709c4c081ab97ebb3c370147fa7e37ae4e7172 SHA256 f773de40b77165fdeb1516c95a13262623aba3734e73ea9c1fadda6517621e11 +MISC ChangeLog 5018 RMD160 7fdee9516415dd03692e8519f3e0e4ee95228f60 SHA1 fca4aa3a6d6aa9ba0603ca0302fe88c7c2d34341 SHA256 c4e2ac1df5f9ce408ba886e19d4991578c4bab834bc0329049cbbae92ae70f95 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAkvVcJEACgkQNQqtfCuFneOT6QCfQg896mkW8ARGCg0Hz7wqxS+p -38sAnj53FUutqh1NeDyuYKpDr5/mvHjC -=6CA3 ------END PGP SIGNATURE----- diff --git a/dev-python/astng/astng-0.20.1.ebuild b/dev-python/astng/astng-0.20.1.ebuild new file mode 100644 index 000000000000..fe1ee5c06686 --- /dev/null +++ b/dev-python/astng/astng-0.20.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.20.1.ebuild,v 1.1 2010/05/13 18:18:39 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" +HOMEPAGE="http://www.logilab.org/projects/astng/ http://pypi.python.org/pypi/logilab-astng" +SRC_URI="ftp://ftp.logilab.org/pub/astng/logilab-${P}.tar.gz http://pypi.python.org/packages/source/l/logilab-astng/logilab-${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x86-macos" +IUSE="test" + +RDEPEND=">=dev-python/logilab-common-0.39.0" +DEPEND="${RDEPEND} + test? ( >=dev-python/egenix-mx-base-3.0.0 )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/logilab-${P}" + +PYTHON_MODNAME="logilab/astng" + +src_test() { + testing() { + 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 + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + deletion_of_unneeded_files() { + local sdir="${ED}$(python_get_sitedir)/logilab" + + # 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 -f "${sdir}/__init__.py" || die + + # Remove unittests since they're just needed during build-time + rm -fr "${sdir}/astng/test" || die + } + python_execute_function --action-message 'Deletion of unneeded files with Python ${PYTHON_ABI}' deletion_of_unneeded_files +} -- 2.26.2