From 03e9f4368c9b23ff2a4ab74d4e97b7270e3bb536 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 1 Mar 2018 16:10:33 +0000
Subject: python-sphinxcontrib-websupport: dep of python-sphinx

---
 .../python-sphinxcontrib-websupport/PKGBUILD       | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 abs/core/python_modules/python-sphinxcontrib-websupport/PKGBUILD

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:
-- 
cgit v0.12