From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] python3-docutils: New package.
Date: Fri, 06 Jan 2023 08:18:23 +0100 [thread overview]
Message-ID: <20230106071823.1962-1-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2118 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
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 <info(a)ipfire.org> #
+###############################################################################
+
+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
--
2.30.2
reply other threads:[~2023-01-06 7:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230106071823.1962-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox