From c5c02c060bd9480bb47cd5f9631f72d099c4cbe8 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Thu, 20 Jul 2023 01:42:57 +0800 Subject: python3-pyroute2: Update to 0.7.9, rename source package This renames the source package to python-pyroute2 to match other Python packages. This also updates/simplifies the package dependencies. Signed-off-by: Jeffery To --- lang/python/python-pyroute2/Makefile | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 lang/python/python-pyroute2/Makefile (limited to 'lang/python/python-pyroute2') diff --git a/lang/python/python-pyroute2/Makefile b/lang/python/python-pyroute2/Makefile new file mode 100644 index 000000000..45996ca1f --- /dev/null +++ b/lang/python/python-pyroute2/Makefile @@ -0,0 +1,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.7.9 +PKG_RELEASE:=1 + +PYPI_NAME:=pyroute2 +PKG_HASH:=b69d82f140b0774317d7ba40f6c5fa1d755098ba3f3eb619982d16e750dc631a + +PKG_MAINTAINER:=Martin Matějek +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)) -- cgit