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

Felix Yan felixonmars at archlinux.org
Sat Jun 30 05:45:25 UTC 2018


    Date: Saturday, June 30, 2018 @ 05:45:24
  Author: felixonmars
Revision: 347916

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 347915, python-sphinx_rtd_theme/trunk/PKGBUILD)

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

Copied: python-sphinx_rtd_theme/repos/community-staging-any/PKGBUILD (from rev 347915, python-sphinx_rtd_theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 05:45:24 UTC (rev 347916)
@@ -0,0 +1,45 @@
+# $Id$
+# 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.0
+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=('de88d637a60371d4f923e06b79c4ba260490c57d2ab5a8316942ab5d9a6ce1bf')
+
+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