[arch-commits] Commit in python-pandocfilters/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:07:58 UTC 2019
Date: Friday, October 25, 2019 @ 16:07:57
Author: felixonmars
Revision: 519390
archrelease: copy trunk to community-staging-any
Added:
python-pandocfilters/repos/community-staging-any/
python-pandocfilters/repos/community-staging-any/PKGBUILD
(from rev 519388, python-pandocfilters/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-pandocfilters/repos/community-staging-any/PKGBUILD (from rev 519388, python-pandocfilters/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:07:57 UTC (rev 519390)
@@ -0,0 +1,36 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: <gmail.com: Jesse Jaara>
+# Contributor: Gabriel Laskar <gabriel at lse.epita.fr>
+
+pkgbase=python-pandocfilters
+pkgname=(python-pandocfilters python2-pandocfilters)
+pkgver=1.4.2
+pkgrel=3
+pkgdesc="A python module for writing pandoc filters"
+arch=('any')
+url="https://pypi.python.org/pypi/pandocfilters"
+license=('BSD')
+depends=('python')
+makedepends=('python2')
+source=("https://pypi.io/packages/source/p/pandocfilters/pandocfilters-${pkgver}.tar.gz")
+md5sums=('dc391791ef54c7de1572d7b46b63361f')
+
+prepare() {
+ cd "$srcdir"
+ cp -r "pandocfilters-$pkgver" "py2-pandocfilters-$pkgver"
+}
+
+package_python-pandocfilters() {
+ cd "$srcdir/pandocfilters-$pkgver"
+ python3 setup.py install --root="$pkgdir/" --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pandocfilters() {
+ depends=('python2')
+ cd "$srcdir/py2-pandocfilters-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list