aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-10-15 14:16:36 +0000
committerSteve Wills <swills@FreeBSD.org>2019-10-15 14:16:36 +0000
commitddc15777b679ba58e093b8f7a6eebbbd8325ddeb (patch)
tree336473263a7c8f6667cbba4ff75ad498be2a7ca3 /devel
parent7c1dc01a2f8b462471c5abb96bb350f36e283264 (diff)
downloadports-ddc15777b679ba58e093b8f7a6eebbbd8325ddeb.tar.gz
ports-ddc15777b679ba58e093b8f7a6eebbbd8325ddeb.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/py-python-gitlab/Makefile16
-rw-r--r--devel/py-python-gitlab/distinfo8
2 files changed, 19 insertions, 5 deletions
diff --git a/devel/py-python-gitlab/Makefile b/devel/py-python-gitlab/Makefile
index 0dcf70f2dfb5..e7f6d99d4d93 100644
--- a/devel/py-python-gitlab/Makefile
+++ b/devel/py-python-gitlab/Makefile
@@ -1,10 +1,14 @@
# $FreeBSD$
PORTNAME= python-gitlab
-PORTVERSION= 1.11.0
+PORTVERSION= 1.12.1
CATEGORIES= devel python
-MASTER_SITES= CHEESESHOP
+MASTER_SITES= CHEESESHOP \
+ https://raw.githubusercontent.com/${PORTNAME}/${PORTNAME}/v${PORTVERSION}/gitlab/tests/data/:tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ todo.json:tests
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= dereks@lifeofadishwasher.com
COMMENT= Interact with GitLab API
@@ -31,6 +35,14 @@ USE_PYTHON= distutils autoplist concurrent
SUB_FILES= pkg-message
+# todo.json is missing in the pypi dist file
+# https://github.com/python-gitlab/python-gitlab/issues/907
+# Once included EXTRACT_ONLY, DISTFILES, Extra MASTER_SITES, and the below post-extract
+# can be removed
+post-extract:
+ @${MKDIR} ${WRKSRC}/gitlab/tests/data
+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/todo.json ${WRKSRC}/gitlab/tests/data/
+
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py
diff --git a/devel/py-python-gitlab/distinfo b/devel/py-python-gitlab/distinfo
index 15475cd52da5..0c3de30f0293 100644
--- a/devel/py-python-gitlab/distinfo
+++ b/devel/py-python-gitlab/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1567351280
-SHA256 (python-gitlab-1.11.0.tar.gz) = fe356d084927477b7bf695191287474919db8cb6eb0d7832a4afd9cc8f7096c5
-SIZE (python-gitlab-1.11.0.tar.gz) = 118629
+TIMESTAMP = 1570916431
+SHA256 (python-gitlab-1.12.1.tar.gz) = 984e110c1f76fd939652c30ce3101267a7064e34417cbfc4687e6106d4db54ec
+SIZE (python-gitlab-1.12.1.tar.gz) = 120227
+SHA256 (todo.json) = ed65051d90c4966fe52b81f0b5a9da1b1e706e13e9df7cfbb2999421f169265e
+SIZE (todo.json) = 2615