diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-18 18:55:22 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-18 18:55:22 +0000 |
commit | 7f8b4d1e283f3d3af3d1aab3d61691df7018e838 (patch) | |
tree | aa65f3ea3a65d3ecab47cc71e27de943fd2a740e /dev-python/logilab-common | |
parent | Linux patch 2.6.32.29 (diff) | |
download | historical-7f8b4d1e283f3d3af3d1aab3d61691df7018e838.tar.gz historical-7f8b4d1e283f3d3af3d1aab3d61691df7018e838.tar.bz2 historical-7f8b4d1e283f3d3af3d1aab3d61691df7018e838.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha24_p9/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.55.0.ebuild | 63 |
3 files changed, 73 insertions, 2 deletions
diff --git a/dev-python/logilab-common/ChangeLog b/dev-python/logilab-common/ChangeLog index f140964029d2..37686093467b 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.85 2011/01/17 17:59:21 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.86 2011/02/18 18:55:22 arfrever Exp $ + +*logilab-common-0.55.0 (18 Feb 2011) + + 18 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +logilab-common-0.55.0.ebuild: + Version bump. *logilab-common-0.54.0 (17 Jan 2011) diff --git a/dev-python/logilab-common/Manifest b/dev-python/logilab-common/Manifest index a522bb71d126..cc74146bbcbc 100644 --- a/dev-python/logilab-common/Manifest +++ b/dev-python/logilab-common/Manifest @@ -2,8 +2,10 @@ AUX logilab-common-0.53.0-fix_indentation.patch 1394 RMD160 e334c69bbe347d009650 DIST logilab-common-0.52.1.tar.gz 190077 RMD160 1326a0cde40e6073e148b361da070ef2f66c42e0 SHA1 106c0fb4fb284444033e03b4bdf71ffb99a0dd53 SHA256 9ae2e590047bbb6152b317cdd086cbf31ec4049a3c7447e3395113205e8a3bd6 DIST logilab-common-0.53.0.tar.gz 189319 RMD160 6b0da8d8f17c012e4bd08a741412bbd3d0daf62f SHA1 1f0c5511e3689b79e2eef3b17027263ef94716f6 SHA256 7da87b9494fa3ad0062ef3c41a80258d4ea60089910cbf4cb65fe84bc4391269 DIST logilab-common-0.54.0.tar.gz 181329 RMD160 f232b4dd82ed2202076b35afef8073faca534632 SHA1 32b9c8f96fbcd4aa0777933b72b3cea96389a500 SHA256 3a683b4830ec53cd143c73324cecfc50ddb5ec177e23a5a39d1c347fa63847f5 +DIST logilab-common-0.55.0.tar.gz 174312 RMD160 30d52f3047e49292af504fc80536ca9b9de3297c SHA1 75babf74b28dab84a8434f7f05919584788df848 SHA256 f574c2d5bc1b4535d4128925db82807a95d49885eca732d13675e5f5b80d35ca EBUILD logilab-common-0.52.1.ebuild 1901 RMD160 3e837bb7c8bc7fe14dabb71e8da0c4afc710b70e SHA1 471078047dcb230bd2603482582a6dbea281e201 SHA256 f39771ff860d7ec956511d7e79fe7c4d1ca40f607ce570f2d1fcc6f6f078959f EBUILD logilab-common-0.53.0.ebuild 2431 RMD160 cc3efecdc63412abc0f7e4c26c92145d68dcbff4 SHA1 b3098dd0dd920ab9067aaa23c185fe2b3fb4d2a2 SHA256 c0b004bf402fe6e459e0277471bec72043e80caa2b3b9849fcebb3a11ed9d28f EBUILD logilab-common-0.54.0.ebuild 2093 RMD160 6fe2142178a95a83ac20e1e683cc113917085bce SHA1 58b17630755d9e9c703c395130c489aad39a9784 SHA256 d8ec68a6f6a31d7910175473fa991d88690a4f40432a5995f88d001b8070c1e5 -MISC ChangeLog 14169 RMD160 d4711db32bc2714dd6ea21ccb32ff35bb6ac2f62 SHA1 3fb4747112585e57bf2cc251616bbe62e0b2c7cd SHA256 3b43a5b8848d78c66a86fb9f538a980a9c075ac97d328bc8886a67fabf5a4d5a +EBUILD logilab-common-0.55.0.ebuild 2093 RMD160 590a1ec0bba5e5e89cc1871c5d15eb80e53acc17 SHA1 9102ce44954dfea3f5b1a8b309731bd13d4ae66c SHA256 1e51b579751fbdf23ad90c8a3549e0108f553ed715931c4ac163bff8d52a3fa4 +MISC ChangeLog 14330 RMD160 dad4b9299f8b3877a23ca6732abef3add3433957 SHA1 174484cce5fdd262f05bcc43e9cd151d6a8ddd7d SHA256 d4a8a431fc5301401c684067582b4af0f3858dc93e15fdb048ec4c4f37d1d1ab MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/logilab-common/logilab-common-0.55.0.ebuild b/dev-python/logilab-common/logilab-common-0.55.0.ebuild new file mode 100644 index 000000000000..743db68a17b2 --- /dev/null +++ b/dev-python/logilab-common/logilab-common-0.55.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 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.55.0.ebuild,v 1.1 2011/02/18 18:55:22 arfrever 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 +} |