b8c47b0be5
(in 2.x branch) and 3.1 (in 3.x branch). Since we don't have 3.0 in ports, nor anything less 2.6, set USE_PYTHON to exactly 2.6 while here: - trim Makefile header - move pkg-plist contents to Makefile:PLIST_FILES - correct WWW in pkg-descr PR: 172409 Submitted by: rm (myself) Approved by: Alexandros Kosiaris <akosiaris at gmail dot com> (maintainer)
21 lines
567 B
Makefile
21 lines
567 B
Makefile
# Created by: Alexandros Kosiaris <akosiaris+ports@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= importlib
|
|
PORTVERSION= 1.0.2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= akosiaris+ports@gmail.com
|
|
COMMENT= Backport of importlib.import_module() from Python 2.7
|
|
|
|
USE_PYTHON= 2.6
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/importlib/__init__.py \
|
|
%%PYTHON_SITELIBDIR%%/importlib/__init__.pyc \
|
|
%%PYTHON_SITELIBDIR%%/importlib/__init__.pyo
|
|
PLIST_DIRS= %%PYTHON_SITELIBDIR%%/importlib
|
|
|
|
.include <bsd.port.mk>
|