Index: head/devel/py-gitosis/Makefile =================================================================== --- head/devel/py-gitosis/Makefile +++ head/devel/py-gitosis/Makefile @@ -2,26 +2,32 @@ # $FreeBSD$ PORTNAME= gitosis -PORTVERSION= 0.2.20090917 -PORTREVISION= 1 +PORTVERSION= 0.3 +DISTVERSIONPREFIX= release/ CATEGORIES= devel python -MASTER_SITES= http://dl1.douglasthrift.net/${PORTNAME}/ \ - http://dl2.douglasthrift.net/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Software for hosting git repositories LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= git:devel/git +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} -USES= python tar:bzip2 +USES= python:2.7 USE_PYTHON= distutils autoplist +USE_GITHUB= yes +GH_ACCOUNT= tv42 + +NO_ARCH= yes + USERS= git GROUPS= ${USERS} -WRKSRC= ${WRKDIR}/${PORTNAME} -PYDISTUTILS_PKGVERSION= ${PORTVERSION:R} +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -s gitosis/test/ .include Index: head/devel/py-gitosis/distinfo =================================================================== --- head/devel/py-gitosis/distinfo +++ head/devel/py-gitosis/distinfo @@ -1,2 +1,3 @@ -SHA256 (gitosis-0.2.20090917.tar.bz2) = f5cc21ce98400afa345d614e381717d957755f4c0cb68e2dd96fd1f9a1996299 -SIZE (gitosis-0.2.20090917.tar.bz2) = 158966 +TIMESTAMP = 1550465853 +SHA256 (tv42-gitosis-release-0.3_GH0.tar.gz) = 9eb7dd1051663b72411b697c737aced0ea87d2971d6ccc381f0550794f56acd4 +SIZE (tv42-gitosis-release-0.3_GH0.tar.gz) = 31175 Index: head/devel/py-gitosis/files/patch-setup.py =================================================================== --- head/devel/py-gitosis/files/patch-setup.py +++ head/devel/py-gitosis/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2019-02-18 05:26:38 UTC ++++ setup.py +@@ -18,7 +18,7 @@ def subdir_contents(path): + + setup( + name = "gitosis", +- version = "0.2", ++ version = "0.3", + packages = find_packages(), + + author = "Tommi Virtanen", Index: head/devel/py-gitosis/pkg-message =================================================================== --- head/devel/py-gitosis/pkg-message +++ head/devel/py-gitosis/pkg-message @@ -1,5 +1,5 @@ ================================================================================ -For more information, see http://eagain.net/gitweb/?p=gitosis.git. +For more information, see https://github.com/tv42/gitosis/blob/master/README.rst ================================================================================