include $(TOPDIR)/rules.mk
PKG_NAME:=python-hyperlink
-PKG_VERSION:=19.0.0
-PKG_RELEASE:=2
+PKG_VERSION:=20.0.1
+PKG_RELEASE:=1
PYPI_NAME:=hyperlink
-PKG_HASH:=4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654
+PKG_HASH:=47fcc7cd339c6cb2444463ec3277bdcfe142c8b1daf2160bdd52248deec815af
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
URL:=https://github.com/python-hyper/hyperlink
DEPENDS:= \
+python3-light \
+ +python3-codecs \
+python3-idna
endef
IRIs easy.
endef
+define Py3Package/python3-hyperlink/filespec
++|$(PYTHON3_PKG_DIR)
+-|$(PYTHON3_PKG_DIR)/hyperlink/hypothesis.py
+endef
+
$(eval $(call Py3Package,python3-hyperlink))
$(eval $(call BuildPackage,python3-hyperlink))
$(eval $(call BuildPackage,python3-hyperlink-src))
--- a/setup.py
+++ b/setup.py
-@@ -24,8 +24,9 @@ setup(name='hyperlink',
- author=__author__,
- author_email=__contact__,
- url=__url__,
-- packages=['hyperlink', 'hyperlink.test'],
-+ packages=['hyperlink'],
- include_package_data=True,
-+ exclude_package_data={'':['test/*']},
- zip_safe=False,
- license=__license__,
- platforms='any',
+@@ -25,7 +25,7 @@ setup(
+ author=__author__,
+ author_email=__contact__,
+ url=__url__,
+- packages=find_packages(where="src"),
++ packages=find_packages(where="src", exclude=["*.test", "*.test.*"]),
+ package_dir={"": "src"},
+ package_data=dict(hyperlink=["py.typed"]),
+ zip_safe=False,