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

Felix Yan felixonmars at archlinux.org
Mon Apr 13 02:19:17 UTC 2020


    Date: Monday, April 13, 2020 @ 02:19:16
  Author: felixonmars
Revision: 613497

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  108 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 53 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-13 02:19:03 UTC (rev 613496)
+++ PKGBUILD	2020-04-13 02:19:16 UTC (rev 613497)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pypandoc
-pkgname=('python-pypandoc' 'python2-pypandoc')
-pkgver=1.4
-pkgrel=4
-pkgdesc="Thin wrapper for pandoc"
-arch=('any')
-license=('MIT')
-url="https://github.com/bebraw/pypandoc"
-makedepends=('python-setuptools' 'python2-setuptools' 'pandoc')
-checkdepends=('texlive-core' 'texlive-latexextra' 'pandoc-citeproc')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/bebraw/pypandoc/archive/$pkgver.tar.gz")
-sha512sums=('e6210c8b63758d09b12f1cef2e755ae70befa2b5cd66034d9981217b2fa684b90bf6b6edc46968abcb775721a0b32467c924866be743dde74fe77a20b94453d5')
-
-prepare() {
-  # We don't really need pip and wheel at runtime
-  sed -i "s/install_requires = .*/install_requires = ['setuptools'],/" pypandoc-$pkgver/setup.py
-
-  cp -a pypandoc-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pypandoc-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pypandoc-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # https://github.com/bebraw/pypandoc/issues/163
-
-  cd "$srcdir"/pypandoc-$pkgver
-  LC_CTYPE=en_US.UTF-8 python setup.py test || warning "Tests failed"
-
-  cd "$srcdir"/pypandoc-$pkgver-py2
-  python2 setup.py test || warning "Tests failed"
-}
-
-package_python-pypandoc() {
-  depends=('python-setuptools' 'pandoc')
-
-  cd pypandoc-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pypandoc() {
-  depends=('python2-setuptools' 'pandoc')
-
-  cd pypandoc-$pkgver-py2
-  python2 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 613496, python-pypandoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-13 02:19:16 UTC (rev 613497)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pypandoc
+pkgname=('python-pypandoc' 'python2-pypandoc')
+pkgver=1.5
+pkgrel=1
+pkgdesc="Thin wrapper for pandoc"
+arch=('any')
+license=('MIT')
+url="https://github.com/bebraw/pypandoc"
+makedepends=('python-setuptools' 'python2-setuptools' 'pandoc')
+checkdepends=('texlive-core' 'texlive-latexextra' 'pandoc-citeproc')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/bebraw/pypandoc/archive/$pkgver.tar.gz")
+sha512sums=('bc1a18115827ac0868b887fa3c9be46736670de8f095cb49b444e61f66779497db9a08bdac0de30f821a64cd6bad195f1d3a29d0159e6e3ad050a78ca0ecea82')
+
+prepare() {
+  # We don't really need pip and wheel at runtime
+  sed -i "s/install_requires = .*/install_requires = ['setuptools'],/" pypandoc-$pkgver/setup.py
+
+  cp -a pypandoc-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pypandoc-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pypandoc-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pypandoc-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/pypandoc-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-pypandoc() {
+  depends=('python-setuptools' 'pandoc')
+
+  cd pypandoc-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pypandoc() {
+  depends=('python2-setuptools' 'pandoc')
+
+  cd pypandoc-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list