freebsd-ports/sysutils/py-shutilwhich/Makefile
Kubilay Kocak dc252dfc90 [NEW] sysutils/shutilwhich: shutil.which for those not using Python 3.3
A copy & paste backport of Python 3.3's shutil.which function.

Import like this: import shutilwhichh.

This will monkeypatch shutil if there is no shutil.which method, otherwise
leave it alone.

WWW: https://github.com/mbr/shutilwhich
2015-02-14 08:01:19 +00:00

18 lines
364 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= shutilwhich
PORTVERSION= 1.0.1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= shutil.which for those not using Python 3.3
LICENSE= PSFL
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>