git: 5e87f51e200f - main - www/py-utidylib: Fix build after 1d58266f9c6a7ad2bad040feeddc77376673b51f
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jul 21 21:14:54 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5e87f51e200fca2d1dff480c5b9a7bcd1f331dc6
commit 5e87f51e200fca2d1dff480c5b9a7bcd1f331dc6
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-21 21:13:23 +0000
Commit: Po-Chuan Hsieh <sunpoet at 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
More information about the dev-commits-ports-all
mailing list