[arch-commits] Commit in python-mistune/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 19 16:26:49 UTC 2015
Date: Saturday, September 19, 2015 @ 18:26:49
Author: foutrelis
Revision: 140936
archrelease: copy trunk to community-staging-any
Added:
python-mistune/repos/community-staging-any/
python-mistune/repos/community-staging-any/PKGBUILD
(from rev 140935, python-mistune/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-mistune/repos/community-staging-any/PKGBUILD (from rev 140935, python-mistune/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-19 16:26:49 UTC (rev 140936)
@@ -0,0 +1,36 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: shmilee
+
+pkgbase=python-mistune
+_pkgname=mistune
+pkgname=('python-mistune' 'python2-mistune')
+pkgver=0.5.1
+pkgrel=3
+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=('1c6cfce28a4aa90cf125217cd6c6fe6c')
+
+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:
More information about the arch-commits
mailing list