diff --git a/www/py-django-simple-history/Makefile b/www/py-django-simple-history/Makefile index 6f60166a0ba8..f21ba5549ace 100644 --- a/www/py-django-simple-history/Makefile +++ b/www/py-django-simple-history/Makefile @@ -3,22 +3,29 @@ PORTNAME= django-simple-history PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= www python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Store model history and view/revert changes from admin site LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:www/py-django18@${FLAVOR} # >= 1.8 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} -USE_GITHUB= yes - -GH_ACCOUNT= treyhunner USES= python -USE_PYTHON= autoplist distutils - +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +PORTDOCS= *.rst + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGES.rst ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/*.rst ${STAGEDIR}${DOCSDIR} .include diff --git a/www/py-django-simple-history/distinfo b/www/py-django-simple-history/distinfo index 876661d6b424..4c170931bbc1 100644 --- a/www/py-django-simple-history/distinfo +++ b/www/py-django-simple-history/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1525112467 -SHA256 (treyhunner-django-simple-history-2.0_GH0.tar.gz) = 6d51f76fc24829570814e58d2ee3439740183ede7031c86c45527ffe83fedf28 -SIZE (treyhunner-django-simple-history-2.0_GH0.tar.gz) = 180401 +TIMESTAMP = 1526024108 +SHA256 (django-simple-history-2.0.tar.gz) = 65de7b13b8df2d0eede3e6c0e2ebec69cb2a1f283109188b7a6c71b4e0d20980 +SIZE (django-simple-history-2.0.tar.gz) = 26943