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
1000 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:=2.0.3
  11. PKG_RELEASE:=1
  12. PYPI_NAME:=$(PKG_NAME)
  13. PKG_HASH:=47e86a084dd814fac88c99ea34ba3278a74bc9de5a25f4b815b608798747c7dc
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
  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))