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>
29 lines
727 B
Makefile
29 lines
727 B
Makefile
PORTNAME= itstool
|
|
PORTVERSION= 2.0.7
|
|
PORTREVISION= 4
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= https://files.itstool.org/itstool/
|
|
|
|
PATCH_SITES= https://github.com/itstool/itstool/commit/
|
|
PATCHFILES= 32c7d07664dc37765100285d1202d488cd6a27e8.patch:-p1
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Translate XML with PO files using W3C Internationalization Tag Set rules
|
|
WWW= https://itstool.org/ \
|
|
https://github.com/itstool/itstool
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.GPL3
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
|
|
|
|
USES= autoreconf python tar:bzip2
|
|
|
|
GNU_CONFIGURE= yes
|
|
NO_ARCH= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' ${WRKSRC}/itstool.in
|
|
|
|
.include <bsd.port.mk>
|