summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2006-04-20 12:29:07 +0000
committerMarien Zwart <marienz@gentoo.org>2006-04-20 12:29:07 +0000
commitf54e33ef2c412a7f31ac6b65248345ee436f459b (patch)
tree2b63aade4a81d60e91932c42ca10b78fed82d262 /dev-python/astng
parentVersion bump, new upstream version (diff)
downloadhistorical-f54e33ef2c412a7f31ac6b65248345ee436f459b.tar.gz
historical-f54e33ef2c412a7f31ac6b65248345ee436f459b.tar.bz2
historical-f54e33ef2c412a7f31ac6b65248345ee436f459b.zip
Version bump.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'dev-python/astng')
-rw-r--r--dev-python/astng/ChangeLog8
-rw-r--r--dev-python/astng/Manifest23
-rw-r--r--dev-python/astng/astng-0.16.0.ebuild55
-rw-r--r--dev-python/astng/files/astng-0.16.0-revert-test.patch20
-rw-r--r--dev-python/astng/files/digest-astng-0.16.03
5 files changed, 101 insertions, 8 deletions
diff --git a/dev-python/astng/ChangeLog b/dev-python/astng/ChangeLog
index 0fd466ebcd49..26bf836ac152 100644
--- a/dev-python/astng/ChangeLog
+++ b/dev-python/astng/ChangeLog
@@ -1,6 +1,12 @@
# 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.9 2006/04/01 14:42:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/ChangeLog,v 1.10 2006/04/20 12:29:07 marienz Exp $
+
+*astng-0.16.0 (20 Apr 2006)
+
+ 20 Apr 2006; Marien Zwart <marienz@gentoo.org>
+ +files/astng-0.16.0-revert-test.patch, +astng-0.16.0.ebuild:
+ Version bump.
01 Apr 2006; Aron Griffis <agriffis@gentoo.org> astng-0.15.1.ebuild:
Mark 0.15.1 ~ia64
diff --git a/dev-python/astng/Manifest b/dev-python/astng/Manifest
index df4ba938b449..c0d51bce8e6e 100644
--- a/dev-python/astng/Manifest
+++ b/dev-python/astng/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 984985d021a4d24a845d5c85c7db806c ChangeLog 1449
-RMD160 e96777017c1ea927a6fc0aa06b2963f7c4afa8b7 ChangeLog 1449
-SHA256 ff40f6d279ec56dea5eecbb5b88f56f82d2dbbd616df355c9f17f2d109bcb590 ChangeLog 1449
+MD5 490c3dc7140e2efa760a856f1d3d76b7 ChangeLog 1607
+RMD160 32930f28ea97acabcd3a9a6b05d5ac2dea69486a ChangeLog 1607
+SHA256 538c5f7d10d21f86bc7dee46f9e5c8306cba6997fb0552c85c2af0eccf8521d9 ChangeLog 1607
MD5 b26d2f134dd8b6f4f83927bab5bca0a8 astng-0.14.0.ebuild 1590
RMD160 97e1d4077a933c5dda68b185aad393da60fd929e astng-0.14.0.ebuild 1590
SHA256 3a3d35d3adfcd5561b71c3eac13a14de55c533428327b781e2471607d11d6b51 astng-0.14.0.ebuild 1590
@@ -13,6 +13,12 @@ SHA256 da24f3f062ae9d5078fda44ea32a4ef87fb4699130c3dce08aed39c2d80efcc4 astng-0.
MD5 11bcf449a10d721dbe5818330a541704 astng-0.15.1.ebuild 1598
RMD160 bf583b3506048ee599133c0662bb852883204916 astng-0.15.1.ebuild 1598
SHA256 bde501f8817101f43e798fb2b7c41ff137dbefd87b1e457062c6c44330457f95 astng-0.15.1.ebuild 1598
+MD5 152e89ca46db50665956ec69c0a4dc51 astng-0.16.0.ebuild 1802
+RMD160 2d2cadd3a1bbe003dc940d566d43c647fbc27f86 astng-0.16.0.ebuild 1802
+SHA256 a7eb01b23fdf7de49859e0dcd791f92499aea5dd5b0223d8326f711d877c270b astng-0.16.0.ebuild 1802
+MD5 50005af58e57c94ced17d05f70aee46b files/astng-0.16.0-revert-test.patch 733
+RMD160 f2d7ca95829067ab3124a273e0cd4128e2c744da files/astng-0.16.0-revert-test.patch 733
+SHA256 605ca2eb85cc38d657c00a5d4d90cc2fbf0f1924c4b51a0bde740977b586f10d files/astng-0.16.0-revert-test.patch 733
MD5 e0feadf16eb56c0c7e6a0821c3cd9827 files/digest-astng-0.14.0 63
RMD160 04292b095f940c24612a65e1108545289bdb3181 files/digest-astng-0.14.0 63
SHA256 90fd4f2c222747910b5a7c1cb30ac2dea807382a9bc5003a748fe20fc98cb42e files/digest-astng-0.14.0 63
@@ -22,13 +28,16 @@ SHA256 9723039fd3d5d7fd627932f0f7a4e0f2a7bdf203a65fef0d29fc2ca9538398d5 files/di
MD5 0a24b9a1980858897ed20563ab0b6bb6 files/digest-astng-0.15.1 235
RMD160 24ba47eceb02837646111f43784ca822a23b3256 files/digest-astng-0.15.1 235
SHA256 3b8cd54a9f5b04061eb39982ffd9172a75c9a867fffce1e1712cac71e78d2526 files/digest-astng-0.15.1 235
+MD5 311f1eb6e9ff66e516f404e0292a0a70 files/digest-astng-0.16.0 235
+RMD160 c4503c72b6c9c651ff28fd2b7734f119601d84f8 files/digest-astng-0.16.0 235
+SHA256 58bb95ffd2f27f839e9ad902bfe0c513410c51439d685d33c09ff33b6a8b59f0 files/digest-astng-0.16.0 235
MD5 9ac4199ebe7cd3e7e311274994767f82 metadata.xml 160
RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb metadata.xml 160
SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a metadata.xml 160
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
+Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFELpFTJrHF4yAQTrARAnWUAJ9aRHHCeI1Lz8TC18ca9FpOhrfLNQCfRKZJ
-f/U17zGmjHF+SYAOyV0yvgQ=
-=vNyr
+iD8DBQFER36fW78445TWHXcRAtpGAJ9CfeKvOPWip99g8jtzX0z1LfBVFQCfaoqN
+yilVZPeAYnZghpYH2W0NYok=
+=M/SN
-----END PGP SIGNATURE-----
diff --git a/dev-python/astng/astng-0.16.0.ebuild b/dev-python/astng/astng-0.16.0.ebuild
new file mode 100644
index 000000000000..0c6952c52240
--- /dev/null
+++ b/dev-python/astng/astng-0.16.0.ebuild
@@ -0,0 +1,55 @@
+# 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.16.0.ebuild,v 1.1 2006/04/20 12:29:07 marienz Exp $
+
+inherit distutils eutils
+
+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 ~ia64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+DEPEND=">=dev-lang/python-2.1
+ >=dev-python/logilab-common-0.13-r1"
+
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # 0.16.0 introduces a (most likely intentionally) failing test, revert it
+ # to the (passing) 0.15.0 version.
+ epatch "${FILESDIR}/${P}-revert-test.patch"
+}
+
+src_install() {
+ distutils_src_install
+ python_version
+ # we need to remove this file because it collides with the one
+ # from logilab-common (which we depend on).
+ rm "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/logilab/__init__.py"
+}
+
+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 copy 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/astng-0.16.0-revert-test.patch b/dev-python/astng/files/astng-0.16.0-revert-test.patch
new file mode 100644
index 000000000000..b2f987438d88
--- /dev/null
+++ b/dev-python/astng/files/astng-0.16.0-revert-test.patch
@@ -0,0 +1,20 @@
+=== modified file 'a/test/unittest_builder.py'
+--- a/test/unittest_builder.py
++++ b/test/unittest_builder.py
+@@ -159,11 +159,10 @@
+ def test_socket_build(self):
+ import socket
+ astng = self.builder.module_build(socket)
+- for fclass in astng.igetattr('socket'):
+- print fclass.root().name, fclass.name, fclass.lineno
+- self.assert_('connect' in fclass)
+- self.assert_('send' in fclass)
+- self.assert_('close' in fclass)
++ fclass = astng.igetattr('socket').next()
++ self.assert_('connect' in fclass)
++ self.assert_('send' in fclass)
++ self.assert_('close' in fclass)
+
+
+ class FileBuildTC(TestCase):
+
diff --git a/dev-python/astng/files/digest-astng-0.16.0 b/dev-python/astng/files/digest-astng-0.16.0
new file mode 100644
index 000000000000..435cd900a7b3
--- /dev/null
+++ b/dev-python/astng/files/digest-astng-0.16.0
@@ -0,0 +1,3 @@
+MD5 636b57a742ad5d9cb030429eca9841e9 astng-0.16.0.tar.gz 54410
+RMD160 7c9226adc2fd1ad5fa1c74ac1cfb9436927c0273 astng-0.16.0.tar.gz 54410
+SHA256 33b1da358d2ec24f00623da8dcc3aaf5f8e04772c9b26930fc80bef72a9ad654 astng-0.16.0.tar.gz 54410