summaryrefslogtreecommitdiffstats
path: root/sysutils/py-shutilwhich/Makefile
blob: 50efaa436b9865f2734b98dd0664c95162fe2a9a (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
# 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>
OpenPOWER on IntegriCloud