[arch-commits] Commit in python-sphinxcontrib-websupport/repos (2 files)
Johannes Löthberg
demize at archlinux.org
Mon May 22 18:54:11 UTC 2017
Date: Monday, May 22, 2017 @ 18:54:10
Author: demize
Revision: 229303
archrelease: copy trunk to community-any
Added:
python-sphinxcontrib-websupport/repos/community-any/
python-sphinxcontrib-websupport/repos/community-any/PKGBUILD
(from rev 229302, python-sphinxcontrib-websupport/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-sphinxcontrib-websupport/repos/community-any/PKGBUILD (from rev 229302, python-sphinxcontrib-websupport/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2017-05-22 18:54:10 UTC (rev 229303)
@@ -0,0 +1,37 @@
+# Maintainer: Johannes Löthberg <johannes at 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:
More information about the arch-commits
mailing list