You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2015-2019 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-idna
  9. PKG_VERSION:=3.1
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=idna
  12. PKG_HASH:=c5b02147e01ea9920e6b0a3f1f7bb833612d507592c837a6c49552768f4054e1
  13. PKG_LICENSE:=BSD-3-Clause
  14. PKG_LICENSE_FILES:=LICENSE.rst
  15. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-idna
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=IDNA library
  24. URL:=https://github.com/kjd/idna
  25. DEPENDS:= \
  26. +python3-light \
  27. +python3-codecs
  28. endef
  29. define Package/python3-idna/description
  30. A library to support the Internationalised Domain Names in Applications
  31. (IDNA) protocol as specified in RFC 5891. This version of the protocol
  32. is often referred to as "IDNA2008" and can produce different results
  33. from the earlier standard from 2003.
  34. endef
  35. $(eval $(call Py3Package,python3-idna))
  36. $(eval $(call BuildPackage,python3-idna))
  37. $(eval $(call BuildPackage,python3-idna-src))