diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-21 17:42:32 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-02-21 17:42:32 +0000 |
commit | 4e8ae8d7477452397820cee0b5ea6b6f378a5b17 (patch) | |
tree | af52a376d42b947471752d333d7311c31e647ade /dev-python/logilab-common | |
parent | Masking x11-libs/gtk+extra for removal in 60 days, bug 292211 (diff) | |
download | historical-4e8ae8d7477452397820cee0b5ea6b6f378a5b17.tar.gz historical-4e8ae8d7477452397820cee0b5ea6b6f378a5b17.tar.bz2 historical-4e8ae8d7477452397820cee0b5ea6b6f378a5b17.zip |
Version bump.
Package-Manager: portage-15417-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/logilab-common')
-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.48.0.ebuild | 70 |
3 files changed, 80 insertions, 2 deletions
diff --git a/dev-python/logilab-common/ChangeLog b/dev-python/logilab-common/ChangeLog index a76b11e319aa..24a98adf569a 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.57 2010/02/04 21:19:03 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.58 2010/02/21 17:42:32 arfrever Exp $ + +*logilab-common-0.48.0 (21 Feb 2010) + + 21 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +logilab-common-0.48.0.ebuild: + Version bump. *logilab-common-0.46.1 (04 Feb 2010) diff --git a/dev-python/logilab-common/Manifest b/dev-python/logilab-common/Manifest index e4c3d452dbd8..2d8ae213fe3d 100644 --- a/dev-python/logilab-common/Manifest +++ b/dev-python/logilab-common/Manifest @@ -3,9 +3,11 @@ DIST logilab-common-0.45.1.tar.gz 176339 RMD160 4057ff9afae6c3e9d60e48e1c8bfc02f DIST logilab-common-0.45.2.tar.gz 179165 RMD160 e65e84d0ce1b91ddc67d78eb6fd50ed7eb2161c2 SHA1 0381ab118c9ca51045b15d173fb43a72709080bb SHA256 c87bfe60bbf90b48f05b9946c095fed5b029837b6f3236326806fd0e6bb59773 DIST logilab-common-0.46.0.tar.gz 178870 RMD160 daaa645c81803f1ebfc00670cdb457f2b7910ec8 SHA1 417ed8b2b1bbbca7760b44ba2fe286bf6705eb91 SHA256 ddc643ac482fafdeacb86c0342a4c277efbe713e264a4bc7ac88b0a44ac13ae7 DIST logilab-common-0.46.1.tar.gz 178780 RMD160 a7948fd96b728c3793582275bc8056e0ea66a675 SHA1 ac9b9a9d93c59906d19f4a5034743281d7880822 SHA256 33d5bff4540bf54e7e0f7c98ea1809ec2377865973878e510e7c857165fc111e +DIST logilab-common-0.48.0.tar.gz 185369 RMD160 305fc02e848e8c273bcf02a0224a0049c1d0f530 SHA1 eb9046cfc58976bc742bdbe14ac1aea3eb734879 SHA256 154741711aaa8e530ab88609cbacaad5b1435240661d82cbddaa9f94968ac46d EBUILD logilab-common-0.45.1.ebuild 2165 RMD160 0390b86a8a88b0c12ad8063a7229dbbbc2914da4 SHA1 ae65c605160517ae652522cf4982ef496c2fb4a0 SHA256 4c43ff693db05bef7e06411b6743008bfc7d5993ef332e7224cfc06e593a3599 EBUILD logilab-common-0.45.2.ebuild 2015 RMD160 4025410654de5a58bb6293129e213ef879331773 SHA1 867d3b127c5cbf4fa32818591e27680266adeefb SHA256 67eb50fe93b013e8e2dc6e32b72100851f69bde69438a77ce030e196350fb2e6 EBUILD logilab-common-0.46.0.ebuild 2110 RMD160 a649bae5575e226f22c75c1cc42ac37b6fcd36b8 SHA1 c65803c3e05adacfeed99cedbccc2a35eeb69a90 SHA256 429bcac034ab8e718e05a79ca79e57da05c0a482248071cf49bab25693f83913 EBUILD logilab-common-0.46.1.ebuild 2110 RMD160 caa7e70d2633a342d65bf7e2b0577c7333a50014 SHA1 d827e91f83f2f5643283c1fe2affa2872b1d7493 SHA256 5a2336fdb3d9bb00ea9f1f374df23a400f37720157b4ba4e85acc63086bf9a1c -MISC ChangeLog 9860 RMD160 ad22b459283f3aa40ed2e54a56dcb3384a7a845d SHA1 18713291d9ef7fa99c96db3a3c1a61712a6d273d SHA256 dc9850437c00303380e7857ca48ec6ca71c6255d9f263a08c58de8d891c756a7 +EBUILD logilab-common-0.48.0.ebuild 2121 RMD160 bdabb6d7845f1207a4ab415afeff2c7e0426a007 SHA1 691102899fa01c95e5eec08ee145f98cb47380f3 SHA256 f9812426adb61efb2c20bcf3269753851063f608d7ba15ba4537a09f40f1ed02 +MISC ChangeLog 10021 RMD160 e06083a20299719941f28bea9fafa990e3cfeee2 SHA1 b010a11bff9e335f1f850ad16a1f43af674b9532 SHA256 aa81b9afc2b7cda18a6f239ed52b841fd526e8609543f31b621213100b15e065 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/logilab-common/logilab-common-0.48.0.ebuild b/dev-python/logilab-common/logilab-common-0.48.0.ebuild new file mode 100644 index 000000000000..e726c7bb662f --- /dev/null +++ b/dev-python/logilab-common/logilab-common-0.48.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2010 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.48.0.ebuild,v 1.1 2010/02/21 17:42:32 arfrever Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +DESCRIPTION="Useful miscellaneous modules used by Logilab projects" +HOMEPAGE="http://www.logilab.org/projects/common/ http://pypi.python.org/pypi/logilab-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" + +# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed. +DEPEND="test? ( + dev-python/egenix-mx-base + !dev-python/psycopg[-mxdatetime] + )" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +PYTHON_MODNAME="logilab" +# Extra documentation (html/pdf) needs some love + +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 spath="${tpath}$(python_get_sitedir)" + + "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with Python ${PYTHON_ABI}" + + # Bug 223079. + if [[ "${EUID}" -eq 0 ]]; then + rm test/unittest_fileutils.py || die + fi + + # pytest picks up the tests relative to the current directory, so cd in. Do + # not cd in too far though (to logilab/common for example) or some + # relative/absolute module location tests fail. + pushd "${spath}" >/dev/null || die + PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}/usr/bin/pytest" -v || return 1 + popd >/dev/null || die + } + python_execute_function testing +} + +src_install() { + [[ -z "${ED}" ]] && local ED="${D}" + distutils_src_install + + python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest" + + doman doc/pytest.1 || die "doman failed" + + # Don't install tests. + rm -fr "${ED}"usr/lib*/python*/site-packages/${PN/-//}/test || die "Deletion of tests failed" +} |