aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2017-06-08 11:14:55 +0800
committerrene <rene@FreeBSD.org>2017-06-08 11:14:55 +0800
commit6a0ba9d91b305c5bc96143ef9ad406a0fec08166 (patch)
treefa5eb1868c7fa358ab477b83dc1b5597986ee708 /www
parent22c8e4f19b2e408ef2e69c441d9cf84e7062273d (diff)
downloadfreebsd-ports-gnome-6a0ba9d91b305c5bc96143ef9ad406a0fec08166.tar.gz
freebsd-ports-gnome-6a0ba9d91b305c5bc96143ef9ad406a0fec08166.tar.zst
freebsd-ports-gnome-6a0ba9d91b305c5bc96143ef9ad406a0fec08166.zip
www/py-utidy: fix fetch, add LICENSE, take maintainership
Contents checked against a copy on distcache.freebsd.org
Diffstat (limited to 'www')
-rw-r--r--www/py-utidy/Makefile17
-rw-r--r--www/py-utidy/distinfo5
2 files changed, 14 insertions, 8 deletions
diff --git a/www/py-utidy/Makefile b/www/py-utidy/Makefile
index 7a3a1388b5fa..091522827861 100644
--- a/www/py-utidy/Makefile
+++ b/www/py-utidy/Makefile
@@ -3,23 +3,28 @@
PORTNAME= utidy
PORTVERSION= 0.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www python
-MASTER_SITES= SF/utidylib
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= uTidylib-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= rene@FreeBSD.org
COMMENT= Python interface to tidy-lib
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= xdissent
+GH_PROJECT= utidylib
+GH_TAGNAME= 8eb8b3041d4dd44d7b64314da477b93b98bd692d
+
# XXX Better depend on tidy or tidy-devel???
LIB_DEPENDS= libtidy.so:www/tidy-lib
-USES= python:2 zip
+USES= python:2
USE_PYTHON= distutils autoplist
-BROKEN= checksum mismatch
-
post-patch:
@${REINPLACE_CMD} \
-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
diff --git a/www/py-utidy/distinfo b/www/py-utidy/distinfo
index 3bcba60c99cd..5542b3309da0 100644
--- a/www/py-utidy/distinfo
+++ b/www/py-utidy/distinfo
@@ -1,2 +1,3 @@
-SHA256 (uTidylib-0.2.zip) = 0385b29b0e636fa1cc6eb86ecb5428cf399f9474c8f343af038afce59720a333
-SIZE (uTidylib-0.2.zip) = 17575
+TIMESTAMP = 1496891054
+SHA256 (uTidylib-0.2_GH0.tar.gz) = 847d029589877a81dab3c19398c1d94510d679a3e2c7619c5897f59c682fa8f9
+SIZE (uTidylib-0.2_GH0.tar.gz) = 14522