Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 21:14:52 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5e87f51e200f - main - www/py-utidylib: Fix build after 1d58266f9c6a7ad2bad040feeddc77376673b51f
Message-ID:  <202107212114.16LLEqlN087485@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e87f51e200fca2d1dff480c5b9a7bcd1f331dc6

commit 5e87f51e200fca2d1dff480c5b9a7bcd1f331dc6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-21 21:13:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-21 21:13:23 +0000

    www/py-utidylib: Fix build after 1d58266f9c6a7ad2bad040feeddc77376673b51f
    
    - Bump PORTREVISION for package change
---
 www/py-utidylib/Makefile                |  3 ++-
 www/py-utidylib/files/patch-tidy-lib.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/www/py-utidylib/Makefile b/www/py-utidylib/Makefile
index 182249f473e3..ce4287e08c8b 100644
--- a/www/py-utidylib/Makefile
+++ b/www/py-utidylib/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	utidylib
 PORTVERSION=	0.7
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ COMMENT=	Python interface to tidy-lib
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libtidy.so.5:www/tidy-html5
+LIB_DEPENDS=	libtidy5.so:www/tidy-html5
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
diff --git a/www/py-utidylib/files/patch-tidy-lib.py b/www/py-utidylib/files/patch-tidy-lib.py
new file mode 100644
index 000000000000..2c728e31fa0b
--- /dev/null
+++ b/www/py-utidylib/files/patch-tidy-lib.py
@@ -0,0 +1,11 @@
+--- tidy/lib.py.orig	2021-05-02 11:39:44 UTC
++++ tidy/lib.py
+@@ -7,6 +7,8 @@ import weakref
+ from tidy.error import InvalidOptionError, OptionArgError
+ 
+ LIBNAMES = (
++    # FreeBSD
++    "libtidy5.so",
+     # Linux
+     "libtidy.so",
+     # MacOS



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