[arch-commits] Commit in python-sphinxcontrib-websupport/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 15:35:48 UTC 2019


    Date: Friday, October 25, 2019 @ 15:35:47
  Author: foutrelis
Revision: 519107

archrelease: copy trunk to community-staging-any

Added:
  python-sphinxcontrib-websupport/repos/community-staging-any/
  python-sphinxcontrib-websupport/repos/community-staging-any/PKGBUILD
    (from rev 519106, python-sphinxcontrib-websupport/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-sphinxcontrib-websupport/repos/community-staging-any/PKGBUILD (from rev 519106, python-sphinxcontrib-websupport/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:35:47 UTC (rev 519107)
@@ -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.1.2
+pkgrel=2
+pkgdesc="Sphinx API for Web Apps"
+arch=('any')
+url="https://www.sphinx-doc.org/"
+license=('BSD')
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
+source=(https://pypi.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-$pkgver.tar.gz)
+sha512sums=('55754f6304f38abd50f410da164f401a1b9a1d289b19f0077a38f72ce11a2dd64eff0713bb99471e470ff15fbd6a0042d49bab14c92f82cdd61019adbb88397e')
+
+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