Makefile 784 B

123456789101112131415161718192021222324252627282930313233
  1. # Created by: Douglas Thrift <douglas@douglasthrift.net>
  2. # $FreeBSD: head/devel/py-gitosis/Makefile 494156 2019-02-28 15:36:27Z kai $
  3. PORTNAME= gitosis
  4. PORTVERSION= 0.3
  5. DISTVERSIONPREFIX= release/
  6. CATEGORIES= devel python
  7. PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
  8. MAINTAINER= douglas@douglasthrift.net
  9. COMMENT= Software for hosting git repositories
  10. LICENSE= GPLv2
  11. LICENSE_FILE= ${WRKSRC}/COPYING
  12. RUN_DEPENDS= git:devel/git
  13. TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
  14. ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
  15. USES= python:2.7
  16. USE_PYTHON= distutils autoplist
  17. USE_GITHUB= yes
  18. GH_ACCOUNT= tv42
  19. NO_ARCH= yes
  20. USERS= git
  21. GROUPS= ${USERS}
  22. do-test:
  23. cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -s gitosis/test/
  24. .include <bsd.port.mk>