mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/chardet: remove setup_requires="pytest-runner"
Package-Manager: Portage-2.3.5_p19, Repoman-2.3.2_p49
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
|
||||
24
dev-python/chardet/files/disable-pytest-runner.patch
Normal file
24
dev-python/chardet/files/disable-pytest-runner.patch
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user