diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-15 05:45:41 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-15 05:45:41 +0000 |
commit | 83b2e033ece0c53bfacaad333525a35dbcba276b (patch) | |
tree | 8cc69466610e14631147160ede9bc66122de482c /dev-python/logilab-common | |
parent | remove unused use flag (diff) | |
download | gentoo-2-83b2e033ece0c53bfacaad333525a35dbcba276b.tar.gz gentoo-2-83b2e033ece0c53bfacaad333525a35dbcba276b.tar.bz2 gentoo-2-83b2e033ece0c53bfacaad333525a35dbcba276b.zip |
Delete older ebuilds.
Diffstat (limited to 'dev-python/logilab-common')
5 files changed, 0 insertions, 209 deletions
diff --git a/dev-python/logilab-common/Manifest b/dev-python/logilab-common/Manifest index c6c9b9ba5414..ee8ed93f895e 100644 --- a/dev-python/logilab-common/Manifest +++ b/dev-python/logilab-common/Manifest @@ -1,12 +1,6 @@ -AUX logilab-common-0.21.2-disable-access-tests-as-root.patch 1235 RMD160 f0db83d132957637d0bc1042201d035369141e47 SHA1 2395c781bf5a6c56e49f6a249aec697db1a985ff SHA256 6b8185b71a72b4d4d24c8966f5c6c66957c4fbd95f03caf136853230a1ce766a -AUX logilab-common-0.21.2-remove-broken-tests.patch 916 RMD160 f0ec4be70ef6828ee8bbf1e1f356235f4dbf5d96 SHA1 38d62f07d30e3fffb6a946cc92d52e2500525812 SHA256 9272dc65490f7b9c82705b1b74f081a69fd01aea28ca278a592fd17a43de9333 AUX logilab-common-0.41.0-remove-broken-tests.patch 697 RMD160 bf3fa9c83abb0a47155486efe6d87714b4af2e68 SHA1 d226f60e0568a8476b8aa23a662b7f1cb74f6bb7 SHA256 71e5cdcdd983ec4da56a893b4191e50739aba2267a4105d4b1709ee4f4418dfd -DIST logilab-common-0.21.2.tar.gz 121708 RMD160 f16470bd3c7d729e5e1da155d35d28d89d69c62c SHA1 1ca4e822749400458619cc6890d4aeeba277520c SHA256 11fcb8a7096e73b1be72f17427377f1693244dc0e3b071ce067560f45980780b -DIST logilab-common-0.44.0.tar.gz 172443 RMD160 33a1dc1ea03c5f105ed105054af58f9e6de9e034 SHA1 dfe2ab0d7f8d5d2a0ce5e443e715be9d96844f9a SHA256 89adf9416f249695425d871df34f49919dabc1051280d8a2764e480ad33cda63 DIST logilab-common-0.45.0.tar.gz 173484 RMD160 a6f439a81348750312c3f7dbbb89290690915796 SHA1 18f1f6dc3575d190aa1d91a7e027d89ce89c90bb SHA256 1ed092ff5ef2cd82ad98a6a3f810f7aa34f4a438cf2449e26983d486de0472c1 DIST logilab-common-0.45.1.tar.gz 176339 RMD160 4057ff9afae6c3e9d60e48e1c8bfc02fbafc3ca9 SHA1 495c314e6c9a19a5bd8143dd22e5052d133c66e5 SHA256 602c17a5934c54d2973e1d7df15ce7ff66c42c65e374434cfb1dd59208b1efd7 -EBUILD logilab-common-0.21.2.ebuild 1684 RMD160 b0652f601a64a833002bad1ccfe5adb6b4e001f8 SHA1 cc0d188b6f46319dda66b3f018ca0e8c4f77e942 SHA256 50e3edd9907e84c4d0c474f52d19396f0e38295016d2b09d9db56919509df066 -EBUILD logilab-common-0.44.0.ebuild 2624 RMD160 f635912018a786e66f907116d74e043e057c8ef4 SHA1 346d63dc48623198db944a907f2f8ae63feaa976 SHA256 b43bac6a70aff004c81319dd235039eb18d0e636bd3674b5a00a52e929564406 EBUILD logilab-common-0.45.0.ebuild 2699 RMD160 9a4c0ea12a798b5a8aa8cb3108460d8d82c1a808 SHA1 f246064db969314bec7c12e9dd67bf4f3c0c40a5 SHA256 246afbfcaeea04e61b07274f6b09fdeebceac40078979f71fff5ea1bcd523ee2 EBUILD logilab-common-0.45.1.ebuild 2710 RMD160 48e949ba4cad755b66ab79ad3ff95df21d19e3f9 SHA1 b951205a8c1c0078674f2eaa1087980fb0ede7ef SHA256 144f7241286426acfee2fca13c8eb1b89677d095a60dfb29aabac552ee3926b1 MISC ChangeLog 8889 RMD160 a63afa981a4d48aa22529b26b684631b7813ce09 SHA1 0a35a7360c9be35153d9d581fa5baed141ff3419 SHA256 2326df0ff981aea57f42f6be8907354cf45bd2a2daa5e89b8f2fd3e3b5c265d2 diff --git a/dev-python/logilab-common/files/logilab-common-0.21.2-disable-access-tests-as-root.patch b/dev-python/logilab-common/files/logilab-common-0.21.2-disable-access-tests-as-root.patch deleted file mode 100644 index dc282ccb9a36..000000000000 --- a/dev-python/logilab-common/files/logilab-common-0.21.2-disable-access-tests-as-root.patch +++ /dev/null @@ -1,31 +0,0 @@ -=== modified file 'test/unittest_fileutils.py' ---- test/unittest_fileutils.py 2007-05-14 21:26:45 +0000 -+++ test/unittest_fileutils.py 2007-05-14 21:36:23 +0000 -@@ -74,6 +74,8 @@ - - def test_mode_change(self): - """tests that mode is changed when needed""" -+ if not os.geteuid(): -+ self.skip('this test fails with root privs') - # test on non-writable file - self.assert_(not os.access(self.rpath, os.W_OK)) - wp_file = ProtectedFile(self.rpath, 'w') -@@ -85,6 +87,8 @@ - - def test_restore_on_close(self): - """tests original mode is restored on close""" -+ if not os.geteuid(): -+ self.skip('this test fails with root privs') - # test on non-writable file - self.assert_(not os.access(self.rpath, os.W_OK)) - ProtectedFile(self.rpath, 'w').close() -@@ -96,6 +100,8 @@ - - def test_mode_change_on_append(self): - """tests that mode is changed when file is opened in 'a' mode""" -+ if not os.geteuid(): -+ self.skip('this test fails with root privs') - self.assert_(not os.access(self.rpath, os.W_OK)) - wp_file = ProtectedFile(self.rpath, 'a') - self.assert_(os.access(self.rpath, os.W_OK)) - diff --git a/dev-python/logilab-common/files/logilab-common-0.21.2-remove-broken-tests.patch b/dev-python/logilab-common/files/logilab-common-0.21.2-remove-broken-tests.patch deleted file mode 100644 index 9c5797b269f7..000000000000 --- a/dev-python/logilab-common/files/logilab-common-0.21.2-remove-broken-tests.patch +++ /dev/null @@ -1,28 +0,0 @@ -=== modified file 'fileutils.py' ---- fileutils.py 2007-03-01 22:47:40 +0000 -+++ fileutils.py 2007-03-01 22:48:49 +0000 -@@ -63,11 +63,6 @@ - - def abspath_listdir(path): - """lists path's content using absolute paths -- -- >>> os.listdir('/home') -- ['adim', 'alf', 'arthur', 'auc'] -- >>> abspath_listdir('/home') -- ['/home/adim', '/home/alf', '/home/arthur', '/home/auc'] - """ - path = abspath(path) - return [join(path, filename) for filename in listdir(path)] - -=== modified file 'test/unittest_testlib.py' ---- test/unittest_testlib.py 2007-03-01 22:47:40 +0000 -+++ test/unittest_testlib.py 2007-03-01 23:42:29 +0000 -@@ -331,6 +331,7 @@ - class OutErrCaptureTC(TestCase): - - def setUp(self): -+ self.skip('cannot get this to pass') - sys.stdout = sys.stderr = StringIO() - self.runner = SkipAwareTextTestRunner(stream=StringIO(), exitfirst=True, capture=True) - - diff --git a/dev-python/logilab-common/logilab-common-0.21.2.ebuild b/dev-python/logilab-common/logilab-common-0.21.2.ebuild deleted file mode 100644 index b881d64a27e4..000000000000 --- a/dev-python/logilab-common/logilab-common-0.21.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.21.2.ebuild,v 1.8 2009/05/27 14:38:06 fmccor Exp $ - -inherit distutils eutils - -DESCRIPTION="Several modules providing low level functionality shared among some python projects developed by logilab." -HOMEPAGE="http://www.logilab.org/projects/common/" -SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc ~ppc64 s390 sparc x86" -IUSE="test" - -DEPEND="|| ( >=dev-python/optik-1.4 >=dev-lang/python-2.3 ) - test? ( dev-python/egenix-mx-base )" - -PYTHON_MODNAME="logilab" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${PN}-0.21.2-disable-access-tests-as-root.patch" -} - -src_test() { - # Install temporarily. - local spath="test/lib/python" - "${python}" setup.py install --home="${T}/test" || die "test copy failed" - - # It picks up the tests relative to the current dir, so cd in. Do - # not cd in too far though (to logilab/common for example) or some - # relative/absolute module location tests fail. - pushd "${T}/${spath}" >/dev/null - - # Remove a botched doctest. - pushd logilab/common >/dev/null - epatch "${FILESDIR}/${P}-remove-broken-tests.patch" - popd >/dev/null - - # HACK: tell it to exit nonzero if the tests fail. - sed -i -e 's/exitafter=False/exitafter=True/' "${T}/test/bin/pytest" \ - || die "sed failed" - - # These tests will fail: - if ! has userpriv ${FEATURES}; then - rm unittest_fileutils.py - fi - - PYTHONPATH="${T}/${spath}" "${python}" \ - "${T}/test/bin/pytest" -v || die "tests failed" - popd >/dev/null - rm -rf "${T}/test" -} diff --git a/dev-python/logilab-common/logilab-common-0.44.0.ebuild b/dev-python/logilab-common/logilab-common-0.44.0.ebuild deleted file mode 100644 index ac82cbf21d86..000000000000 --- a/dev-python/logilab-common/logilab-common-0.44.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.44.0.ebuild,v 1.1 2009/08/25 14:40:26 arfrever Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" - -inherit distutils eutils python - -DESCRIPTION="useful miscellaneous modules used by Logilab projects" -HOMEPAGE="http://www.logilab.org/projects/common/" -SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="test" - -DEPEND="test? ( dev-python/egenix-mx-base )" -RDEPEND="" - -RESTRICT_PYTHON_ABIS="3*" - -PYTHON_MODNAME="logilab" -# Extra documentation (html/pdf) needs some love - -pkg_setup() { - # Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed. - if use test && has_version dev-python/psycopg && ! has_version dev-python/psycopg[mxdatetime]; then - die "dev-python/psycopg should be installed with USE=\"mxdatetime\"" - fi -} - -src_prepare() { - distutils_src_prepare - - epatch "${FILESDIR}/${PN}-0.41.0-remove-broken-tests.patch" -} - -src_test() { - testing() { - # Install temporarily. - local tpath="${T}/test-${PYTHON_ABI}" - local lpath="${tpath}/lib/python" - - # setuptools would fail if the directory doesn't exist. - mkdir -p "${lpath}" || die - - # We also have to add ${lpath} to PYTHONPATH else the installation would - # fail. - PYTHONPATH="${lpath}" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${tpath}" || die "test copy failed" - - # Get a rid of precompiled files to ensure we run our _modified_ tests - find ${lpath} -type f -name '*.pyc' -exec rm {} ';' - - # Remove a botched tests. - # To support test w/o setuptools. - if [[ -d "${lpath}/${PN/-//}" ]]; then - pushd "${lpath}/${PN/-//}" >/dev/null || die - else - pushd "${lpath}/${P/-/_}-py${PYTHON_ABI}.egg/${PN/-//}" >/dev/null || die - fi - - # Bug 223079 - if [[ "${EUID}" -eq 0 ]]; then - rm test/unittest_fileutils.py || die - fi - - popd >/dev/null || die - - # It picks up the tests relative to the current dir, so cd in. Do - # not cd in too far though (to logilab/common for example) or some - # relative/absolute module location tests fail. - pushd "${lpath}" >/dev/null || die - PYTHONPATH="${lpath}" "$(PYTHON)" "${tpath}/bin/pytest" -v || die "tests failed" - popd >/dev/null || die - } - python_execute_function testing -} - -src_install() { - distutils_src_install - - doman doc/pytest.1 || die "doman failed" - - # Remove unittests since they're just needed during build-time - rm -rf "${D}"usr/lib*/python*/site-packages/${PN/-//}/test || die -} |