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

Jelle van der Waa jelle at archlinux.org
Tue May 12 18:40:50 UTC 2020


    Date: Tuesday, May 12, 2020 @ 18:40:49
  Author: jelle
Revision: 627131

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 35 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 18:40:42 UTC (rev 627130)
+++ PKGBUILD	2020-05-12 18:40:49 UTC (rev 627131)
@@ -1,53 +0,0 @@
-# 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
-}

Copied: python-pypandoc/repos/community-any/PKGBUILD (from rev 627130, python-pypandoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 18:40:49 UTC (rev 627131)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pypandoc
+pkgver=1.5
+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')
+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
+}
+
+build() {
+  cd "$srcdir"/pypandoc-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/pypandoc-$pkgver
+  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
+}



More information about the arch-commits mailing list