Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2020 20:11:04 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523667 - in head/www/py-utidylib: . files
Message-ID:  <202001202011.00KKB4jo095315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Jan 20 20:11:03 2020
New Revision: 523667
URL: https://svnweb.freebsd.org/changeset/ports/523667

Log:
  Update to 0.6
  
  - Change MASTER_SITES to CHEESESHOP
  - Relax USES=python
  - Update pkg-descr
  - Update WWW
  
  Changes:	https://github.com/nijel/utidylib/blob/master/CHANGES.rst

Deleted:
  head/www/py-utidylib/files/
Modified:
  head/www/py-utidylib/Makefile
  head/www/py-utidylib/distinfo
  head/www/py-utidylib/pkg-descr

Modified: head/www/py-utidylib/Makefile
==============================================================================
--- head/www/py-utidylib/Makefile	Mon Jan 20 20:10:58 2020	(r523666)
+++ head/www/py-utidylib/Makefile	Mon Jan 20 20:11:03 2020	(r523667)
@@ -2,10 +2,11 @@
 # $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
@@ -13,22 +14,12 @@ 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 <bsd.port.mk>

Modified: head/www/py-utidylib/distinfo
==============================================================================
--- head/www/py-utidylib/distinfo	Mon Jan 20 20:10:58 2020	(r523666)
+++ head/www/py-utidylib/distinfo	Mon Jan 20 20:11:03 2020	(r523667)
@@ -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

Modified: head/www/py-utidylib/pkg-descr
==============================================================================
--- head/www/py-utidylib/pkg-descr	Mon Jan 20 20:10:58 2020	(r523666)
+++ head/www/py-utidylib/pkg-descr	Mon Jan 20 20:11:03 2020	(r523667)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001202011.00KKB4jo095315>