Package Details: pandoc-xnos 2.5.0-1

Git Clone URL: https://aur.archlinux.org/pandoc-xnos.git (read-only, click to copy)
Package Base: pandoc-xnos
Description: Library code for the pandoc-fignos/eqnos/tablenos filters.
Upstream URL: https://github.com/tomduck/pandoc-xnos
Licenses: GPL
Submitter: Huulivoide
Maintainer: dfk
Last Packager: bauermi86944
Votes: 5
Popularity: 0.000035
First Submitted: 2016-06-05 10:28 (UTC)
Last Updated: 2022-01-26 21:56 (UTC)

Latest Comments

artiste commented on 2024-03-11 06:43 (UTC)

this package also requires python-setuptools to build (by now) => need to update PKGBUILD to include it under depends

schaeferpp commented on 2023-07-31 09:57 (UTC) (edited on 2023-07-31 09:57 (UTC) by schaeferpp)

Since Pandoc was updated to the new major version, this does not work anymore. pandoc-xnos contains a regex verifying the pandoc version. This PR fixes the regex containing the version check: https://github.com/tomduck/pandoc-xnos/pull/29/commits/284474574f51888be75603e7d1df667a0890504d

I modified this PKGBUILD to include this patch.

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,18 @@

 pkgname=pandoc-xnos
 pkgver=2.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Library code for the pandoc-fignos/eqnos/tablenos filters."
 url="https://github.com/tomduck/pandoc-xnos"
 depends=('python-pandocfilters' 'python-psutil')
 license=('GPL')
 arch=('any')
-source=("https://github.com/tomduck/pandoc-xnos/archive/${pkgver}.tar.gz")
-md5sums=('270aae21d342c26020b6aec583e373e9')
+source=("https://github.com/tomduck/pandoc-xnos/archive/${pkgver}.tar.gz" "https://github.com/tomduck/pandoc-xnos/commit/284474574f51888be75603e7d1df667a0890504d.patch")
+md5sums=('270aae21d342c26020b6aec583e373e9' 'ab45860c4174f17f36dad07717887e0e')

 build() {
+    # Apply patch to support Pandoc versions >= 3
+    patch "$srcdir/pandoc-xnos-${pkgver}/pandocxnos/core.py" < "$srcdir/284474574f51888be75603e7d1df667a0890504d.patch"
     cd "$srcdir/pandoc-xnos-${pkgver}"
     python setup.py build
 }

dfk commented on 2022-01-13 14:45 (UTC)

Hey Michael, Yes I'm not using these much anymore (and was never that great about keeping on top of them, let's be honest), so it would be great if you were willing to take over! I added you as a co-maintainer, let me know if that's not enough. Dave

el.Quero commented on 2019-02-05 22:59 (UTC)

This package requires also python-setuptools package.

anthillsocial commented on 2016-07-12 17:17 (UTC)

This package requires pandoc-attributes, though this isn't a package in aur. [code] Edit pandoc-xnos PKGBUILD with $EDITOR? [Y/n] n ==> Making package: pandoc-xnos 0.3-1 (Tue 12 Jul 18:15:57 BST 2016) ==> Checking runtime dependencies... ==> Missing dependencies: -> pandoc-attributes ==> Checking buildtime dependencies... ==> ERROR: Could not resolve all dependencies. The build failed. [/code]