mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Create a python3 version of devel/py-pygit2.
This commit is contained in:
parent
54818b885a
commit
bdb2fae2a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442373
2 changed files with 13 additions and 3 deletions
|
@ -13,12 +13,12 @@ COMMENT= Python bindings for libgit2
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
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
|
LIB_DEPENDS= libgit2.so:devel/libgit2
|
||||||
RUN_DEPENDS:= ${BUILD_DEPENDS} \
|
RUN_DEPENDS?= ${BUILD_DEPENDS} \
|
||||||
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
|
||||||
|
|
||||||
USES= python
|
USES?= python
|
||||||
USE_PYTHON= autoplist distutils
|
USE_PYTHON= autoplist distutils
|
||||||
MAKE_ENV= LIBGIT2=${LOCALBASE}
|
MAKE_ENV= LIBGIT2=${LOCALBASE}
|
||||||
PYDISTUTILS_TEST_TARGET?= test
|
PYDISTUTILS_TEST_TARGET?= test
|
||||||
|
|
10
devel/py3-pygit2/Makefile
Normal file
10
devel/py3-pygit2/Makefile
Normal file
|
@ -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"
|
Loading…
Add table
Reference in a new issue