Index: head/www/py-utidylib/files/patch-tidy-lib.py =================================================================== --- head/www/py-utidylib/files/patch-tidy-lib.py (revision 523666) +++ head/www/py-utidylib/files/patch-tidy-lib.py (nonexistent) @@ -1,10 +0,0 @@ ---- tidy/lib.py.orig 2004-02-24 08:12:24.000000000 +0100 -+++ tidy/lib.py 2009-07-08 15:16:11.000000000 +0200 -@@ -129,6 +129,7 @@ - return sink - - sinkfactory=SinkFactory() -+_tidy.Create.restype = ctypes.POINTER(ctypes.c_void_p) - - class _Document(object): - def __init__(self): Property changes on: head/www/py-utidylib/files/patch-tidy-lib.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/py-utidylib/Makefile =================================================================== --- head/www/py-utidylib/Makefile (revision 523666) +++ head/www/py-utidylib/Makefile (revision 523667) @@ -1,34 +1,25 @@ # Created by: Stefan Esser # $FreeBSD$ PORTNAME= utidylib -PORTVERSION= 0.2 -PORTREVISION= 3 +PORTVERSION= 0.6 CATEGORIES= www python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= uTidylib-${PORTVERSION} MAINTAINER= sunpoet@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 +LIB_DEPENDS= libtidy.so.5:www/tidy-html5 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} -# XXX Better depend on tidy or tidy-devel??? -LIB_DEPENDS= libtidy.so:www/tidy-lib +USES= python +USE_PYTHON= autoplist concurrent distutils -USES= python:2.7 -USE_PYTHON= distutils autoplist - NO_ARCH= yes - -post-patch: - @${REINPLACE_CMD} \ - -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \ - ${WRKSRC}/setup.py .include Index: head/www/py-utidylib/distinfo =================================================================== --- head/www/py-utidylib/distinfo (revision 523666) +++ head/www/py-utidylib/distinfo (revision 523667) @@ -1,3 +1,3 @@ -TIMESTAMP = 1496927849 -SHA256 (xdissent-utidylib-0.2-8eb8b3041d4dd44d7b64314da477b93b98bd692d_GH0.tar.gz) = 847d029589877a81dab3c19398c1d94510d679a3e2c7619c5897f59c682fa8f9 -SIZE (xdissent-utidylib-0.2-8eb8b3041d4dd44d7b64314da477b93b98bd692d_GH0.tar.gz) = 14522 +TIMESTAMP = 1579531352 +SHA256 (uTidylib-0.6.tar.gz) = 8735b21e66d7dcdfc979060852c13d6b683fc6113e2cab7af93168419af6dca4 +SIZE (uTidylib-0.6.tar.gz) = 15771 Index: head/www/py-utidylib/pkg-descr =================================================================== --- head/www/py-utidylib/pkg-descr (revision 523666) +++ head/www/py-utidylib/pkg-descr (revision 523667) @@ -1,4 +1,8 @@ +This is fork of uTidylib with permission with original author. Originally it +incorporated patches from Debian and other distributions, now it also brings +compatibility with recent html-tidy versions and works with Python 3. + This is uTidylib, the Python wrapper for the HTML cleaning library named -TidyLib: +TidyLib. It supports both original Tidy and new HTML5 enabled Tidy. -WWW: https://github.com/xdissent/utidylib +WWW: https://github.com/nijel/utidylib