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
This commit is contained in:
Li-Wen Hsu 2022-04-25 21:58:50 +08:00
parent 12c7092e4e
commit fd4a9db7d0
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF
2 changed files with 19 additions and 0 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= mechanize
PORTVERSION= 0.4.8
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -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