Currently, there are two versions of python XML processing library which conflict each other in the ports tree, namely: - devel/py-lxml5 (now at version 5.4.0) - devel/py-lxml (now at version 6.0.1) To avoid the situation that some ports depend on py-lxml5 and some others do on py-lxml (by switching dependencies individually), this commit switches the dependencies from py-lxml5 to py-lxml at once. Additional note: There are still two ports (textproc/py-rdflib and www/py-draftjs-exporter) depending on py-lxml5 since they limit upper version to less than 6. PR: 289491 Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd, crees, madpilot, delphij, marcus, nivit, kai, skreuzer, fluffy, bofh, thierry, stephen, sunpoet, 0mp, Eric Camachat <eric@camachat.org>
27 lines
775 B
Makefile
27 lines
775 B
Makefile
PORTNAME= parsel
|
|
PORTVERSION= 1.10.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= eric@camachat.org
|
|
COMMENT= Library to extract data from HTML and XML using XPath and CSS selectors
|
|
WWW= https://github.com/scrapy/parsel
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>=1.2.0:www/py-cssselect@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}lxml>=2.3:devel/py-lxml@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}w3lib>=1.19.0:www/py-w3lib@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|