diff options
Diffstat (limited to 'dev-python/pyroute2')
-rw-r--r-- | dev-python/pyroute2/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pyroute2/files/pyroute2-0.7.1-specify-build-backend-in-pyproject.toml.patch | 21 | ||||
-rw-r--r-- | dev-python/pyroute2/pyroute2-0.7.1.ebuild | 37 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/pyroute2/Manifest b/dev-python/pyroute2/Manifest index 8edc5a6b24a5..4e0a8fbee1ea 100644 --- a/dev-python/pyroute2/Manifest +++ b/dev-python/pyroute2/Manifest @@ -1,4 +1,7 @@ AUX pyroute2-0.5.19-exclude-tests.patch 323 BLAKE2B 21d429d3762fbd07566afaeefffa4682b35f5b0d5591d0525421973a225b10173a692c21bd46cf7d443d2ddda03289d9616ec0d299feb26aa712d57886daf678 SHA512 beaa77a3cc4e3987c50a797d6decdcf626a90dbbd34219738c3f6af8bd875282272f6fd6d6f59178e2a481e8e4274e3e5d6210a2b0b3c76a90cf94261a39f911 +AUX pyroute2-0.7.1-specify-build-backend-in-pyproject.toml.patch 572 BLAKE2B 3550813166e962bd6b80c73688691872bcad2d7314ac15ad1fca9ea26df9bfdb7fa44cf2289206fbb54a69b6560baa1ad0291eaabd15fd81dc47344f74cae97c SHA512 1c9f73b8215d2f02dd939ed58c8c8796afd645421bcfa64aa07fc194ea97634178b8b4166fcb976ada7c0645bdcd70f8559ce5ecb6ba2941d122feef1c12b656 DIST pyroute2-0.5.19.gh.tar.gz 457432 BLAKE2B ffb2717c60badb1453eeb15f5b83f1494e851ee011fcdebd3a5d249ecc4bea7064069a1af2fe2d34aefe9812c8b6808b8a14cbe518383c165b0b008d10505c5c SHA512 19b0acbff17415acad20a214e0622ca9a3fc51b92e603ab15663ea7e8da290fc0b2033aeca1c20200307e34173802f89998151f77d5bcfc5f87eb8b42ba591ce +DIST pyroute2-0.7.1.gh.tar.gz 460164 BLAKE2B 0555da23cc93cdd9b82c9516c5cf2046ca8bccbe122672045a101a3b1feb1582ef3ed987cac9d5a92d86fa1101346aed285aa2524b8474efe089ce66f839df36 SHA512 575e360fb2bcd659a7dc13080eb2deb39015427c6d248dc966f0d48a2cbfe25ec85545001a26a077396be8544ec90e4201fd459f464815d1e4b472e92c640d6e EBUILD pyroute2-0.5.19.ebuild 564 BLAKE2B e2f573bfbb961f2d81f3b23745289137dd9ae65bcf009a619ce4ca86944ab14e7f23d6a491ac036fce95155da12e2ad1e4572f49ebf8da7523eb978992c81825 SHA512 a1d51d6d8e22226f775f52b96b0c34cb0b6da8329aed70b4040d3e38c8712b58430d8bc45df4ca8a132c4c61f810634b5d15770e6fd9cdf7c4207480d367b9f0 +EBUILD pyroute2-0.7.1.ebuild 783 BLAKE2B b827128d741ab7feabb680bb7a2d1bc2110d6f185b0ca8506b7516e64458a6c02da5b52c5f90328ada8c69ce47446938bdb32f6d6f54480ec6003fd2e1d2d89e SHA512 3e726898cd713465689ac214232dfa0b236bc33d21eb040ad1bc6e5e6218288cc367b0a25aad24a434978a8f60758d7d0f69d46150282211021c03e322e0873b MISC metadata.xml 547 BLAKE2B 1d256c8d9bb8cc039853ff12c15d7c2747822ff95e3ae7f3e7c1600498c7b886a341a03327992e3a7933592eba0094eec6fba519b0d9f2b2f0ece57eb515ea4a SHA512 e845b3e319e9d60b1dcbf9ab66681b886b0c517a5a72288aaf9ccb97d5018dc3b01b8d921b8a9fcd3538cec96e9a7e1c452a704c8c422ef6e6fa6069a7ae56ef diff --git a/dev-python/pyroute2/files/pyroute2-0.7.1-specify-build-backend-in-pyproject.toml.patch b/dev-python/pyroute2/files/pyroute2-0.7.1-specify-build-backend-in-pyproject.toml.patch new file mode 100644 index 000000000000..9c5756dbf7a0 --- /dev/null +++ b/dev-python/pyroute2/files/pyroute2-0.7.1-specify-build-backend-in-pyproject.toml.patch @@ -0,0 +1,21 @@ +From c4e0bdcf0fc694c9f0f3b01908a5fd1bc6909e39 Mon Sep 17 00:00:00 2001 +From: Henning Schild <henning@hennsch.de> +Date: Mon, 18 Jul 2022 08:45:21 +0200 +Subject: [PATCH] setup: specify "build-backend" in pyproject.toml + +Fixes: 9714df3404b5 ("setup: remove setup.py") +--- + pyproject.toml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pyproject.toml b/pyproject.toml +index d1e6ae6e5647..9787c3bdf008 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,2 +1,3 @@ + [build-system] + requires = ["setuptools", "wheel"] ++build-backend = "setuptools.build_meta" +-- +2.35.1 + diff --git a/dev-python/pyroute2/pyroute2-0.7.1.ebuild b/dev-python/pyroute2/pyroute2-0.7.1.ebuild new file mode 100644 index 000000000000..d70c7e1797d0 --- /dev/null +++ b/dev-python/pyroute2/pyroute2-0.7.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10} pypy3 ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="A pure Python netlink and Linux network configuration library" +HOMEPAGE="https://github.com/svinota/pyroute2" + +SRC_URI=" + https://github.com/svinota/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}"/pyroute2-0.7.1-specify-build-backend-in-pyproject.toml.patch +) + +# tests need root access +RESTRICT="test" |