Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2019 14:16:36 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514531 - head/devel/py-python-gitlab
Message-ID:  <201910151416.x9FEGaM7000546@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Oct 15 14:16:36 2019
New Revision: 514531
URL: https://svnweb.freebsd.org/changeset/ports/514531

Log:
  devel/py-python-gitlab: Update to 1.12.1
  
  PR:		241222
  Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)

Modified:
  head/devel/py-python-gitlab/Makefile   (contents, props changed)
  head/devel/py-python-gitlab/distinfo   (contents, props changed)

Modified: head/devel/py-python-gitlab/Makefile
==============================================================================
--- head/devel/py-python-gitlab/Makefile	Tue Oct 15 14:14:57 2019	(r514530)
+++ head/devel/py-python-gitlab/Makefile	Tue Oct 15 14:16:36 2019	(r514531)
@@ -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
@@ -30,6 +34,14 @@ NO_ARCH=	yes
 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

Modified: head/devel/py-python-gitlab/distinfo
==============================================================================
--- head/devel/py-python-gitlab/distinfo	Tue Oct 15 14:14:57 2019	(r514530)
+++ head/devel/py-python-gitlab/distinfo	Tue Oct 15 14:16:36 2019	(r514531)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910151416.x9FEGaM7000546>