Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / asciidoc
Commits: a99847ea by Caleb Maclennan at 2024-05-06T23:22:57+03:00 upgpkg: 10.2.0-6: Backport unreleased Python compatibility patch to quiet warnings, closes #2 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,10 +1,10 @@ pkgbase = asciidoc pkgdesc = Text document format for short documents, articles, books and UNIX man pages pkgver = 10.2.0 - pkgrel = 5 + pkgrel = 6 url = https://asciidoc-py.github.io arch = any - license = GPL + license = GPL-2.0-or-later checkdepends = dblatex checkdepends = graphviz checkdepends = lilypond @@ -15,9 +15,9 @@ pkgbase = asciidoc makedepends = python-installer makedepends = python-wheel makedepends = python-setuptools - depends = python - depends = libxslt depends = docbook-xsl + depends = libxslt + depends = python optdepends = graphviz: graphviz-filter optdepends = lilypond: music-filter optdepends = imagemagick: music-filter @@ -27,7 +27,10 @@ pkgbase = asciidoc optdepends = w3m: text generation optdepends = lynx: alternative text generation source = https://github.com/asciidoc-py/asciidoc-py/releases/download/10.2.0/asciidoc-10.2.0.tar.gz + source = suppress-python-warnings.patch::https://github.com/asciidoc-py/asciidoc-py/commit/cf72db316e3281249c6f69c5591a0092b231b53d.patch sha256sums = 237b2ba5c35c0ae7ccd4cd44ebf1d87c20b2695dae01798954416d492ef7fa0e + sha256sums = 26c4f502e92b975c9c1c6b86ff85e62fda2e3a7ddf3efddaa0bdbb9c88f2aeb8 b2sums = ed5db8fd1432b255e9c03e17805c26c76a42392c2ebeaf839b8c0aaaf38cd1a36d79b645ca4474503181200924df91218eb0997dd82335a30d6a0a1b35eb5730 + b2sums = 3934a6cd8dd5758219cc75eb5b94e545e7e093c413beb3a8b1d1bbb6984e260b5afafea2688783b4845757707303b83d5ccb5b51d21c9dc9acdfa06e77738854 pkgname = asciidoc ===================================== PKGBUILD ===================================== @@ -11,14 +11,22 @@ pkgname=asciidoc pkgver=10.2.0 -pkgrel=5 +pkgrel=6 pkgdesc='Text document format for short documents, articles, books and UNIX man pages' arch=('any') url='https://asciidoc-py.github.io' -license=('GPL') -depends=('python' 'libxslt' 'docbook-xsl') -checkdepends=('dblatex' 'graphviz' 'lilypond' 'python-pytest'{,-mock} 'source-highlight') -makedepends=(python-{build,installer,wheel} python-setuptools) +_url='https://github.com/asciidoc-py/asciidoc-py' +license=(GPL-2.0-or-later) +depends=(docbook-xsl + libxslt + python) +checkdepends=(dblatex + graphviz + lilypond + python-pytest{,-mock} + source-highlight) +makedepends=(python-{build,installer,wheel} + python-setuptools) optdepends=('graphviz: graphviz-filter' 'lilypond: music-filter' 'imagemagick: music-filter' @@ -27,9 +35,12 @@ optdepends=('graphviz: graphviz-filter' 'fop: alternative pdf generation' 'w3m: text generation' 'lynx: alternative text generation') -source=("https://github.com/asciidoc-py/asciidoc-py/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('237b2ba5c35c0ae7ccd4cd44ebf1d87c20b2695dae01798954416d492ef7fa0e') -b2sums=('ed5db8fd1432b255e9c03e17805c26c76a42392c2ebeaf839b8c0aaaf38cd1a36d79b645ca4474503181200924df91218eb0997dd82335a30d6a0a1b35eb5730') +source=("$_url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" + "suppress-python-warnings.patch::$_url/commit/cf72db316e3281249c6f69c5591a0092b231b53d.patch") +sha256sums=('237b2ba5c35c0ae7ccd4cd44ebf1d87c20b2695dae01798954416d492ef7fa0e' + '26c4f502e92b975c9c1c6b86ff85e62fda2e3a7ddf3efddaa0bdbb9c88f2aeb8') +b2sums=('ed5db8fd1432b255e9c03e17805c26c76a42392c2ebeaf839b8c0aaaf38cd1a36d79b645ca4474503181200924df91218eb0997dd82335a30d6a0a1b35eb5730' + '3934a6cd8dd5758219cc75eb5b94e545e7e093c413beb3a8b1d1bbb6984e260b5afafea2688783b4845757707303b83d5ccb5b51d21c9dc9acdfa06e77738854') prepare() { cd ${pkgname}-${pkgver} @@ -37,6 +48,8 @@ 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 } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/asciidoc/-/commit/a99847ea92cbd47694937d8d7029e7797435d50b -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/asciidoc/-/commit/a99847ea92cbd47694937d8d7029e7797435d50b You're receiving this email because of your account on gitlab.archlinux.org.