diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-06-01 10:47:13 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-06-01 10:47:13 -0500 |
commit | 6f566757e0cb44ac339967209685c1d0cb11d18a (patch) | |
tree | d9015baff5ceb027f65f94fd262aff2eb7e88b4b /pcr | |
parent | 657ef701f1d658d5e49e1bcb98f5a8ac88dbea3d (diff) |
python-markups: add new package to [pcr]
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') |