Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= jaraco.functools |
4 |
PORTNAME= jaraco.functools |
5 |
PORTVERSION= 1.8.1 |
5 |
PORTVERSION= 1.19 |
6 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 11-18
Link Here
|
11 |
COMMENT= Additional functools for Python |
11 |
COMMENT= Additional functools for Python |
12 |
|
12 |
|
13 |
LICENSE= MIT |
13 |
LICENSE= MIT |
|
|
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
|
15 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} |
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} |
|
|
17 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}more-itertools>=2.7:devel/py-more-itertools@${PY_FLAVOR} |
16 |
|
18 |
|
17 |
USES= python |
19 |
USES= python |
18 |
USE_PYTHON= autoplist distutils |
20 |
USE_PYTHON= autoplist distutils |
Lines 20-26
Link Here
|
20 |
.include <bsd.port.pre.mk> |
22 |
.include <bsd.port.pre.mk> |
21 |
|
23 |
|
22 |
.if ${PYTHON_VER} == "2.7" |
24 |
.if ${PYTHON_VER} == "2.7" |
23 |
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}functools32>0:devel/py-functools32@${PY_FLAVOR} |
25 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=1.0.3:devel/py-backports.functools_lru_cache@${PY_FLAVOR} |
24 |
.endif |
26 |
.endif |
25 |
|
27 |
|
26 |
.include <bsd.port.post.mk> |
28 |
.include <bsd.port.post.mk> |