Lines 1-14
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= python-gitlab |
3 |
PORTNAME= python-gitlab |
4 |
PORTVERSION= 1.12.1 |
4 |
PORTVERSION= 1.13.0 |
5 |
CATEGORIES= devel python |
5 |
CATEGORIES= devel python |
6 |
MASTER_SITES= CHEESESHOP \ |
6 |
MASTER_SITES= CHEESESHOP |
7 |
https://raw.githubusercontent.com/${PORTNAME}/${PORTNAME}/v${PORTVERSION}/gitlab/tests/data/:tests |
|
|
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
|
|
10 |
todo.json:tests |
11 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
12 |
|
8 |
|
13 |
MAINTAINER= dereks@lifeofadishwasher.com |
9 |
MAINTAINER= dereks@lifeofadishwasher.com |
14 |
COMMENT= Interact with GitLab API |
10 |
COMMENT= Interact with GitLab API |
Lines 35-48
USE_PYTHON= distutils autoplist concurrent
Link Here
|
35 |
|
31 |
|
36 |
SUB_FILES= pkg-message |
32 |
SUB_FILES= pkg-message |
37 |
|
33 |
|
38 |
# todo.json is missing in the pypi dist file |
|
|
39 |
# https://github.com/python-gitlab/python-gitlab/issues/907 |
40 |
# Once included EXTRACT_ONLY, DISTFILES, Extra MASTER_SITES, and the below post-extract |
41 |
# can be removed |
42 |
post-extract: |
43 |
@${MKDIR} ${WRKSRC}/gitlab/tests/data |
44 |
@${CP} ${DISTDIR}/${DIST_SUBDIR}/todo.json ${WRKSRC}/gitlab/tests/data/ |
45 |
|
46 |
post-patch: |
34 |
post-patch: |
47 |
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py |
35 |
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py |
48 |
|
36 |
|