freebsd-ports/sysutils/py-shutilwhich/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

27 lines
510 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= shutilwhich
PORTVERSION= 1.1.0
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= shutil.which for those not using Python 3.3
LICENSE= PSFL
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
USES= python:-3.3
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
GH_ACCOUNT= mbr
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs
.include <bsd.port.mk>