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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 15:39:02 UTC 2019


    Date: Friday, October 25, 2019 @ 15:39:00
  Author: foutrelis
Revision: 519134

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx_rtd_theme/repos/community-staging-any/
  python-sphinx_rtd_theme/repos/community-staging-any/PKGBUILD
    (from rev 519133, python-sphinx_rtd_theme/trunk/PKGBUILD)

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

Copied: python-sphinx_rtd_theme/repos/community-staging-any/PKGBUILD (from rev 519133, python-sphinx_rtd_theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:39:00 UTC (rev 519134)
@@ -0,0 +1,44 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
+# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de>
+
+pkgbase=python-sphinx_rtd_theme
+pkgname=('python-sphinx_rtd_theme' 'python2-sphinx_rtd_theme')
+pkgver=0.4.3
+pkgrel=2
+
+pkgdesc="Python Sphinx Read The Docs Theme"
+url='https://github.com/rtfd/sphinx_rtd_theme/'
+arch=('any')
+license=('MIT')
+
+makedepends=('python-setuptools' 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz")
+
+sha256sums=('728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a')
+
+build() {
+  cp -r sphinx_rtd_theme-$pkgver sphinx_rtd_theme-$pkgver-py2
+
+  cd sphinx_rtd_theme-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/sphinx_rtd_theme-$pkgver-py2
+  python2 setup.py build
+}
+
+package_python-sphinx_rtd_theme() {
+  cd sphinx_rtd_theme-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-sphinx_rtd_theme() {
+  cd sphinx_rtd_theme-${pkgver}-py2 
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list