From patchwork Fri Jan 6 07:18:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6409 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NpF7J3CPfz40Qr for ; Fri, 6 Jan 2023 07:18:36 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NpF7G6ttfz133; Fri, 6 Jan 2023 07:18:34 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NpF7G4WZlz2yl8; Fri, 6 Jan 2023 07:18:34 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NpF7D5Yxgz2xZG for ; Fri, 6 Jan 2023 07:18:32 +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) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4NpF7C6GQ6zBV; Fri, 6 Jan 2023 07:18:31 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1672989512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=HyMGZsOEswWIZ5uwqf6p0UPhJ7fNSeJe0s8SR5wAfpg=; b=/65rCpWavssScUZsHgHdPW0zMSyyRYyVNMyU/2mB64RojslWoUPRJlVVHBZ32SgR9qteDv +DFWnPdhqRqjACCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1672989512; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=HyMGZsOEswWIZ5uwqf6p0UPhJ7fNSeJe0s8SR5wAfpg=; b=G1hBPZ8SEn0U37u7X79u3Z2RSbwoWA93x/sIfHM5GEH9y63H6DEts0ymxqrsGX38yq6okx S6vbcTmSVXwvkCrox9speP8CPwGu3ncesTCDggRqOP4KJSOYLllwZn+g/YxRsJFwc1wYz/ BJFhndOD9HTtSaWVsioXb8ii346HpuODVdPztsWr3MY8HR0N3ac4LlHsqynS6WiLruLJp7 M/0WmDgeU4xYhvg/5wMz2pMBLKou+AYoiKDpPBfVSNKLNc0jUNqop63EW2Cgbei9RxXXkG 2gUHHiwIgcdB8P7ZcN8ZhrDhXPdGUfJCb3hN+DOZ870HUqgrp3AWg6XLJPfQBw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] python3-docutils: New package. Date: Fri, 6 Jan 2023 08:18:23 +0100 Message-Id: <20230106071823.1962-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 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" Signed-off-by: Stefan Schantl --- python3-docutils/python3-docutils.nm | 57 ++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 python3-docutils/python3-docutils.nm diff --git a/python3-docutils/python3-docutils.nm b/python3-docutils/python3-docutils.nm new file mode 100644 index 000000000..86edd1120 --- /dev/null +++ b/python3-docutils/python3-docutils.nm @@ -0,0 +1,57 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = python3-docutils +version = 0.19 +release = 1 +thisapp = docutils-%{version} +arch = noarch + +groups = System/Tools +url = https://docutils.sourceforge.net +license = Public Domain and BSD and Python and GPLv3+ +summary = System for processing plaintext documentation + +description + The Docutils project specifies a plaintext markup language, reStructuredText, + which is easy to read and quick to write. The project includes a python + library to parse rST files and transform them into other useful formats such + as HTML, XML, and TeX as well as commandline tools that give the enduser + access to this functionality. +end + +source_dl = https://sourceforge.net/projects/docutils/files/docutils/%{version}/ + +build + requires + python3-devel >= 3.4 + python3-setuptools + end + + build + # Remove shebang from library files + sed -i -e '/#! *\/usr\/bin\/.*/{1D}' $(grep -Erl '^#!.+python' docutils) + + %{python3} setup.py build + end + + test + export PYTHONPATH=%{buildroot}%{python3_sitelib} + %{python3} test/alltests.py + end + + install + %{python3} setup.py install --root=%{BUILDROOT} \ + + end +end + +packages + package %{name} + + package %{name}-debuginfo + template DEBUGINFO + end +end