diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-12 01:27:46 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-12 01:27:46 +0000 |
commit | 751b93ee6d9677966953d9c9b503aa0826afed69 (patch) | |
tree | 601ed8b110d60271fc1ba524962eca6ead02411a /dev-python | |
parent | version bump (diff) | |
download | historical-751b93ee6d9677966953d9c9b503aa0826afed69.tar.gz historical-751b93ee6d9677966953d9c9b503aa0826afed69.tar.bz2 historical-751b93ee6d9677966953d9c9b503aa0826afed69.zip |
Version bump.
Package-Manager: portage-14586-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/logilab-common/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/logilab-common/Manifest | 4 | ||||
-rw-r--r-- | dev-python/logilab-common/logilab-common-0.45.1.ebuild | 88 |
3 files changed, 98 insertions, 2 deletions
diff --git a/dev-python/logilab-common/ChangeLog b/dev-python/logilab-common/ChangeLog index d67ae4d32896..74fedfc8352b 100644 --- a/dev-python/logilab-common/ChangeLog +++ b/dev-python/logilab-common/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/logilab-common # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.47 2009/10/11 20:11:03 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.48 2009/10/12 01:27:46 arfrever Exp $ + +*logilab-common-0.45.1 (12 Oct 2009) + + 12 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +logilab-common-0.45.1.ebuild: + Version bump. 11 Oct 2009; nixnut <nixnut@gentoo.org> logilab-common-0.45.0.ebuild: ppc stable #287944 diff --git a/dev-python/logilab-common/Manifest b/dev-python/logilab-common/Manifest index b841d99236e9..c4a3cef2282a 100644 --- a/dev-python/logilab-common/Manifest +++ b/dev-python/logilab-common/Manifest @@ -4,8 +4,10 @@ AUX logilab-common-0.41.0-remove-broken-tests.patch 697 RMD160 bf3fa9c83abb0a471 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 2702 RMD160 e4e70f2452ab77e45938debbc7a1aa4f28bf6583 SHA1 cffd6107c674fe1c575f1e44e76fc69634d9de03 SHA256 c00af0f8d3042090db54ba90a82e15e9cc0f8f7a9eb906fe6cd6a74e2d1672da -MISC ChangeLog 8500 RMD160 f7142e93d628f6c6b7de99c123e2421bd0804b30 SHA1 402e5876cefdc32fabb753384a13950394096ae1 SHA256 7e951d42c98ba2abb5e9f8e8472628167a90714ba24cd27321bf081dda4f7e40 +EBUILD logilab-common-0.45.1.ebuild 2710 RMD160 48e949ba4cad755b66ab79ad3ff95df21d19e3f9 SHA1 b951205a8c1c0078674f2eaa1087980fb0ede7ef SHA256 144f7241286426acfee2fca13c8eb1b89677d095a60dfb29aabac552ee3926b1 +MISC ChangeLog 8663 RMD160 b6fbba101de91de037844d9729b0d7708ea77a48 SHA1 4621b026f8056000a8e70a93dd42cc7f5e4b5346 SHA256 218b01f8b6a91db91be3661010ed501c3d7849c82b408e879074a460853966de MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/logilab-common/logilab-common-0.45.1.ebuild b/dev-python/logilab-common/logilab-common-0.45.1.ebuild new file mode 100644 index 000000000000..460589ac641a --- /dev/null +++ b/dev-python/logilab-common/logilab-common-0.45.1.ebuild @@ -0,0 +1,88 @@ +# 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.45.1.ebuild,v 1.1 2009/10/12 01:27:46 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 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" +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() { + [[ -z "${ED}" ]] && local ED="${D}" + distutils_src_install + + doman doc/pytest.1 || die "doman failed" + + # Remove unittests since they're just needed during build-time + rm -fr "${ED}"usr/lib*/python*/site-packages/${PN/-//}/test || die +} |