git: fd4a9db7d018 - main - www/py-mechanize: Fix packaging
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Apr 2022 13:58:59 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fd4a9db7d0186bde65efa9ed1597b2d6f0879e29
commit fd4a9db7d0186bde65efa9ed1597b2d6f0879e29
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2022-04-25 13:58:50 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-04-25 13:58:50 +0000
www/py-mechanize: Fix packaging
Adding a missed patch to fix the packaging.
PR: 263550
Reported by: Jonathan Chen <jonc@chen.org.nz>
Helped by: sunpoet
---
www/py-mechanize/Makefile | 1 +
www/py-mechanize/files/patch-setup.cfg | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/www/py-mechanize/Makefile b/www/py-mechanize/Makefile
index 48d4260680cd..49aa119629b5 100644
--- a/www/py-mechanize/Makefile
+++ b/www/py-mechanize/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mechanize
PORTVERSION= 0.4.8
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-mechanize/files/patch-setup.cfg b/www/py-mechanize/files/patch-setup.cfg
new file mode 100644
index 000000000000..787fed078bf8
--- /dev/null
+++ b/www/py-mechanize/files/patch-setup.cfg
@@ -0,0 +1,18 @@
+--- setup.cfg.orig 2022-04-25 13:30:38 UTC
++++ setup.cfg
+@@ -8,7 +8,6 @@ license = BSD
+ description = Stateful, programmatic web browsing
+ long_description = file: README.rst
+ url = https://github.com/python-mechanize/mechanize
+-packages = mechanize
+ classifiers =
+ Development Status :: 5 - Production/Stable
+ Intended Audience :: Developers
+@@ -37,6 +36,7 @@ classifiers =
+ Topic :: Text Processing :: Markup :: XML
+
+ [options]
++packages = mechanize
+ zip_safe = True
+ install_requires = html5lib>=0.999999999
+