summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2012-12-28 06:06:22 +0000
committerMatthew Thode <prometheanfire@gentoo.org>2012-12-28 06:06:22 +0000
commit2a070a604d5c432fb9636415c8eb7b80480040e5 (patch)
tree18ee855d112069aef82d76356a98fce7cc8796a6 /dev-python/pytest-runner
parentLoosen binary dep, patch for hashable 1.2 (diff)
downloadgentoo-2-2a070a604d5c432fb9636415c8eb7b80480040e5.tar.gz
gentoo-2-2a070a604d5c432fb9636415c8eb7b80480040e5.tar.bz2
gentoo-2-2a070a604d5c432fb9636415c8eb7b80480040e5.zip
getting rid of setup_requires in dev-python/pytest-runner
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'dev-python/pytest-runner')
-rw-r--r--dev-python/pytest-runner/ChangeLog6
-rw-r--r--dev-python/pytest-runner/files/pytest-runner.patch12
-rw-r--r--dev-python/pytest-runner/pytest-runner-1.1.ebuild14
3 files changed, 26 insertions, 6 deletions
diff --git a/dev-python/pytest-runner/ChangeLog b/dev-python/pytest-runner/ChangeLog
index ad6fd67e806a..ca42be6a7ad3 100644
--- a/dev-python/pytest-runner/ChangeLog
+++ b/dev-python/pytest-runner/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pytest-runner
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest-runner/ChangeLog,v 1.1 2012/12/28 04:18:17 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest-runner/ChangeLog,v 1.2 2012/12/28 06:06:22 prometheanfire Exp $
+
+ 28 Dec 2012; Matthew Thode <prometheanfire@gentoo.org>
+ +files/pytest-runner-1.1_setup.patch:
+ adding patch to remove setup_requires from setup.py
*pytest-runner-1.1 (28 Dec 2012)
diff --git a/dev-python/pytest-runner/files/pytest-runner.patch b/dev-python/pytest-runner/files/pytest-runner.patch
new file mode 100644
index 000000000000..9d932671b799
--- /dev/null
+++ b/dev-python/pytest-runner/files/pytest-runner.patch
@@ -0,0 +1,12 @@
+--- setup.py.orig 2012-12-28 01:01:07.865345417 -0500
++++ setup.py 2012-12-28 01:01:17.003360680 -0500
+@@ -14,9 +14,6 @@
+ 'distutils.commands':
+ ['ptr = ptr:PyTest'],
+ },
+- setup_requires=[
+- 'hgtools',
+- ],
+ )
+ if __name__ == '__main__':
+ setuptools.setup(**setup_params)
diff --git a/dev-python/pytest-runner/pytest-runner-1.1.ebuild b/dev-python/pytest-runner/pytest-runner-1.1.ebuild
index acd9f404428d..0813fb3cf1db 100644
--- a/dev-python/pytest-runner/pytest-runner-1.1.ebuild
+++ b/dev-python/pytest-runner/pytest-runner-1.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest-runner/pytest-runner-1.1.ebuild,v 1.1 2012/12/28 04:18:17 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytest-runner/pytest-runner-1.1.ebuild,v 1.2 2012/12/28 06:06:22 prometheanfire Exp $
# Ebuild generated by g-pypi 0.2.2 (rev. 214)
EAPI=4
#RESTRICT_PYTHON_ABIS="3.*"
-inherit distutils
+inherit distutils eutils
MY_PN=${PN#python-}
S="${WORKDIR}/${MY_PN}-${PV}"
@@ -17,9 +17,13 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
-DEPEND="dev-python/setuptools
- dev-python/hgtools"
-RDEPEND=""
+DEPEND="dev-python/hgtools
+ dev-python/setuptools"
+RDEPEND="dev-python/pytest"
+
+src_prepare() {
+ epatch "${FILESDIR}/pytest-runner.patch"
+}
src_install() {
distutils_src_install