[arch-commits] Commit in python-pypandoc/repos/community-any (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Mon Aug 23 09:25:39 UTC 2021


    Date: Monday, August 23, 2021 @ 09:25:39
  Author: alerque
Revision: 1004320

archrelease: copy trunk to community-any

Added:
  python-pypandoc/repos/community-any/PKGBUILD
    (from rev 1004319, python-pypandoc/trunk/PKGBUILD)
Deleted:
  python-pypandoc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-23 09:24:42 UTC (rev 1004319)
+++ PKGBUILD	2021-08-23 09:25:39 UTC (rev 1004320)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pypandoc
-pkgver=1.6.3
-pkgrel=1
-pkgdesc="Thin wrapper for pandoc"
-arch=('any')
-license=('MIT')
-url="https://github.com/bebraw/pypandoc"
-depends=('python-setuptools' 'pandoc')
-makedepends=('python-setuptools' 'pandoc')
-checkdepends=('texlive-core' 'texlive-latexextra')
-source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('b9e7d769aa75b96b7f04cce0cc93045f38434df88433c2bd392653fa744a28c96392777dfc0c0c96cfbc6a187be8ec64b9ac3491f8b5d346d949b4dd0000e4a5')
-
-prepare() {
-  # We don't really need pip and wheel at runtime
-  sed -i "s/install_requires = .*/install_requires = ['setuptools'],/" pypandoc-$pkgver/setup.py
-}
-
-build() {
-  cd pypandoc-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pypandoc-$pkgver
-  # Ignore test failures now as pandoc-citeproc is deprecated and gone
-  python setup.py test || echo "Tests failed"
-}
-
-package() {
-  cd pypandoc-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pypandoc/repos/community-any/PKGBUILD (from rev 1004319, python-pypandoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-23 09:25:39 UTC (rev 1004320)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+
+pkgname=python-pypandoc
+pkgver=1.6.3
+pkgrel=2
+pkgdesc="Thin wrapper for pandoc"
+arch=('any')
+license=('MIT')
+url="https://github.com/bebraw/pypandoc"
+depends=('pandoc')
+makedepends=('python-setuptools')
+checkdepends=('texlive-core' 'texlive-latexextra')
+source=("https://github.com/bebraw/pypandoc/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b9e7d769aa75b96b7f04cce0cc93045f38434df88433c2bd392653fa744a28c96392777dfc0c0c96cfbc6a187be8ec64b9ac3491f8b5d346d949b4dd0000e4a5')
+
+prepare() {
+  # We don't really need pip and wheel at runtime
+  sed -i "s/install_requires = .*/install_requires = ['setuptools'],/" pypandoc-$pkgver/setup.py
+}
+
+build() {
+  cd pypandoc-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pypandoc-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd pypandoc-$pkgver
+  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