Files
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

30 lines
720 B
Makefile

PORTNAME= jailconf
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.2
PORTREVISION= 1
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Parse and edit your FreeBSD jail.conf file
WWW= https://github.com/leforestier/jailconf
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.9:devel/py-ply@${PY_FLAVOR}
USES= python
USE_GITHUB= yes # tests nnot packaged in PyPI sdist
GH_ACCOUNT= leforestier
USE_PYTHON= autoplist distutils
NO_ARCH= yes
do-test:
${TOUCH} ${WRKSRC}/test/__init__.py
${MV} ${WRKSRC}/test/jailconf_test.py ${WRKSRC}/test/test_jailconf.py
cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
.include <bsd.port.mk>