fwknop: init script improvements
[feed/packages.git] / lang / python / python3-pyroute2 / Makefile
1 #
2 # Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://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
10 PKG_NAME:=python3-pyroute2
11 PKG_VERSION:=0.5.7
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=pyroute2
15 PKG_HASH:=963fce07da2841456d39e3b932b071f6de28d23dadfae014022d67a752916f98
16
17 PKG_MAINTAINER:=Martin Matějek <martin.matejek@nic.cz>
18 PKG_LICENSE:=GPL-2.0-or-later Apache-2.0
19 PKG_LICENSE_FILES:=LICENSE.GPL.v2 LICENSE.Apache.v2
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-pyroute2
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=Python netlink library
30 URL:=https://github.com/svinota/pyroute2
31 DEPENDS:= \
32 +python3-light \
33 +python3-distutils \
34 +python3-logging \
35 +python3-multiprocessing \
36 +python3-sqlite3 \
37 +python3-ctypes
38 VARIANT:=python3
39 endef
40
41 define Package/python3-pyroute2/description
42 Pyroute2 is a pure Python netlink library.
43 The library was started as an RTNL protocol implementation,
44 but now it supports many netlink protocols.
45 endef
46
47 PYTHON3_PKG_SETUP_ARGS:=
48
49 $(eval $(call Py3Package,python3-pyroute2))
50 $(eval $(call BuildPackage,python3-pyroute2))
51 $(eval $(call BuildPackage,python3-pyroute2-src))