Date: Tuesday, February 22, 2022 @ 07:40:00 Author: alerque Revision: 1135777
archrelease: copy trunk to community-any Added: asciidoc/repos/community-any/PKGBUILD (from rev 1135776, asciidoc/trunk/PKGBUILD) Deleted: asciidoc/repos/community-any/PKGBUILD ----------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-22 07:39:45 UTC (rev 1135776) +++ PKGBUILD 2022-02-22 07:40:00 UTC (rev 1135777) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Florian Pritz <f...@xinu.at> -# Contributor: Chris Brannon <cmbranno...@gmail.com> -# Contributor: Geoffroy Carrier <geoff...@archlinux.org> -# Contributor: Dan McGee <d...@archlinux.org> -# Contributor: Jaroslaw Rosiek <philos...@interia.pl> -# Contributor: Darwin Bautista <djclue...@gmail.com> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=asciidoc -pkgver=10.1.2 -pkgrel=2 -pkgdesc='Text document format for short documents, articles, books and UNIX man pages' -arch=('any') -url='https://asciidoc.org/' -license=('GPL') -depends=('python' 'libxslt' 'docbook-xsl') -checkdepends=('dblatex' 'graphviz' 'lilypond' 'python-pytest'{,-mock} 'source-highlight') -makedepends=('python-pip') -optdepends=('graphviz: graphviz-filter' - 'lilypond: music-filter' - 'imagemagick: music-filter' - 'source-highlight: source-highlight-filter' - 'dblatex: pdf generation' - '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=('0bfcebf4d0419323c8b4903676b05259847e6534c82a2629a0c852e621de7c47') -b2sums=('a00ade1a849ffed98d10ddbbca5300e6f9fca9fc60663ff6e59979613a013b408829d35d9362cdf830ef08cd494ca4a47dab919ce29ce7111ee0fdaa3e301f24') - -prepare() { - cd ${pkgname}-py-${pkgver} - # https://github.com/asciidoc-py/asciidoc-py/issues/234 - autoconf -} - -build() { - cd ${pkgname}-py-${pkgver} - # https://github.com/asciidoc-py/asciidoc-py/issues/234#issuecomment-1045970138 - ./configure \ - --docdir /usr/share/doc/$pkgname \ - --prefix /usr - make build - make manpages -} - -check() { - cd ${pkgname}-py-${pkgver} - make test -} - -package() { - cd ${pkgname}-py-${pkgver} - make DESTDIR="${pkgdir}" install - make DESTDIR="${pkgdir}" docs - install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1 - # ascidocapi is deprecated, but still included in 10.x on a "provisional" basis - local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')" - install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py - # https://github.com/asciidoc-py/asciidoc-py/issues/241 - rm -rf "${pkgdir}/${_platlib}/tests" -} Copied: asciidoc/repos/community-any/PKGBUILD (from rev 1135776, asciidoc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-22 07:40:00 UTC (rev 1135777) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Florian Pritz <f...@xinu.at> +# Contributor: Chris Brannon <cmbranno...@gmail.com> +# Contributor: Geoffroy Carrier <geoff...@archlinux.org> +# Contributor: Dan McGee <d...@archlinux.org> +# Contributor: Jaroslaw Rosiek <philos...@interia.pl> +# Contributor: Darwin Bautista <djclue...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=asciidoc +pkgver=10.1.3 +pkgrel=1 +pkgdesc='Text document format for short documents, articles, books and UNIX man pages' +arch=('any') +url='https://asciidoc.org/' +license=('GPL') +depends=('python' 'libxslt' 'docbook-xsl') +checkdepends=('dblatex' 'graphviz' 'lilypond' 'python-pytest'{,-mock} 'source-highlight') +makedepends=('python-pip') +optdepends=('graphviz: graphviz-filter' + 'lilypond: music-filter' + 'imagemagick: music-filter' + 'source-highlight: source-highlight-filter' + 'dblatex: pdf generation' + '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=('6cc01bea6ba435cafcc579753742b9c7e5438a61443bdd14110115d7a4dd90a5') +b2sums=('61de9eaf7fe8570a1447d2ad514ad9baa97bd49f48dbde41b35a69019ee8bddae538a525880e866e531afcfc21179bbbc7e6c106d75265b2755309dc51faa451') + +prepare() { + cd ${pkgname}-${pkgver} + # https://github.com/asciidoc-py/asciidoc-py/issues/201#issuecomment-1047494681 + sed -i -e '/pytest$/s!$! tests/test_utils.py!' Makefile.in + # https://github.com/asciidoc-py/asciidoc-py/issues/234 + autoconf +} + +build() { + cd ${pkgname}-${pkgver} + # https://github.com/asciidoc-py/asciidoc-py/issues/234#issuecomment-1045970138 + ./configure \ + --docdir /usr/share/doc/$pkgname \ + --prefix /usr + make build + make manpages +} + +check() { + cd ${pkgname}-${pkgver} + make test +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" docs + install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/*.1 + # ascidocapi is deprecated, but still included in 10.x on a "provisional" basis + local _platlib="$(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])')" + install -Dm0644 -t "${pkgdir}/${_platlib}/${pkgname}/" asciidoc/api.py +}