aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-gitpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-gitpython/Makefile')
-rw-r--r--devel/py-gitpython/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/py-gitpython/Makefile b/devel/py-gitpython/Makefile
new file mode 100644
index 000000000000..37a16c343f96
--- /dev/null
+++ b/devel/py-gitpython/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= GitPython
+PORTVERSION= 1.0.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= che@bein.link
+COMMENT= Python Git Library
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gitdb>=0.6.4:${PORTSDIR}/devel/py-gitdb
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:${PORTSDIR}/devel/py-nose \
+ ${PYTHON_PKGNAMEPREFIX}mock>=0:${PORTSDIR}/devel/py-mock \
+ ${PYTHON_PKGNAMEPREFIX}gitdb>=0.6.4:${PORTSDIR}/devel/py-gitdb
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+regression-test: build
+ cd ${WRKSRC} && ${PYTHON_CMD} -m nose
+
+.include <bsd.port.mk>