Version bump. Clean out pyc files; bug 380275. Thanks to David Leverton for the sugge...
authorMike Gilbert <floppym@gentoo.org>
Sun, 11 Sep 2011 04:40:35 +0000 (04:40 +0000)
committerMike Gilbert <floppym@gentoo.org>
Sun, 11 Sep 2011 04:40:35 +0000 (04:40 +0000)
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64

dev-python/pytest/ChangeLog
dev-python/pytest/Manifest
dev-python/pytest/pytest-2.1.1.ebuild [new file with mode: 0644]

index 540700899eaa4a39ebf1f1529043e06d0f0ad929..5bf955db1ddb3b888fa1255797443b01911b92eb 100644 (file)
@@ -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.32 2011/07/24 16:29:38 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest/ChangeLog,v 1.33 2011/09/11 04:40:35 floppym Exp $
+
+*pytest-2.1.1 (11 Sep 2011)
+
+  11 Sep 2011; Mike Gilbert <floppym@gentoo.org> +pytest-2.1.1.ebuild:
+  Version bump. Clean out pyc files; bug 380275. Thanks to David Leverton for
+  the suggestion.
 
   24 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> pytest-2.0.3.ebuild:
   ppc/ppc64 stable wrt #373363
index 37b8bba38e3a95dc725489d942eced49a2878fb6..d01450504f6c4127c8a0d513191c8fb478417808 100644 (file)
@@ -1,18 +1,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
 
 DIST pytest-2.0.2.zip 256675 RMD160 0fd7847e983556f468176560e70998a342d0ff87 SHA1 d1ca542ca528cae937c1122df2eb0a9ec51bd114 SHA256 9b29dc0f81c7fcba3ce5154408e948d783e35ace39b514f093f2b83bcf35c48f
 DIST pytest-2.0.3.zip 259712 RMD160 49951f0ecddb68ccb21ceb7a243d9621f7bc5327 SHA1 e1ac031e9e99aec6bfb480a6e5fca0870f072ad4 SHA256 b387aaae6df6be8a37f4e9ffcb2ca04836f5b130c11f1297f93f487a3261e692
+DIST pytest-2.1.1.zip 288420 RMD160 d2a4ad0840710e4b6db407b6d4351ed0f5c6ca71 SHA1 5f12c9c51c2dd9cd10b9dbea61b6dd759d37a73b SHA256 80a3837db680adbafd23e0005d40d781153dd1e8ec62ee406d50911ed0874155
 EBUILD pytest-2.0.2.ebuild 1274 RMD160 2818c0d3b2d00d6ca680f94834207deb14f552e9 SHA1 8789c442540f6e4da13b6da2a85253d2d6f888d4 SHA256 1780c4ca8f02074d107034cdb85d88c311df79e5252250407e54571d483b2b0d
 EBUILD pytest-2.0.3.ebuild 1279 RMD160 1171d16278a0b5cfa6d4b61d1260e8ad11de79ec SHA1 43b86d62fb085dc9976aa3f4cfd62ffc7c8e01f1 SHA256 ebc01ce625313a2fba544d75865888014ae92ec323377f2a766a0a4536dd94df
-MISC ChangeLog 4090 RMD160 622ebbe3f21b023ae1b8c750f166a8e0fcdf9e2b SHA1 21a797b5a8c2ffc6ecfd11868bfa1e61639b000e SHA256 f100f665458daf8dc9a2fa41267a80c374dcf594737fcd42cee818e5b851f736
+EBUILD pytest-2.1.1.ebuild 1369 RMD160 5ae84a658f46a2ce698b87b7527e0bbc70f78d8c SHA1 25ad1ac9e268527f42ac70f5877847652571c4b7 SHA256 4e7110ba6d8aca642068ab8ae382b0cbd3b5660c7201b8340652480f5c1d05df
+MISC ChangeLog 4284 RMD160 a2ee37c67ac36f18e1e5a75c1c2e77420279762b SHA1 48d673b5566e2fb49835e8bbd01696c2fd0938d9 SHA256 73d2b1f34c41bfad8cb1ac81484c89abbb4e4ef2c76f115ce68c0927916abeaa
 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iJwEAQECAAYFAk4sSHsACgkQIiMqcbOVdxRwXwP/WK//2nEzrTkIk2k0KUbWbEx/
-cEDU5IyeKB40zK1rntJ2BeOSYRe7vEMtSuy/Y8RIIrUKZdTvFbYZAYReUM8vMvaB
-o5Vy/yqwCurqoCpd+3pa5FX8W/Z6UWoTX3tN93MSMEkWP2KfwtaPWfSM4yb4jpWE
-fOAU3A7mBb2A53rD66E=
-=bb+o
+iF0EAREIAAYFAk5sO8sACgkQC77qH+pIQ6R/VQD/fBJ4TGF8TpllJaolp7uU1tqa
+RWPnBH3m43sX6oFubxAA+NGqgJ/AXmuDyoEBfBJHTatjzTSVMrA665qTRmb2f74=
+=zA9x
 -----END PGP SIGNATURE-----
diff --git a/dev-python/pytest/pytest-2.1.1.ebuild b/dev-python/pytest/pytest-2.1.1.ebuild
new file mode 100644 (file)
index 0000000..62f102f
--- /dev/null
@@ -0,0 +1,47 @@
+# 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.1.1.ebuild,v 1.1 2011/09/11 04:40:35 floppym 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.5"
+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"
+
+       # Bug 380275: Test suite pre-compiles modules
+       python_clean_installation_image -q
+}