mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
textproc/py-cssselect2: Update to 0.5.0
Changes: https://github.com/Kozea/cssselect2/releases
This commit is contained in:
parent
0dbe3a29f7
commit
b6136ed826
@ -1,7 +1,7 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= cssselect2
|
||||
PORTVERSION= 0.4.1
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -15,9 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}webencodings>=0:converters/py-webencodings@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1604680192
|
||||
SHA256 (cssselect2-0.4.1.tar.gz) = 93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8
|
||||
SIZE (cssselect2-0.4.1.tar.gz) = 32756
|
||||
TIMESTAMP = 1647264676
|
||||
SHA256 (cssselect2-0.5.0.tar.gz) = d98a7bbdd8ebc46093279195d669a3359bd5a23f90c19e82c19d9eeef333e617
|
||||
SIZE (cssselect2-0.5.0.tar.gz) = 34918
|
||||
|
34
textproc/py-cssselect2/files/setup.py
Normal file
34
textproc/py-cssselect2/files/setup.py
Normal file
@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env python
|
||||
# setup.py generated by flit for tools that don't yet use PEP 517
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
packages = \
|
||||
['cssselect2']
|
||||
|
||||
package_data = \
|
||||
{'': ['*']}
|
||||
|
||||
install_requires = \
|
||||
['tinycss2', 'webencodings']
|
||||
|
||||
extras_require = \
|
||||
{'doc': ['sphinx', 'sphinx_rtd_theme'],
|
||||
'test': ['pytest',
|
||||
'pytest-cov',
|
||||
'pytest-flake8',
|
||||
'pytest-isort',
|
||||
'coverage[toml]']}
|
||||
|
||||
setup(name='cssselect2',
|
||||
version='%%PORTVERSION%%',
|
||||
description='CSS selectors for Python ElementTree',
|
||||
author=None,
|
||||
author_email='Simon Sapin <simon.sapin@exyr.org>',
|
||||
url=None,
|
||||
packages=packages,
|
||||
package_data=package_data,
|
||||
install_requires=install_requires,
|
||||
extras_require=extras_require,
|
||||
python_requires='>=3.7',
|
||||
)
|
Loading…
Reference in New Issue
Block a user