From patchwork Thu Dec 1 18:54:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 6269 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NNQGn0kj5z3whh for ; Thu, 1 Dec 2022 18:54:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NNQGm3RWjz2rm; Thu, 1 Dec 2022 18:54:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NNQGm3ZGTz2yLH; Thu, 1 Dec 2022 18:54:24 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NNQGk6fnKz2xNB for ; Thu, 1 Dec 2022 18:54:22 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4NNQGj4Cdgz2pN for ; Thu, 1 Dec 2022 18:54:21 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1669920862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+rj9+RbEUFEQo2LCGhbm6b4qaFtU8lNtyspUHnmKtyM=; b=YEyFwuw3nR836hSnNHpv6s3hedkq+ue80w7orGXE1mmg4C1oyEQsJXTSWbalQTPNFCXRCa DTI//UrC7r/ZXMDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1669920862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+rj9+RbEUFEQo2LCGhbm6b4qaFtU8lNtyspUHnmKtyM=; b=QCIsM6w2Ci9LhBQ1CtzIrs7NjLHZF4kZr1F7jMi6X0V4Nh7SMkB08VdosjnO3jTn49UNUO sjOaRr7O7iXjKWULFx+ub73u15NQvfe9cizHykyssOwMjttWt30PoE6DqHNP0nETcbc4om TVvCAtkY9MYWLimjMcFZTPQ//s83ei2FziDCDhvFpzFHYRNS4ERHm0SU8CGHuHT0FFuX1Q AshgglCLI0bHCB089PDjKapu0kgEzmXEVn+LkO5Cikhlq9GdfuuKRoK8Mv/OY+hkBaK/Mu 9FzEw53nSc48ho3Cm3eDVdFj/M9TBNGhgdB5+uZ+2ZOm0FDrvF9LUdRkngv+uw== Message-ID: Date: Thu, 1 Dec 2022 19:54:06 +0100 MIME-Version: 1.0 Subject: [PATCH 3/4] python3-{pip,wheel}: Properly build packages Content-Language: en-US To: development@lists.ipfire.org References: <50b30ae3-0673-4f5c-1e5c-cdf390a5bbcb@ipfire.org> <879ecb00-f927-edc8-1cca-14c39f75f690@ipfire.org> From: =?utf-8?q?Peter_M=C3=BCller?= In-Reply-To: <879ecb00-f927-edc8-1cca-14c39f75f690@ipfire.org> X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Reported-by: Michael Tremer Signed-off-by: Peter Müller --- python3-pip/python3-pip.nm | 11 +++++++++-- python3-wheel/python3-wheel.nm | 10 ++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/python3-pip/python3-pip.nm b/python3-pip/python3-pip.nm index 0a5f03345..fd74909d2 100644 --- a/python3-pip/python3-pip.nm +++ b/python3-pip/python3-pip.nm @@ -5,7 +5,7 @@ name = python3-pip version = 22.3.1 -release = 1 +release = 3 arch = noarch thisapp = pip-%{version} @@ -37,10 +37,17 @@ build end install - %{python3} setup.py install + %{python3} setup.py install --root=%{BUILDROOT} end end packages package %{name} + requires + python3 + python3-setuptools + python3-wheel + end + + end end diff --git a/python3-wheel/python3-wheel.nm b/python3-wheel/python3-wheel.nm index ff7ef8e6d..3fe9fe2a1 100644 --- a/python3-wheel/python3-wheel.nm +++ b/python3-wheel/python3-wheel.nm @@ -5,7 +5,7 @@ name = python3-wheel version = 0.38.4 -release = 1 +release = 3 arch = noarch thisapp = wheel-%{version} @@ -28,15 +28,21 @@ build python3-setuptools end + export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES = 0 + build %{python3} setup.py build end install - %{python3} setup.py install + %{python3} setup.py install --root=%{BUILDROOT} end end packages package %{name} + + requires + python3 + end end