summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-02-14 04:38:36 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-02-14 04:38:36 +0000
commit5e7fd3163f6e070980ec11b2ccdb1e38eebc97b3 (patch)
tree50e0bff60f4a8eaa9e42762b69627119a287879d /dev-python/logilab-common
parentAdd missing dependency on gnome-icon-theme-symbolic (bug #403503). (diff)
downloadhistorical-5e7fd3163f6e070980ec11b2ccdb1e38eebc97b3.tar.gz
historical-5e7fd3163f6e070980ec11b2ccdb1e38eebc97b3.tar.bz2
historical-5e7fd3163f6e070980ec11b2ccdb1e38eebc97b3.zip
Bump for #402815
Package-Manager: portage-2.2.0_alpha86/cvs/Linux x86_64
Diffstat (limited to 'dev-python/logilab-common')
-rw-r--r--dev-python/logilab-common/ChangeLog9
-rw-r--r--dev-python/logilab-common/Manifest24
-rw-r--r--dev-python/logilab-common/logilab-common-0.57.1.ebuild63
3 files changed, 73 insertions, 23 deletions
diff --git a/dev-python/logilab-common/ChangeLog b/dev-python/logilab-common/ChangeLog
index 436cbf99125c..4e87bfaa4193 100644
--- a/dev-python/logilab-common/ChangeLog
+++ b/dev-python/logilab-common/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/logilab-common
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.97 2011/07/01 21:30:18 hwoarang Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.98 2012/02/14 04:38:36 patrick Exp $
+
+*logilab-common-0.57.1 (14 Feb 2012)
+
+ 14 Feb 2012; Patrick Lauer <patrick@gentoo.org> +logilab-common-0.57.1.ebuild:
+ Bump for #402815
01 Jul 2011; Markos Chandras <hwoarang@gentoo.org>
-logilab-common-0.55.0.ebuild:
diff --git a/dev-python/logilab-common/Manifest b/dev-python/logilab-common/Manifest
index b807a438b981..3a1360dafbc2 100644
--- a/dev-python/logilab-common/Manifest
+++ b/dev-python/logilab-common/Manifest
@@ -1,24 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
DIST logilab-common-0.55.2.tar.gz 182524 RMD160 1d9f751c60ac020c913f097b1c032d904b39ef87 SHA1 996531afeb306317fa4b10a22c6f6ec3336e43c1 SHA256 3242039f4e0732b510e03ef638f1ea43e65ddb7154164a9bda02514ee514f99a
+DIST logilab-common-0.57.1.tar.gz 181975 RMD160 30bd73381e292b1c8e5b809de2ca8928918b107f SHA1 4538448dec42ea7dc40ff24c9066d187eab6f79c SHA256 102c4860cad1ffaee98e6746ad89de4e5c40b63a569d4e131379b84c4907ed0a
EBUILD logilab-common-0.55.2.ebuild 2088 RMD160 7d363f6fe78f67eaaecc5729f2560fd10af9f81a SHA1 c1e1ffa83c17dc9283c493a114b942f6cdfe24f7 SHA256 cded24b316c00c7733c984549fd66afd36b08a7ba1726498c94db43a75219e9c
-MISC ChangeLog 15652 RMD160 231e216fb2fa829b2104f0c95cd92c8bc66e6319 SHA1 2ef0bd9e0aa851b85da465ea5bd23829007a7090 SHA256 d0e6c0e4c997b3a79607437b3309a8c57e25efa43047468b9e81e29c38130bf7
+EBUILD logilab-common-0.57.1.ebuild 2092 RMD160 c274fddf15cbad2ca811268d067d995c975e0b8e SHA1 fab194b454040c44f05d452e1b08f281969527cf SHA256 2c614331690763f7accf7d5443511a1838ed3973ed638f0bbdabc7f5df894689
+MISC ChangeLog 15790 RMD160 b6842523bf8196a39a9b0cbce568276a8df027ca SHA1 4f1650f26d9b49f77821de0f1cfedb3d74635041 SHA256 410e2b7d60c2e9382914b1fb652b39830f376e98bf36a147075ccdc4b318c046
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iQIcBAEBCgAGBQJODjxtAAoJEPqDWhW0r/LC5CgP/A4rykvbCMCHMqH4pU890NRt
-nuNzFm293MZ5xD5G3cjObIcl7374setetZxgyHEvsuX8T3bYJBQJpgMwccSCICJH
-k4iURTbBsC+udfSKUUluPWegOf+FLWsbDl0Gn47fY6hGTETNJnj+YvibHSfzN0ai
-652hshnAgr4rUkvLRtaWYMBl+3bX+WpzJbgedty2HyLpmGU812pAJXieFEJQfSky
-4ETnhZ6uK2/TLsP/kNjWmtRccVlGikp+qkFWuZflcDw0Pp7tdqysTm7TSL8lhP2D
-+aiKaiW5lFitUQsV9vPJWYRk5yBO6z97S5+7EmeqpCozjdu//rMycbwuxufWkjlv
-KVye/JR+NMzdH4K2bp0qYecvph6hjDQKlyuJ0mVrleDxQe2wucVlrRPNypKZRe3z
-FyPfjzpI+PEmjxyMMZthe6PC+ivV46sUmpZzq22uQDbHuGxyFOVrUBUHG1EYOm5e
-850WXKCo+ztyVxgE0uAFntHaT+61Tn0Jk0MEufuIpskYepj7tflFdPVNvgqrQCNB
-8/5qFytH0xDLgJIi5Mr/TDBfmotXBkc33lh/qn8+3UlGRZU8h/zrIFt7f4/ADiE+
-fKcCRYz/mhbqAoeTpI4EybL/UPSi4+W115ELteaK5vzJan/fmV56E25EPrzhlGCD
-SuAK7z9pfAOGowUYoAiS
-=fTX/
------END PGP SIGNATURE-----
diff --git a/dev-python/logilab-common/logilab-common-0.57.1.ebuild b/dev-python/logilab-common/logilab-common-0.57.1.ebuild
new file mode 100644
index 000000000000..7983f5799727
--- /dev/null
+++ b/dev-python/logilab-common/logilab-common-0.57.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 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.57.1.ebuild,v 1.1 2012/02/14 04:38:36 patrick Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+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 mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="test"
+
+# dev-python/unittest2 is not required with Python >=3.2.
+RDEPEND="dev-python/setuptools
+ dev-python/unittest2"
+# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
+DEPEND="${RDEPEND}
+ test? (
+ dev-python/egenix-mx-base
+ !dev-python/psycopg[-mxdatetime]
+ )"
+
+PYTHON_MODNAME="logilab"
+
+src_test() {
+ testing() {
+ # Install temporarily.
+ local tpath="${T}/test-${PYTHON_ABI}"
+ local spath="${tpath}${EPREFIX}$(python_get_sitedir)"
+
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)"
+
+ # pytest uses tests placed relatively to the current directory.
+ pushd "${spath}" > /dev/null || return 1
+ if [[ "${PYTHON_ABI}" == 3.* ]]; then
+ # Support for Python 3 is experimental. Some tests are known to fail.
+ PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v
+ else
+ PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
+ fi
+ popd > /dev/null || return 1
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest"
+
+ doman doc/pytest.1 || die "doman failed"
+
+ delete_tests() {
+ rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test"
+ }
+ python_execute_function -q delete_tests
+}