diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2023-05-21 13:05:43 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2023-05-25 00:42:20 -0400 |
commit | 29c6be1ddba414fabdf93afb7edaaa035a52c764 (patch) | |
tree | d0f6c545fdeb2df357c6aae951a2d2ce6c9b0e99 | |
parent | 8dfa040640eb9b9427e6e888b76156f3866e0316 (diff) |
[asciidoc]: remove package
the blacklist reason (optdepends on blacklisted 'fop') no longer applies
a liberated 'fop' was added to [libre] some time later
probably 'asciidoc' could have been removed from [libre] then;
though the liberation of 'fop' and the related 'java-batik' were not well documented
-rw-r--r-- | libre/asciidoc/PKGBUILD | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/libre/asciidoc/PKGBUILD b/libre/asciidoc/PKGBUILD deleted file mode 100644 index 2c363234c..000000000 --- a/libre/asciidoc/PKGBUILD +++ /dev/null @@ -1,88 +0,0 @@ -# Maintainer (arch): Levente Polyak <anthraxx[at]archlinux[dot]org> -# Maintainer (arch): Caleb Maclennan <caleb@alerque.com> -# Contributor: Eli Schwartz <eschwartz@archlinux.org> -# Contributor: Florian Pritz <flo@xinu.at> -# Contributor: Chris Brannon <cmbrannon79@gmail.com> -# Contributor: Geoffroy Carrier <geoffroy@archlinux.org> -# Contributor: Dan McGee <dan@archlinux.org> -# Contributor: Jaroslaw Rosiek <philosoph@interia.pl> -# Contributor: Darwin Bautista <djclue917@gmail.com> -# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> -# Contributor: André Silva <emulatorman@hyperbola.info> -# Contributor: Andreas Grapentin <andreas@grapentin.org> -# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> - - -# parabola changes and rationale: -# - Removed build dependency on blacklisted 'python-pip' (FIXME: fails to build) -# - Removed optional dependency on blacklisted 'fop' -# - Removed pip build support (FIXME: fails to build) - -# NOTE: This PKGBUILD is kept in-sync, as closely as possible, -# with arch{,arm,32} and parabola, for the sake of documentation and cleaner diffs. -# That also helps to identify which changes were made by Parabola vs upstream. -# Therefore, this PKGBUILD may declare blacklisted dependencies, non-free sources, -# or include code for anti-features; but those will be filtered-out subsequently. -# Any code which implements an anti-feature should be commented-out; -# and include an 'anti-feature' comment, for clarity. -# Any blacklisted dependencies and non-free sources should be filtered, -# and include a 'non-free' comment, for clarity. -# Without those over-rides, the resulting program may not be FSDG-fit. -# Do not circumvent those over-rides, if compiling for the Parabola repos. - - -pkgname=asciidoc -pkgver=10.2.0 -pkgrel=3 -pkgrel+=.parabola1 -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-{build,installer,wheel} python-setuptools) -optdepends=('graphviz: graphviz-filter' - 'lilypond: music-filter' - 'imagemagick: music-filter' - 'source-highlight: source-highlight-filter' - 'dblatex: 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') - -prepare() { - cd ${pkgname}-${pkgver} - sed -i \ - -e '/^build: /a \\tpython3 -m build -wn' \ - -e '/pip install/{s#pip install --root#installer -d#;s#\.$#dist/*.whl#}' \ - 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 -} - -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 -} |