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.

42 lines
1010 B

  1. #
  2. # Copyright (C) 2019 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.1
  11. PKG_RELEASE:=1
  12. PYPI_NAME:=$(PKG_NAME)
  13. PKG_HASH:=449a1713d37320d777d0db286286ab22890f0a176492ecf3ad8d9319108f2f79
  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. VARIANT:=python3
  28. endef
  29. define Package/python3-maxminddb/description
  30. Module for reading MaxMind DB files
  31. endef
  32. $(eval $(call Py3Package,python3-maxminddb))
  33. $(eval $(call BuildPackage,python3-maxminddb))
  34. $(eval $(call BuildPackage,python3-maxminddb-src))