Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= backports.os |
4 |
DISTVERSION= 0.1.1 |
5 |
CATEGORIES= devel python |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
MAINTAINER= freebsd_ports@k-worx.org |
10 |
COMMENT= Backport of new features in Python's os module |
11 |
|
12 |
LICENSE= PSFL |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} |
16 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} |
18 |
|
19 |
USES= python:2.7 |
20 |
USE_PYTHON= distutils autoplist |
21 |
|
22 |
NO_ARCH= yes |
23 |
|
24 |
POST_PLIST= trim-backports-namespace |
25 |
|
26 |
post-install: |
27 |
@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py* |
28 |
|
29 |
trim-backports-namespace: |
30 |
@${REINPLACE_CMD} '/backports\/__init__.py*/d' ${TMPPLIST} |
31 |
|
32 |
.include <bsd.port.mk> |