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

Jaroslav Lichtblau jlichtblau at archlinux.org
Mon Nov 2 17:42:00 UTC 2015


    Date: Monday, November 2, 2015 @ 18:42:00
  Author: jlichtblau
Revision: 145687

archrelease: copy trunk to community-any

Added:
  python-markups/repos/community-any/
  python-markups/repos/community-any/PKGBUILD
    (from rev 145686, python-markups/trunk/PKGBUILD)

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

Copied: python-markups/repos/community-any/PKGBUILD (from rev 145686, python-markups/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-11-02 17:42:00 UTC (rev 145687)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at aur.archlinux.org>
+# Contributor: Thomas Weißschuh <thomas t-8ch de>
+
+pkgbase=python-markups
+pkgname=(python-markups python2-markups)
+pkgver=0.6.3
+pkgrel=1
+pkgdesc='Wrapper around various text markups'
+arch=('any')
+url='https://launchpad.net/python-markups'
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=(http://pypi.python.org/packages/source/M/Markups/Markups-$pkgver.tar.gz)
+sha256sums=('e3ff5de2be018240c526e017972b37181cb3d5dfb7c96ad14eae6639140f58ef')
+
+package_python-markups() {
+  depends=('python')
+  optdepends=('python-markdown: markdown support'
+              'python-docutils: reST support')
+
+  cd "${srcdir}"/Markups-$pkgver
+  python setup.py install --root="${pkgdir}"
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-markups() {
+  depends=('python2')
+  optdepends=('python-markdown2: markdown support'
+              'python-docutils2: reST support')
+
+  cd "${srcdir}"/Markups-$pkgver
+  python2 setup.py install --root="${pkgdir}"
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list