summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 00:00:46 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 00:00:46 +0000
commit66da2626d7ed0b2d8449e4f964146537ef89cb6e (patch)
tree1fdcbf40fff08a39d9bae025b33fe0c55950f5b0
parentDelete older ebuild. (diff)
downloadhistorical-66da2626d7ed0b2d8449e4f964146537ef89cb6e.tar.gz
historical-66da2626d7ed0b2d8449e4f964146537ef89cb6e.tar.bz2
historical-66da2626d7ed0b2d8449e4f964146537ef89cb6e.zip
Version bump.
Package-Manager: portage-HEAD/cvs/Linux x86_64
-rw-r--r--dev-python/logilab-common/ChangeLog8
-rw-r--r--dev-python/logilab-common/Manifest6
-rw-r--r--dev-python/logilab-common/logilab-common-0.50.3.ebuild87
3 files changed, 97 insertions, 4 deletions
diff --git a/dev-python/logilab-common/ChangeLog b/dev-python/logilab-common/ChangeLog
index 790402686b0a..81b457ed52e6 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.65 2010/05/25 21:12:43 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.66 2010/06/08 00:00:46 arfrever Exp $
+
+*logilab-common-0.50.3 (08 Jun 2010)
+
+ 08 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -logilab-common-0.50.1.ebuild, +logilab-common-0.50.3.ebuild:
+ Version bump.
*logilab-common-0.50.2 (25 May 2010)
diff --git a/dev-python/logilab-common/Manifest b/dev-python/logilab-common/Manifest
index ae6f95cc9b99..1b81f1d94f1e 100644
--- a/dev-python/logilab-common/Manifest
+++ b/dev-python/logilab-common/Manifest
@@ -1,11 +1,11 @@
AUX logilab-common-0.41.0-remove-broken-tests.patch 697 RMD160 bf3fa9c83abb0a47155486efe6d87714b4af2e68 SHA1 d226f60e0568a8476b8aa23a662b7f1cb74f6bb7 SHA256 71e5cdcdd983ec4da56a893b4191e50739aba2267a4105d4b1709ee4f4418dfd
DIST logilab-common-0.45.1.tar.gz 176339 RMD160 4057ff9afae6c3e9d60e48e1c8bfc02fbafc3ca9 SHA1 495c314e6c9a19a5bd8143dd22e5052d133c66e5 SHA256 602c17a5934c54d2973e1d7df15ce7ff66c42c65e374434cfb1dd59208b1efd7
DIST logilab-common-0.49.0.tar.gz 166328 RMD160 7dca007d89f1baa0fd09b5a868f7e8cef8097e69 SHA1 8f3769a4c07af8aaa9bdda342992560ec79c5b84 SHA256 151ae9d4cc5f969587d99604ae59fc8d4401b794c34c38056fabe52aa3e0cb4b
-DIST logilab-common-0.50.1.tar.gz 164975 RMD160 2dc00fbf9e0d766994e60cecb8c9fd561142da6d SHA1 c646f48bf347b5838481ecf48792ad80d0013373 SHA256 30b42836a0d59bc8bc87e4897025eda32759a84d4647dc7e269a1cf1e010721f
DIST logilab-common-0.50.2.tar.gz 184021 RMD160 c30532832e60d0656721b2841c06b803d5721b86 SHA1 003b20b8a3cd213608661ccad85f142232b9e68e SHA256 cbd1dfcfe5fb536f00b8e0c76acc8cb9a4ae549aa9ab56b95945e2e9f884b66b
+DIST logilab-common-0.50.3.tar.gz 184161 RMD160 33ff2aa0216fcf717bf2e1b1063a6345bd98b51d SHA1 abf35852ce0030b2724b1beeacc42f3ca03934c5 SHA256 e08f26783622c3c8b19250c7030e7124ff7c4313881bae692972ca55bdd7a07b
EBUILD logilab-common-0.45.1.ebuild 2165 RMD160 0390b86a8a88b0c12ad8063a7229dbbbc2914da4 SHA1 ae65c605160517ae652522cf4982ef496c2fb4a0 SHA256 4c43ff693db05bef7e06411b6743008bfc7d5993ef332e7224cfc06e593a3599
EBUILD logilab-common-0.49.0.ebuild 2530 RMD160 1213f802b38a85190641d2c7a87dc78383b45da7 SHA1 1347595e61473e98da505f87d71ece542bceb7f4 SHA256 20cc49263172f7140592b91c4f5f4da16b2340a0b13f8045961872db1baca83f
-EBUILD logilab-common-0.50.1.ebuild 2537 RMD160 f9c1dc4427590a75e074bdf9b73bff6cd663fa02 SHA1 7aabbe45377822d5de8633a122947cdffd565ad5 SHA256 21eb7d2acc361a0a6967262dc729a6beffbd817cc1f48f825a45cd7e696d7be7
EBUILD logilab-common-0.50.2.ebuild 2663 RMD160 c3d89b4b9e7ef23e2ee28e8c73c7b0c3b2d553b6 SHA1 a68298a87ce56ce2c8dc9b9122cf3d2ab0efb4e7 SHA256 6e0f4b5dd35a2d293ae80c0b6d73ba70060b231a243cb00d7e2f0fd50acf7c79
-MISC ChangeLog 11138 RMD160 e7c3e19fc765359c9fc5033b2806f8e1584b5adf SHA1 9a1b1246c5535531d72cc839796b2277f06de773 SHA256 d781595fc193da2157319f32b3afa4207f12e34cf8d8c01dd3654c4f70796ae0
+EBUILD logilab-common-0.50.3.ebuild 2663 RMD160 b1a5495771b0f938a399e47fd7624770e3ab0227 SHA1 575d5364f730618b4ed1d171d675cd168beb73bd SHA256 7a132f6eaa5988fc072f6871fc833381416531d32a3b96b596aca030287132c3
+MISC ChangeLog 11330 RMD160 2e7fac9bb14ac170ee074b073a54f071fea3a752 SHA1 0c86a149395ba83459887b62c6b173c6e434225c SHA256 bba81c624fe3b2b325a1c29bfd5d1a21ec92915549e13fa848398fa90e30526f
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/logilab-common/logilab-common-0.50.3.ebuild b/dev-python/logilab-common/logilab-common-0.50.3.ebuild
new file mode 100644
index 000000000000..3cc4b7e1553b
--- /dev/null
+++ b/dev-python/logilab-common/logilab-common-0.50.3.ebuild
@@ -0,0 +1,87 @@
+# 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.50.3.ebuild,v 1.1 2010/06/08 00:00:46 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+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="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~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=""
+
+PYTHON_MODNAME="logilab"
+# Extra documentation (html/pdf) needs some love
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Disable broken tests.
+ sed -e "s/test_moved/_&/" -i test/unittest_deprecation.py
+ sed -e "s/test_manpage/_&/" -i test/unittest_configuration.py
+ sed -e "s/test_knownValues_is_standard_module_4/_&/" -i test/unittest_modutils.py
+
+ # Disable tests failing when stdout is not a tty.
+ sed \
+ -e "s/test_both_capture/_&/" \
+ -e "s/test_capture_core/_&/" \
+ -i test/unittest_testlib.py
+
+ if [[ "${EUID}" -eq 0 ]]; then
+ # Disable tests failing with root permissions.
+ sed \
+ -e "s/test_mode_change/_&/" \
+ -e "s/test_mode_change_on_append/_&/" \
+ -e "s/test_restore_on_close/_&/" \
+ -i test/unittest_fileutils.py
+ fi
+}
+
+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() {
+ 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"
+}