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

Kyle Keen kkeen at archlinux.org
Thu Mar 19 15:39:02 UTC 2015


    Date: Thursday, March 19, 2015 @ 16:39:02
  Author: kkeen
Revision: 129587

archrelease: copy trunk to community-any

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

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

Copied: python-mistune/repos/community-any/PKGBUILD (from rev 129586, python-mistune/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-03-19 15:39:02 UTC (rev 129587)
@@ -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=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=('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