[arch-commits] Commit in python-pypandoc/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:51:53 UTC 2019
Date: Thursday, October 31, 2019 @ 16:51:53
Author: foutrelis
Revision: 521177
archrelease: copy trunk to community-staging-any
Added:
python-pypandoc/repos/community-staging-any/PKGBUILD
(from rev 521176, python-pypandoc/trunk/PKGBUILD)
Deleted:
python-pypandoc/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:51:49 UTC (rev 521176)
+++ PKGBUILD 2019-10-31 16:51:53 UTC (rev 521177)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pypandoc
-pkgname=('python-pypandoc' 'python2-pypandoc')
-pkgver=1.4
-pkgrel=3
-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-staging-any/PKGBUILD (from rev 521176, python-pypandoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:51:53 UTC (rev 521177)
@@ -0,0 +1,55 @@
+# 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
+}
More information about the arch-commits
mailing list