* update asciidoc to 10.2.1-1

This commit is contained in:
Alexander Baldeck 2024-09-23 13:16:14 +02:00
parent ec93a58371
commit 12229c5ebf
3 changed files with 42 additions and 10 deletions

33
asciidoc/.SRCINFO Normal file
View File

@ -0,0 +1,33 @@
pkgbase = asciidoc
pkgdesc = Text document format for short documents, articles, books and UNIX man pages
pkgver = 10.2.1
pkgrel = 1
url = https://asciidoc-py.github.io
arch = any
license = GPL-2.0-or-later
checkdepends = dblatex
checkdepends = graphviz
checkdepends = lilypond
checkdepends = python-pytest
checkdepends = python-pytest-mock
checkdepends = source-highlight
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools
depends = docbook-xsl
depends = libxslt
depends = python
optdepends = graphviz: graphviz-filter
optdepends = lilypond: music-filter
optdepends = imagemagick: music-filter
optdepends = source-highlight: source-highlight-filter
optdepends = dblatex: pdf generation
optdepends = fop: alternative pdf generation
optdepends = w3m: text generation
optdepends = lynx: alternative text generation
source = https://github.com/asciidoc-py/asciidoc-py/releases/download/10.2.1/asciidoc-10.2.1.tar.gz
sha256sums = aa7be8ae894f6cc1e67784d76ffa6c6b9e9f96efdc695db43c6bd63820e5072b
b2sums = 9e15eb5d40384fe586a6148e53e03e73a6958061841843f7b32b4209a15477f97a6547ea1cb48d23b5d4c9ee5add1bfa87d53c1bfbc14c10f31397ebeb86ba39
pkgname = asciidoc

4
asciidoc/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[asciidoc]
source = "github"
github = "asciidoc-py/asciidoc-py"
use_max_tag = true

View File

@ -11,8 +11,8 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=asciidoc
pkgver=10.2.0
pkgrel=6
pkgver=10.2.1
pkgrel=1
pkgdesc='Text document format for short documents, articles, books and UNIX man pages'
arch=(any)
url='https://asciidoc-py.github.io'
@ -36,12 +36,9 @@ optdepends=('graphviz: graphviz-filter'
'fop: alternative pdf generation'
'w3m: text generation'
'lynx: alternative text generation')
source=("$_url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
"suppress-python-warnings.patch::$_url/commit/cf72db316e3281249c6f69c5591a0092b231b53d.patch")
sha256sums=('237b2ba5c35c0ae7ccd4cd44ebf1d87c20b2695dae01798954416d492ef7fa0e'
'26c4f502e92b975c9c1c6b86ff85e62fda2e3a7ddf3efddaa0bdbb9c88f2aeb8')
b2sums=('ed5db8fd1432b255e9c03e17805c26c76a42392c2ebeaf839b8c0aaaf38cd1a36d79b645ca4474503181200924df91218eb0997dd82335a30d6a0a1b35eb5730'
'3934a6cd8dd5758219cc75eb5b94e545e7e093c413beb3a8b1d1bbb6984e260b5afafea2688783b4845757707303b83d5ccb5b51d21c9dc9acdfa06e77738854')
source=("$_url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('aa7be8ae894f6cc1e67784d76ffa6c6b9e9f96efdc695db43c6bd63820e5072b')
b2sums=('9e15eb5d40384fe586a6148e53e03e73a6958061841843f7b32b4209a15477f97a6547ea1cb48d23b5d4c9ee5add1bfa87d53c1bfbc14c10f31397ebeb86ba39')
prepare() {
cd ${pkgname}-${pkgver}
@ -49,8 +46,6 @@ prepare() {
-e '/^build: /a \\tpython3 -m build -wn' \
-e '/pip install/{s#pip install --root#installer -d#;s#\.$#dist/*.whl#}' \
Makefile.in
# https://gitlab.archlinux.org/archlinux/packaging/packages/asciidoc/-/issues/2
patch -p1 -i ../suppress-python-warnings.patch
# https://github.com/asciidoc-py/asciidoc-py/issues/234
autoconf
}