mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
dev-python/parsel: extract data from XML/HTML documents
dependency for dev-python/scrapy Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
30
dev-python/parsel/files/parsel-1.6.0-pytest-runner.patch
Normal file
30
dev-python/parsel/files/parsel-1.6.0-pytest-runner.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
diff --git a/pytest.ini b/pytest.ini
|
||||
index 3e34de8..b9f5050 100644
|
||||
--- a/pytest.ini
|
||||
+++ b/pytest.ini
|
||||
@@ -1,11 +1,2 @@
|
||||
[pytest]
|
||||
-addopts = --assert=plain --doctest-modules --ignore=setup.py
|
||||
-flake8-ignore =
|
||||
- parsel/csstranslator.py E501
|
||||
- parsel/selector.py E501
|
||||
- parsel/utils.py E226 E501
|
||||
- parsel/xpathfuncs.py E501
|
||||
- tests/test_selector.py E501
|
||||
- tests/test_selector_csstranslator.py E501
|
||||
- tests/test_utils.py E501
|
||||
- tests/test_xpathfuncs.py E501
|
||||
+addopts = --assert=plain --ignore=setup.py
|
||||
diff --git a/setup.py b/setup.py
|
||||
index d14ad0e..dc89534 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -76,7 +76,7 @@ setup(
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
],
|
||||
- setup_requires=['pytest-runner',],
|
||||
+ setup_requires=[],
|
||||
tests_require=['pytest',],
|
||||
test_suite='tests',
|
||||
)
|
||||
Reference in New Issue
Block a user