Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2017 11:03:31 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442373 - in head/devel: py-pygit2 py3-pygit2
Message-ID:  <201706021103.v52B3Veq083457@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Fri Jun  2 11:03:31 2017
New Revision: 442373
URL: https://svnweb.freebsd.org/changeset/ports/442373

Log:
  - Create a python3 version of devel/py-pygit2.

Added:
  head/devel/py3-pygit2/
  head/devel/py3-pygit2/Makefile   (contents, props changed)
Modified:
  head/devel/py-pygit2/Makefile

Modified: head/devel/py-pygit2/Makefile
==============================================================================
--- head/devel/py-pygit2/Makefile	Fri Jun  2 11:02:50 2017	(r442372)
+++ head/devel/py-pygit2/Makefile	Fri Jun  2 11:03:31 2017	(r442373)
@@ -13,12 +13,12 @@ COMMENT=	Python bindings for libgit2
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi
+BUILD_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi
 LIB_DEPENDS=	libgit2.so:devel/libgit2
-RUN_DEPENDS:=	${BUILD_DEPENDS} \
+RUN_DEPENDS?=	${BUILD_DEPENDS} \
 		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
 
-USES=		python
+USES?=		python
 USE_PYTHON=	autoplist distutils
 MAKE_ENV=	LIBGIT2=${LOCALBASE}
 PYDISTUTILS_TEST_TARGET?=	test

Added: head/devel/py3-pygit2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-pygit2/Makefile	Fri Jun  2 11:03:31 2017	(r442373)
@@ -0,0 +1,10 @@
+
+MASTERDIR=	${.CURDIR}/../py-pygit2
+
+USES=	python:3.3+
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py3-cffi
+RUN_DEPENDS=   ${BUILD_DEPENDS} \
+                ${PYTHON_PKGNAMEPREFIX}six>0:devel/py3-six
+
+.include "${MASTERDIR}/Makefile"



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