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:=2.0.2
  11. PKG_RELEASE:=1
  12. PYPI_NAME:=$(PKG_NAME)
  13. PKG_HASH:=b95d8ed21799e6604683669c7ed3c6a184fcd92434d5762dccdb139b4f29e597
  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))