www/py-utidylib: Fix build after 1d58266f9c
- Bump PORTREVISION for package change
This commit is contained in:
parent
9cc330c3d7
commit
5e87f51e20
@ -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
|
||||
|
11
www/py-utidylib/files/patch-tidy-lib.py
Normal file
11
www/py-utidylib/files/patch-tidy-lib.py
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user