blob: df2ebe113781a171d603aaccc4ff74ee550a2b4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#
# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-pyroute2
PKG_VERSION:=0.9.6
PKG_RELEASE:=1
PYPI_NAME:=pyroute2
PKG_HASH:=6bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2
PKG_MAINTAINER:=Martin Matějek <martin.matejek@nic.cz>
PKG_LICENSE:=GPL-2.0-or-later Apache-2.0
PKG_LICENSE_FILES:=LICENSE.GPL-2.0-or-later LICENSE.Apache-2.0
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-pyroute2
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Python netlink library
URL:=https://github.com/svinota/pyroute2
DEPENDS:=+python3
endef
define Package/python3-pyroute2/description
Pyroute2 is a pure Python netlink library.
The library was started as an RTNL protocol implementation,
but now it supports many netlink protocols.
endef
$(eval $(call Py3Package,python3-pyroute2))
$(eval $(call BuildPackage,python3-pyroute2))
$(eval $(call BuildPackage,python3-pyroute2-src))
|