diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-04-20 15:26:52 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-04-20 15:27:28 -0400 |
commit | 59523c5f3c9e160593d5a2f21dc8b08fc939c19b (patch) | |
tree | dbff138619751d90d1a71b13cbf877b41e3be01c /dev-python/chardet | |
parent | dev-lang/go: downgrade elog of GOROOT_BOOTSTRAP to einfo (diff) | |
download | gentoo-59523c5f3c9e160593d5a2f21dc8b08fc939c19b.tar.gz gentoo-59523c5f3c9e160593d5a2f21dc8b08fc939c19b.tar.bz2 gentoo-59523c5f3c9e160593d5a2f21dc8b08fc939c19b.zip |
dev-python/chardet: remove setup_requires="pytest-runner"
Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49
Diffstat (limited to 'dev-python/chardet')
-rw-r--r-- | dev-python/chardet/chardet-3.0.2.ebuild | 4 | ||||
-rw-r--r-- | dev-python/chardet/files/disable-pytest-runner.patch | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/chardet/chardet-3.0.2.ebuild b/dev-python/chardet/chardet-3.0.2.ebuild index 14b78742495c..167fb3a4964c 100644 --- a/dev-python/chardet/chardet-3.0.2.ebuild +++ b/dev-python/chardet/chardet-3.0.2.ebuild @@ -25,6 +25,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] )" RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/disable-pytest-runner.patch +) + python_test() { py.test -v ./test.py || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/chardet/files/disable-pytest-runner.patch b/dev-python/chardet/files/disable-pytest-runner.patch new file mode 100644 index 000000000000..42869a4b481b --- /dev/null +++ b/dev-python/chardet/files/disable-pytest-runner.patch @@ -0,0 +1,24 @@ +From 8d5291ff2c2560cf88ef7c38d90ca6d026c9d11c Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Thu, 20 Apr 2017 15:18:35 -0400 +Subject: [PATCH] Remove dependency on pytest-runner + +--- + setup.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 28a080a..ab49d62 100755 +--- a/setup.py ++++ b/setup.py +@@ -46,7 +46,6 @@ setup(name='chardet', + "Modules"), + "Topic :: Text Processing :: Linguistic"], + packages=find_packages(), +- setup_requires=['pytest-runner'], + tests_require=['pytest', 'hypothesis'], + entry_points={'console_scripts': + ['chardetect = chardet.cli.chardetect:main']}) +-- +2.12.2 + |