freebsd-ports/textproc/py-python-augeas/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

27 lines
572 B
Makefile

# $FreeBSD$
PORTNAME= python-augeas
PORTVERSION= 1.0.3
DISTVERSIONPREFIX= v
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= johan@stromnet.se
COMMENT= Pure python bindings for Augeas
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= libaugeas.so:textproc/augeas
USES= python
USE_GITHUB= yes
USE_PYTHON= distutils py3kplist
GH_ACCOUNT= hercules-team
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${WRKSRC}/test/test_augeas.py
.include <bsd.port.mk>