ports/misc/py-mffpy/Makefile
Hiroki Tagato a6233e5a2f */*: switch dependency from devel/py-lxml5 to devel/py-lxml
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>
2025-09-15 22:55:40 +09:00

30 lines
892 B
Makefile

PORTNAME= mffpy
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.0
PORTREVISION= 3
CATEGORIES= misc
#MASTER_SITES= PYPI # no test files
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Reader and writer for Philips' MFF file format
WWW= https://github.com/BEL-Public/mffpy/
LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}deprecated>=1.2.12:devel/py-deprecated@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=4.8.0:devel/py-lxml@${PY_FLAVOR} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pytz>=2019.2:devel/py-pytz@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils concurrent autoplist pytest # 14 tests fail with AttributeError: module 'numpy' has no attribute 'float', see https://github.com/BEL-Public/mffpy/issues/126
USE_GITHUB= yes
GH_ACCOUNT= BEL-Public
NO_ARCH= yes
.include <bsd.port.mk>