diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/python-markups/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
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 <thomas t-8ch de> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + +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') |