Date: Sunday, December 25, 2016 @ 17:14:28
  Author: bpiotrowski
Revision: 202055

archrelease: copy trunk to community-staging-any

Added:
  python-mistune/repos/community-staging-any/
  python-mistune/repos/community-staging-any/PKGBUILD
    (from rev 202054, python-mistune/trunk/PKGBUILD)

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

Copied: python-mistune/repos/community-staging-any/PKGBUILD (from rev 202054, 
python-mistune/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2016-12-25 17:14:28 UTC (rev 202055)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Kyle Keen <[email protected]>
+# Contributor: shmilee
+
+pkgbase=python-mistune
+_pkgname=mistune
+pkgname=('python-mistune' 'python2-mistune')
+pkgver=0.7.3
+pkgrel=2
+pkgdesc="The fastest markdown parser in pure Python with renderer feature."
+arch=('any')
+url="https://github.com/lepture/mistune";
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/lepture/mistune/archive/v${pkgver}.tar.gz";)
+md5sums=('d1127006e9636c28e98ad5ff3c70dbab')
+
+prepare() {
+  cd "$srcdir"
+  cp -r "$srcdir/$_pkgname-$pkgver" "$srcdir/${_pkgname}2-$pkgver"
+}
+
+package_python-mistune() {
+  cd "$srcdir/${_pkgname}-$pkgver"
+  python setup.py install --root="$pkgdir/"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-mistune/LICENSE"
+}
+
+package_python2-mistune() {
+  depends=('python2')
+  cd "$srcdir/${_pkgname}2-$pkgver"
+  python2 setup.py install --root="$pkgdir/"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python2-mistune/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to