From owner-svn-ports-head@freebsd.org Tue Apr 17 04:17:14 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8210BFA326B; Tue, 17 Apr 2018 04:17:14 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 157FF68B86; Tue, 17 Apr 2018 04:17:14 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 106CA2738F; Tue, 17 Apr 2018 04:17:14 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3H4HDhJ063548; Tue, 17 Apr 2018 04:17:13 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3H4HDCs063543; Tue, 17 Apr 2018 04:17:13 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201804170417.w3H4HDCs063543@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 17 Apr 2018 04:17:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467558 - in head/devel: . py-python-gitlab py-python-gitlab/files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . py-python-gitlab py-python-gitlab/files X-SVN-Commit-Revision: 467558 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2018 04:17:14 -0000 Author: swills Date: Tue Apr 17 04:17:13 2018 New Revision: 467558 URL: https://svnweb.freebsd.org/changeset/ports/467558 Log: devel/py-python-gitlab: create port python-gitlab is a Python package providing access to the GitLab server API. It supports the v3 and v4 APIs of GitLab, and provides a CLI tool (gitlab). WWW: https://github.com/python-gitlab/python-gitlab PR: 226290 Submitted by: dereks@lifeofadishwasher.com Added: head/devel/py-python-gitlab/ head/devel/py-python-gitlab/Makefile (contents, props changed) head/devel/py-python-gitlab/distinfo (contents, props changed) head/devel/py-python-gitlab/files/ head/devel/py-python-gitlab/files/pkg-message.in (contents, props changed) head/devel/py-python-gitlab/pkg-descr (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Apr 17 04:08:58 2018 (r467557) +++ head/devel/Makefile Tue Apr 17 04:17:13 2018 (r467558) @@ -4844,6 +4844,7 @@ SUBDIR += py-python-engineio SUBDIR += py-python-gflags SUBDIR += py-python-gist + SUBDIR += py-python-gitlab SUBDIR += py-python-jenkins SUBDIR += py-python-magic SUBDIR += py-python-pcre Added: head/devel/py-python-gitlab/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-python-gitlab/Makefile Tue Apr 17 04:17:13 2018 (r467558) @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= python-gitlab +PORTVERSION= 1.3.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dereks@lifeofadishwasher.com +COMMENT= Interact with GitLab API + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.4.2:www/py-requests@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httmock>0:www/py-httmock@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR} + +OPTIONS_DEFINE= DOCS + +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${FLAVOR} +DOCS_PORTDOCS= * +DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ + PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env" + +NO_ARCH= yes +USES= python +USE_PYTHON= distutils autoplist concurrent + +SUB_FILES= pkg-message + +do-test: + +post-patch: + @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/build/sphinx/html && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Added: head/devel/py-python-gitlab/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-python-gitlab/distinfo Tue Apr 17 04:17:13 2018 (r467558) @@ -0,0 +1,3 @@ +TIMESTAMP = 1519965217 +SHA256 (python-gitlab-1.3.0.tar.gz) = 74ef4e98383043403d786d1719579b9a638666809b47d93a9fa8f0bd9f12ab84 +SIZE (python-gitlab-1.3.0.tar.gz) = 123955 Added: head/devel/py-python-gitlab/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-python-gitlab/files/pkg-message.in Tue Apr 17 04:17:13 2018 (r467558) @@ -0,0 +1,4 @@ +Add %%PREFIX%%/etc/python-gitlab.cfg or ~/.python-gitlab.cfg + +See https://github.com/python-gitlab/python-gitlab/blob/master/docs/cli.rst +for CLI configutation details Added: head/devel/py-python-gitlab/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-python-gitlab/pkg-descr Tue Apr 17 04:17:13 2018 (r467558) @@ -0,0 +1,5 @@ +python-gitlab is a Python package providing access to the GitLab server API. + +It supports the v3 and v4 APIs of GitLab, and provides a CLI tool (gitlab). + +WWW: https://github.com/python-gitlab/python-gitlab