mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/py3-cssselect2: upgrade to 0.3.0
This commit is contained in:
parent
d809d9bddf
commit
cde0bd2a7b
@ -2,14 +2,14 @@
|
||||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=py3-cssselect2
|
||||
_pyname=cssselect2
|
||||
pkgver=0.2.2
|
||||
pkgrel=1
|
||||
pkgver=0.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="CSS selectors for Python ElementTree"
|
||||
url="https://pypi.org/projects/cssselect2/"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="py3-tinycss2"
|
||||
makedepends="py3-setuptools py3-pytest py3-pytest-cov"
|
||||
makedepends="py3-setuptools py3-pytest"
|
||||
_pypiprefix="${_pyname%${_pyname#?}}"
|
||||
source="
|
||||
https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz
|
||||
@ -29,5 +29,5 @@ package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="1f11077c6e28f52a1c370c1f3d5fa1156f74b390298323889230304ede6c23a2f2b78c63026f5d84e67518a21fc8df3484577bc77fcf19cb97a84c2a7f28d355 cssselect2-0.2.2.tar.gz
|
||||
9300b2ed735ec35caec7c2330c7649527628c7bc894557b8c0d01c613a50cd846f7b186aff04a58d1ee720016aa605be17e9c1fec7801785972d9aa5f4604a5f tests.patch"
|
||||
sha512sums="ae59314654d1c1ddf982b77521de7743d1496145a1367f51e02b6067d6757940e7ccb50b67959630f472972473a1e87cec8dfbc8eeb68ad5f16465a36b1447be cssselect2-0.3.0.tar.gz
|
||||
81fe8c58ca2a872a3bbb56be067f6140e6c43bdbab10957d66f6f79c3350b133be08a2a813f62ad64361f2475712bd06837e43e5002cf48f672c7027dbab2028 tests.patch"
|
||||
|
||||
@ -1,24 +1,33 @@
|
||||
--- cssselect2-0.2.1-orig/setup.cfg
|
||||
+++ cssselect2-0.2.1/setup.cfg
|
||||
@@ -5,7 +5,7 @@
|
||||
universal = 1
|
||||
diff --git a/setup.cfg b/setup.cfg
|
||||
index f7abbc2..acbe7b3 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -42,9 +42,6 @@ install_requires =
|
||||
webencodings
|
||||
tests_require =
|
||||
pytest-runner
|
||||
- pytest-cov
|
||||
- pytest-flake8
|
||||
- pytest-isort
|
||||
python_requires = >= 3.5
|
||||
|
||||
[options.package_data]
|
||||
@@ -57,9 +54,6 @@ doc =
|
||||
sphinx_rtd_theme
|
||||
test =
|
||||
pytest-runner
|
||||
- pytest-cov
|
||||
- pytest-flake8
|
||||
- pytest-isort
|
||||
|
||||
[bdist_wheel]
|
||||
python-tag = py3
|
||||
@@ -72,7 +66,7 @@ build-dir = docs/_build
|
||||
test = pytest
|
||||
|
||||
[tool:pytest]
|
||||
-addopts = --cov=cssselect2 --flake8 --isort cssselect2
|
||||
+addopts = --cov=cssselect2 cssselect2
|
||||
norecursedirs = dist .cache .git build *.egg-info .eggs venv
|
||||
-addopts = --flake8 --isort cssselect2
|
||||
+addopts = cssselect2
|
||||
norecursedirs = build dist .cache .eggs .git
|
||||
|
||||
[egg_info]
|
||||
--- cssselect2-0.2.1-orig/setup.py
|
||||
+++ cssselect2-0.2.1/setup.py
|
||||
@@ -29,8 +29,6 @@
|
||||
install_requires=['tinycss2'],
|
||||
setup_requires=pytest_runner,
|
||||
test_suite='cssselect2.tests',
|
||||
- tests_require=[
|
||||
- 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort'],
|
||||
- extras_require={'test': [
|
||||
- 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort']},
|
||||
+ tests_require=['pytest-runner', 'pytest-cov'],
|
||||
+ extras_require={'test': ['pytest-runner', 'pytest-cov']},
|
||||
)
|
||||
[coverage:run]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user