From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 350C3158094 for ; Mon, 25 Jul 2022 06:04:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E17ABE1097; Mon, 25 Jul 2022 06:04:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B99F8E0FEC for ; Mon, 25 Jul 2022 06:04:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98852340F26 for ; Mon, 25 Jul 2022 06:04:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 261FF54F for ; Mon, 25 Jul 2022 06:04:46 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1658729079.bda0035a3bcaaf2016ba0b8018abd13dca206d81.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyroute2/, dev-python/pyroute2/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyroute2/Manifest dev-python/pyroute2/files/0001-setup-specify-build-backend-in-pyproject.toml.patch dev-python/pyroute2/pyroute2-0.7.1.ebuild X-VCS-Directories: dev-python/pyroute2/ dev-python/pyroute2/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: bda0035a3bcaaf2016ba0b8018abd13dca206d81 X-VCS-Branch: master Date: Mon, 25 Jul 2022 06:04:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4eea9468-d2a6-4f32-8ea8-8a309a4c4968 X-Archives-Hash: 7a85d404418d42489e06ff715d5cf015 commit: bda0035a3bcaaf2016ba0b8018abd13dca206d81 Author: Henning Schild hennsch de> AuthorDate: Wed Jun 29 12:31:21 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Jul 25 06:04:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda0035a dev-python/pyroute2: bump to 0.7.1 Closes: https://bugs.gentoo.org/815394 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/26144 Signed-off-by: Joonas Niilola gentoo.org> dev-python/pyroute2/Manifest | 1 + ...p-specify-build-backend-in-pyproject.toml.patch | 21 ++++++++++++ dev-python/pyroute2/pyroute2-0.7.1.ebuild | 37 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-python/pyroute2/Manifest b/dev-python/pyroute2/Manifest index 7fd04e2423dd..ea3dd08ef3e7 100644 --- a/dev-python/pyroute2/Manifest +++ b/dev-python/pyroute2/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/pyroute2/files/0001-setup-specify-build-backend-in-pyproject.toml.patch b/dev-python/pyroute2/files/0001-setup-specify-build-backend-in-pyproject.toml.patch new file mode 100644 index 000000000000..9c5756dbf7a0 --- /dev/null +++ b/dev-python/pyroute2/files/0001-setup-specify-build-backend-in-pyproject.toml.patch @@ -0,0 +1,21 @@ +From c4e0bdcf0fc694c9f0f3b01908a5fd1bc6909e39 Mon Sep 17 00:00:00 2001 +From: Henning Schild +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..8ed2d5d04f85 --- /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}/0001-setup-specify-build-backend-in-pyproject.toml.patch" +) + +# tests need root access +RESTRICT="test"