Lines 1-10
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= python-gitlab |
3 |
PORTNAME= python-gitlab |
4 |
PORTVERSION= 1.11.0 |
4 |
PORTVERSION= 1.12.1 |
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 |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
|
|
9 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
10 |
todo.json:tests |
11 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
8 |
|
12 |
|
9 |
MAINTAINER= dereks@lifeofadishwasher.com |
13 |
MAINTAINER= dereks@lifeofadishwasher.com |
10 |
COMMENT= Interact with GitLab API |
14 |
COMMENT= Interact with GitLab API |
Lines 31-36
USE_PYTHON= distutils autoplist concurrent
Link Here
|
31 |
|
35 |
|
32 |
SUB_FILES= pkg-message |
36 |
SUB_FILES= pkg-message |
33 |
|
37 |
|
|
|
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 |
|
34 |
post-patch: |
46 |
post-patch: |
35 |
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py |
47 |
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py |
36 |
|
48 |
|