diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-01-11 16:04:21 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-01-11 16:04:21 +0000 |
commit | 506ae362ed193699cffa70fc894fb62adb6249ac (patch) | |
tree | 6960c3363bdd93f172839f4669c886a735631157 /dev-python/astng | |
parent | Bump version to 0.13.0, add src_test. (diff) | |
download | historical-506ae362ed193699cffa70fc894fb62adb6249ac.tar.gz historical-506ae362ed193699cffa70fc894fb62adb6249ac.tar.bz2 historical-506ae362ed193699cffa70fc894fb62adb6249ac.zip |
Version bump, add src_test.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-python/astng')
-rw-r--r-- | dev-python/astng/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/astng/Manifest | 10 | ||||
-rw-r--r-- | dev-python/astng/astng-0.14.0.ebuild | 38 | ||||
-rw-r--r-- | dev-python/astng/files/digest-astng-0.14.0 | 1 |
4 files changed, 55 insertions, 1 deletions
diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog index 7aa2ee7cd881..181e2c8b6b6c 100644 --- a/dev-python/astng/ChangeLog +++ b/dev-python/astng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/astng # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.4 2006/01/08 20:22:34 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.5 2006/01/11 16:04:21 marienz Exp $ + +*astng-0.14.0 (11 Jan 2006) + + 11 Jan 2006; Marien Zwart <marienz@gentoo.org> +astng-0.14.0.ebuild: + Version bump, add src_test. 08 Jan 2006; <nixnut@gentoo.org> astng-0.13.1.ebuild: Added ~ppc keyword. Bug #111889 diff --git a/dev-python/astng/Manifest b/dev-python/astng/Manifest index b26f5c3ca8e8..3a1bcc7f0bab 100644 --- a/dev-python/astng/Manifest +++ b/dev-python/astng/Manifest @@ -1,6 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 f358a781a4cd26f4a95f3abb871f158d ChangeLog 855 MD5 885197ad4a8a3e3cb4453c55f31499da astng-0.13.1.ebuild 515 MD5 12ac2f0f05c2ef9024b68ba4bfb11a64 astng-0.14.0.ebuild 1310 MD5 db05dcf4fe985e0e5fc9d14737bd5d23 files/digest-astng-0.13.1 63 MD5 e0feadf16eb56c0c7e6a0821c3cd9827 files/digest-astng-0.14.0 63 MD5 9ac4199ebe7cd3e7e311274994767f82 metadata.xml 160 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDxSyYW78445TWHXcRArmxAKCUIkCIAnZrU7BpEn+rVosib3tFWQCgjVBy +5gJmisiET/FBqnHX2CKhVG4= +=znmm +-----END PGP SIGNATURE----- diff --git a/dev-python/astng/astng-0.14.0.ebuild b/dev-python/astng/astng-0.14.0.ebuild new file mode 100644 index 000000000000..dbd350a521f0 --- /dev/null +++ b/dev-python/astng/astng-0.14.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.14.0.ebuild,v 1.1 2006/01/11 16:04:21 marienz Exp $ + +inherit distutils + +DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" +SRC_URI="ftp://ftp.logilab.org/pub/astng/${P}.tar.gz" +HOMEPAGE="http://www.logilab.org/projects/astng/" + +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +LICENSE="GPL-2" +DEPEND=">=dev-lang/python-2.1" + + +src_test() { + # The tests will not work properly from the source dir, so do a + # temporary install. + + python_version + local spath="usr/$(get_libdir)/python${PYVER}/site-packages/" + # 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 "${T}/test/${spath}/logilab" + cp -r "${ROOT}${spath}/logilab/common" "${T}/test/${spath}/logilab" \ + || die "copying logilab-common failed!" + + ${python} setup.py install --root="${T}/test" || die "test install failed" + # dir needs to be this or the tests fail + cd "${T}/test/${spath}/logilab/astng/test" + PYTHONPATH="${T}/test/${spath}" "${python}" runtests.py \ + || die "tests failed" + cd "${S}" + rm -rf "${T}/test" +} diff --git a/dev-python/astng/files/digest-astng-0.14.0 b/dev-python/astng/files/digest-astng-0.14.0 new file mode 100644 index 000000000000..2f9bd3bdaf75 --- /dev/null +++ b/dev-python/astng/files/digest-astng-0.14.0 @@ -0,0 +1 @@ +MD5 29fa137d44eeed6a69e2e3feb07cff0a astng-0.14.0.tar.gz 47634 |