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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 12:42:09 UTC 2020


    Date: Monday, November 9, 2020 @ 12:42:08
  Author: felixonmars
Revision: 746884

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

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

Copied: python-sphinx_rtd_theme/repos/community-staging-any/PKGBUILD (from rev 746883, python-sphinx_rtd_theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 12:42:08 UTC (rev 746884)
@@ -0,0 +1,27 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
+# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de>
+
+pkgname=python-sphinx_rtd_theme
+pkgver=0.5.0
+pkgrel=2
+pkgdesc='Read the Docs theme for Sphinx'
+arch=('any')
+url=https://github.com/readthedocs/sphinx_rtd_theme
+license=('MIT')
+depends=('python-setuptools' 'python-sphinx')
+makedepends=('npm' 'python2')
+source=("$url/archive/$pkgver/sphinx_rtd_theme-$pkgver.tar.gz")
+sha512sums=('e5d3f653649f10bcbb953fa18fe79f2b8663da205cc6c6d4ee702789b86de19ac525065b214e3e419e0a34feda35e54b3abd5e82b2a5e657821675125dc9dfdc')
+
+build() {
+  cd sphinx_rtd_theme-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd sphinx_rtd_theme-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}



More information about the arch-commits mailing list