dc252dfc90
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
18 lines
364 B
Makefile
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>
|