public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] asciidoc: Update to 10.20.0
Date: Sun, 26 Feb 2023 13:19:58 +0100	[thread overview]
Message-ID: <20230226121958.273446-1-stefan.schantl@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 asciidoc/asciidoc.nm | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

diff --git a/asciidoc/asciidoc.nm b/asciidoc/asciidoc.nm
index a8220579d..e2691b956 100644
--- a/asciidoc/asciidoc.nm
+++ b/asciidoc/asciidoc.nm
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = asciidoc
-version    = 8.6.9
-release    = 2
+version    = 10.2.0
+release    = 1
 thisapp    = %{name}-py-%{version}
 arch       = noarch
 
@@ -25,22 +25,32 @@ source_dl  = https://github.com/%{name}-py/asciidoc-py/archive/%{version}/
 build
 	requires
 		autoconf
-		automake
 		docbook-dsssl
 		docbook-xsl
 		libxslt
 		python3-devel
+		python3-setuptools
 	end
 
 	prepare_cmds
-		autoreconf -vfi
+		autoconf
+	end
+
+	build_cmds
+		# Build asciidoc
+		%{python3} setup.py build
 	end
 
-	make_install_targets += docs
+	install
+		# Install asciidoc
+		%{python3} setup.py install \
+			--root=%{BUILDROOT}
+
+		# Create directory layout for manpages
+		mkdir -pv %{BUILDROOT}%{mandir}/man1
 
-	install_cmds
-		# Broken symlink to an example that is not being installed
-		rm -vf %{BUILDROOT}%{datadir}/doc/asciidoc/examples/website/asciidoc-graphviz-sample.txt
+		# Install manpages
+		install -Dm0644 -t "%{BUILDROOT}%{mandir}/man1/" doc/*.1
 	end
 end
 
-- 
2.30.2


                 reply	other threads:[~2023-02-26 12:19 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=20230226121958.273446-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