From 6f566757e0cb44ac339967209685c1d0cb11d18a Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 1 Jun 2015 10:47:13 -0500 Subject: python-markups: add new package to [pcr] --- pcr/python-markups/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pcr/python-markups/PKGBUILD (limited to 'pcr') diff --git a/pcr/python-markups/PKGBUILD b/pcr/python-markups/PKGBUILD new file mode 100644 index 000000000..d8a2c4674 --- /dev/null +++ b/pcr/python-markups/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer (Arch): Thomas Weißschuh +# Maintainer: Omar Vega Ramos + +pkgbase=python-markups +pkgname=(python-markups python2-markups) +pkgver=0.6.1 +pkgrel=1 +_libname=Markups +pkgdesc='Wrapper around various text markups' +url='http://launchpad.net/python-markups' +depends=('python') +makedepends=('python-setuptools' 'python2-setuptools') +license=('BSD3') +arch=('any') +source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) + +package_python-markups() { + depends=('python') + optdepends=('python-markdown: markdown support' + 'python-docutils: reST support') + + cd "$srcdir/$_libname-$pkgver" + python setup.py install --root="$pkgdir" +} + +package_python2-markups() { + depends=('python2') + optdepends=('python2-markdown: markdown support' + 'python2-docutils: reST support') + + cd "$srcdir/$_libname-$pkgver" + python2 setup.py install --root="$pkgdir" +} + +sha256sums=('1f3d6f7b85ac9ddcb936b8b2b6fa15a42ddc9dfc22a075d83d9160b5d59f6d84') -- cgit v1.2.3-2-g168b