Merge pull request #16194 from miska/snort3-master
[feed/packages.git] / lang / python / python3-maxminddb / Makefile
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
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=maxminddb
12 PKG_VERSION:=2.0.3
13 PKG_RELEASE:=1
14
15 PYPI_NAME:=$(PKG_NAME)
16 PKG_HASH:=47e86a084dd814fac88c99ea34ba3278a74bc9de5a25f4b815b608798747c7dc
17
18 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
19 PKG_LICENSE:=Apache-2.0
20 PKG_LICENSE_FILES:=LICENSE
21
22 include ../pypi.mk
23 include $(INCLUDE_DIR)/package.mk
24 include ../python3-package.mk
25
26 define Package/python3-maxminddb
27 SECTION:=lang
28 CATEGORY:=Languages
29 SUBMENU:=Python
30 TITLE:=Reader for the MaxMind DB format
31 URL:=https://dev.maxmind.com/
32 DEPENDS:=+python3-light +libmaxminddb
33 endef
34
35 define Package/python3-maxminddb/description
36 Module for reading MaxMind DB files
37 endef
38
39 $(eval $(call Py3Package,python3-maxminddb))
40 $(eval $(call BuildPackage,python3-maxminddb))
41 $(eval $(call BuildPackage,python3-maxminddb-src))