[arch-commits] Commit in python-pypandoc/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon Aug 23 09:24:42 UTC 2021
Date: Monday, August 23, 2021 @ 09:24:42
Author: alerque
Revision: 1004319
upgpkg: python-pypandoc 1.6.3-2: Remove setuptools from depends; remove obsolete test skips; make reproducible
Modified:
python-pypandoc/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-23 08:55:00 UTC (rev 1004318)
+++ PKGBUILD 2021-08-23 09:24:42 UTC (rev 1004319)
@@ -1,14 +1,15 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
pkgname=python-pypandoc
pkgver=1.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Thin wrapper for pandoc"
arch=('any')
license=('MIT')
url="https://github.com/bebraw/pypandoc"
-depends=('python-setuptools' 'pandoc')
-makedepends=('python-setuptools' 'pandoc')
+depends=('pandoc')
+makedepends=('python-setuptools')
checkdepends=('texlive-core' 'texlive-latexextra')
source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('b9e7d769aa75b96b7f04cce0cc93045f38434df88433c2bd392653fa744a28c96392777dfc0c0c96cfbc6a187be8ec64b9ac3491f8b5d346d949b4dd0000e4a5')
@@ -25,12 +26,12 @@
check() {
cd pypandoc-$pkgver
- # Ignore test failures now as pandoc-citeproc is deprecated and gone
- python setup.py test || echo "Tests failed"
+ python setup.py test
}
package() {
cd pypandoc-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ export PYTHONHASHSEED=0
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
More information about the arch-commits
mailing list