diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | python-panflute.install | 14 |
3 files changed, 20 insertions, 4 deletions
@@ -1,14 +1,15 @@ pkgbase = python-panflute pkgdesc = A Pythonic alternative to John MacFarlane’s pandocfilters pkgver = 1.12.5 - pkgrel = 6 + pkgrel = 7 url = https://github.com/sergiocorreia/panflute + install = python-panflute.install arch = any license = BSD checkdepends = python-pandocfilters checkdepends = python-pytest-cov makedepends = python-setuptools - depends = pandoc<2.10.0 + depends = pandoc depends = python depends = python-click depends = python-yaml @@ -4,19 +4,20 @@ _pipname=panflute pkgname=python-$_pipname pkgver=1.12.5 -pkgrel=6 +pkgrel=7 pkgdesc='A Pythonic alternative to John MacFarlane’s pandocfilters' url="https://github.com/sergiocorreia/$_pipname" arch=('any') license=('BSD') _pydeps=('click' 'yaml') -depends=('pandoc<2.10.0' 'python' "${_pydeps[@]/#/python-}") +depends=('pandoc' 'python' "${_pydeps[@]/#/python-}") makedepends=('python-setuptools') replaces=('pandoc-panflute') _pycheckdeps=('pandocfilters' 'pytest-cov') checkdepends=("${_pycheckdeps[@]/#/python-}") +install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/sergiocorreia/$_pipname/archive/$pkgver.tar.gz") sha256sums=('ee62188825f7623eb348e15d2183c6ee51e28cf3f0c87c851e6f09ad7288f78d') diff --git a/python-panflute.install b/python-panflute.install new file mode 100644 index 000000000000..0990db7381e8 --- /dev/null +++ b/python-panflute.install @@ -0,0 +1,14 @@ +post_install() { + cat <<- EOF 1>&2 + --> WARNING: Panflute is not 100% compatible with Pandoc 2.10+. Most + --> notibly anything to do with tables is not supported, see upstream + --> issue here: https://github.com/sergiocorreia/panflute/issues/142 + --> In order to use, please downgrade Pandoc to 2.9.x (one way is to + --> use a pacman mirror that has an archive of old packages, then add + --> Pandoc to your HoldPkg list). + EOF +} + +post_upgrade() { + post_install +} |