summaryrefslogtreecommitdiff
path: root/sysutils/py-jailconf/Makefile
blob: 53b61600913eb00d9b6cc116cded82dc34b235a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

PORTNAME=	jailconf
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2.1
CATEGORIES=	sysutils python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Parse and edit your FreeBSD jail.conf file

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ply>=3.9:devel/py-ply@${PY_FLAVOR}

USES=		python:3.0+
USE_GITHUB=	yes # tests nnot packaged in PyPI sdist
USE_PYTHON=	autoplist distutils

#LICENSE=	"BSD". Unclear. See Upstream #1
#LICENSE_FILE=	Does not exist

GH_ACCOUNT=	leforestier

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>