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.

41 lines
996 B

  1. #
  2. # Copyright (C) 2019-2020 CZ.NIC z.s.p.o. (http://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. #
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=maxminddb
  10. PKG_VERSION:=1.5.4
  11. PKG_RELEASE:=1
  12. PYPI_NAME:=$(PKG_NAME)
  13. PKG_HASH:=f4d28823d9ca23323d113dc7af8db2087aa4f657fafc64ff8f7a8afda871425b
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_LICENSE_FILES:=LICENSE
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-maxminddb
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Reader for the MaxMind DB format
  25. URL:=https://dev.maxmind.com/
  26. DEPENDS:=+python3-light +libmaxminddb
  27. endef
  28. define Package/python3-maxminddb/description
  29. Module for reading MaxMind DB files
  30. endef
  31. $(eval $(call Py3Package,python3-maxminddb))
  32. $(eval $(call BuildPackage,python3-maxminddb))
  33. $(eval $(call BuildPackage,python3-maxminddb-src))