diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-03-01 16:10:33 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-03-01 16:10:33 (GMT) |
commit | 03e9f4368c9b23ff2a4ab74d4e97b7270e3bb536 (patch) | |
tree | 8bb652c97b5139f04372b2bda86325bf37581b38 | |
parent | f64f6ecc2b0fe42279201a201eeb366f5709f532 (diff) | |
download | linhes_pkgbuild-03e9f4368c9b23ff2a4ab74d4e97b7270e3bb536.zip linhes_pkgbuild-03e9f4368c9b23ff2a4ab74d4e97b7270e3bb536.tar.gz linhes_pkgbuild-03e9f4368c9b23ff2a4ab74d4e97b7270e3bb536.tar.bz2 |
python-sphinxcontrib-websupport: dep of python-sphinx
-rw-r--r-- | abs/core/python_modules/python-sphinxcontrib-websupport/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-sphinxcontrib-websupport/PKGBUILD b/abs/core/python_modules/python-sphinxcontrib-websupport/PKGBUILD new file mode 100644 index 0000000..f6be9ed --- /dev/null +++ b/abs/core/python_modules/python-sphinxcontrib-websupport/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Johannes Löthberg <johannes@kyriasis.com + +pkgbase=python-sphinxcontrib-websupport +pkgname=(python-sphinxcontrib-websupport python2-sphinxcontrib-websupport) +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Sphinx API for Web Apps" +arch=('any') +url="http://www.sphinx-doc.org/" +license=('BSD') +makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/$pkgver.tar.gz") +sha512sums=('06ee11f2b2212333a6d01201824879e5b5931e85db5f20badd62bc28ddba88ce7c0b3f0b7ce4f4e3d43cb8f66173b31d10e1264f0acc48bb2db7385f50c68313') + +prepare() { + cp -a sphinxcontrib-websupport-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/sphinxcontrib-websupport-$pkgver + python setup.py build + + cd "$srcdir"/sphinxcontrib-websupport-$pkgver-py2 + python2 setup.py build +} + +package_python-sphinxcontrib-websupport() { + cd "$srcdir"/sphinxcontrib-websupport-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-sphinxcontrib-websupport() { + cd "$srcdir"/sphinxcontrib-websupport-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |