diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-09 02:41:07 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-09 02:41:07 +0000 |
commit | 22aacc5e3a48199b0665525a0eae16bb74081571 (patch) | |
tree | 16cd7e2614d669551c9f52c8a930efc6ce927389 /dev-python/pytest | |
parent | Version bump. Fixed tests with Python 3.2 (bug #351060). (diff) | |
download | historical-22aacc5e3a48199b0665525a0eae16bb74081571.tar.gz historical-22aacc5e3a48199b0665525a0eae16bb74081571.tar.bz2 historical-22aacc5e3a48199b0665525a0eae16bb74081571.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha23/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pytest')
-rw-r--r-- | dev-python/pytest/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pytest/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pytest/pytest-2.0.1.ebuild | 44 |
3 files changed, 54 insertions, 2 deletions
diff --git a/dev-python/pytest/ChangeLog b/dev-python/pytest/ChangeLog index 7d48c1371833..b27d3ebd4fcf 100644 --- a/dev-python/pytest/ChangeLog +++ b/dev-python/pytest/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pytest # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.10 2011/01/30 18:26:54 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.11 2011/02/09 02:41:07 arfrever Exp $ + +*pytest-2.0.1 (09 Feb 2011) + + 09 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pytest-2.0.1.ebuild: + Version bump. 30 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -pytest-1.3.ebuild: diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index 3c55ecc6d575..4fa6fc78a068 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,5 +1,7 @@ AUX pytest-2.0.0-nose-1.0+python-3.patch 3393 RMD160 8766c2b4c9c8a07d5e43e8b3a2119fd3999e5950 SHA1 c6833cf2bbb152c1a0dc882f8f4ca3316c4aea39 SHA256 aa2249c14bc435c1373bf1a4c7416730334f4e100673f0ad6bc54099b39f5547 DIST pytest-2.0.0.zip 245166 RMD160 f1130a9daf69ca586f10d5e4540a55406042a22c SHA1 8e859f363feecb1f92cb13c0055217684b85e47a SHA256 3f83058ac9076112098392ed528e513d2bd74745a39dea97658b5499d7773151 +DIST pytest-2.0.1.zip 252300 RMD160 61572b9143fa97bd3d51c88b86d9ee3226f53829 SHA1 8d9b41d30a366fdc93bf566f9abe05b2cc163f97 SHA256 8d67d59946149ac1d679c5c7f5a6fe35c448bff49bfad1c1a1887ee3b0d81ce8 EBUILD pytest-2.0.0.ebuild 1333 RMD160 79937a6bceacae89bd1cc0d830f644540ea72f6d SHA1 5e67ef83792e01328b82c667ac7ef807782f0eb4 SHA256 bbf950e8f0a14a054aa042b22b1b83540a9f20f396546defdc5fd448a6d060d9 -MISC ChangeLog 1582 RMD160 be726b1f67ec6c75add5203e0af9df5cb5bb5246 SHA1 d2b3847284025b8a253b1cc2f4ca2a881fb68fbb SHA256 60e201fc5fdbb84c332b2827abaa5aeae2c7bfe13d24b9f721e0ed2becc6516f +EBUILD pytest-2.0.1.ebuild 1286 RMD160 cf84e4044ed39595c6b71b741efe25a2ed38aaa3 SHA1 5d74fb29f004f5098fbdd3e6f820c16922b0dd5f SHA256 981c3e7c9df79b7a1eb0026c436197c1c5a91ad32db2c1e9262f3ab5be389889 +MISC ChangeLog 1725 RMD160 b3abffec86982fe7df7f7f97f8bdbf1d9bd50500 SHA1 3e7a0bd3119235a8eb858a0afb7779d5696b8e19 SHA256 b227ef2394595cd82f492a7f06d1dd56fc8a4e2c22b81c8edd7342d863197473 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/pytest/pytest-2.0.1.ebuild b/dev-python/pytest/pytest-2.0.1.ebuild new file mode 100644 index 000000000000..26e0943c767b --- /dev/null +++ b/dev-python/pytest/pytest-2.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/pytest-2.0.1.ebuild,v 1.1 2011/02/09 02:41:07 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="py.test: simple powerful testing with Python" +HOMEPAGE="http://pytest.org/ http://pypi.python.org/pypi/pytest" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=">=dev-python/py-1.4.1" +DEPEND="${RDEPEND} + app-arch/unzip + dev-python/setuptools" + +DOCS="CHANGELOG README.txt" +PYTHON_MODNAME="pytest.py _pytest" + +src_prepare() { + distutils_src_prepare + + # Disable versioning of py.test script to avoid collision with versioning performed by distutils_src_install(). + sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed" +} + +src_test() { + testing() { + PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" "build-${PYTHON_ABI}/lib/pytest.py" + } + python_execute_function testing +} + +src_install() { + distutils_src_install + python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/py.test" +} |