summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2006-01-11 16:04:21 +0000
committerMarien Zwart <marienz@gentoo.org>2006-01-11 16:04:21 +0000
commitffee46dbeeca43ebd8852426a01d16168ae6843f (patch)
tree108809746d8b1ed338e9c3414cf79e543cbb5e8d /dev-python/astng
parentBump version to 0.13.0, add src_test. (diff)
downloadgentoo-2-ffee46dbeeca43ebd8852426a01d16168ae6843f.tar.gz
gentoo-2-ffee46dbeeca43ebd8852426a01d16168ae6843f.tar.bz2
gentoo-2-ffee46dbeeca43ebd8852426a01d16168ae6843f.zip
Version bump, add src_test.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-python/astng')
-rw-r--r--dev-python/astng/ChangeLog7
-rw-r--r--dev-python/astng/Manifest12
-rw-r--r--dev-python/astng/astng-0.14.0.ebuild38
-rw-r--r--dev-python/astng/files/digest-astng-0.14.01
4 files changed, 47 insertions, 11 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 ce43d5883b6e..c44e47defda4 100644
--- a/dev-python/astng/Manifest
+++ b/dev-python/astng/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 cce42ac7c1708b56a9aacc67be6cff67 ChangeLog 723
MD5 885197ad4a8a3e3cb4453c55f31499da astng-0.13.1.ebuild 515
+MD5 3d63d4adca511fbb3942a3e81025cb48 astng-0.14.0.ebuild 1309
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)
-
-iD8DBQFDwXR6oFw4q70f3SsRAnbAAJ0ePXEwVjQOm8QjPI3M94WYVQZrDACbBW00
-Ka8Olf3B+G+orQhGL/X3OYw=
-=+VOo
------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