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

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Nov 29 22:19:12 UTC 2021


    Date: Monday, November 29, 2021 @ 22:19:12
  Author: foutrelis
Revision: 1057646

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

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

Copied: python-sphinx_rtd_theme/repos/community-staging-any/PKGBUILD (from rev 1057645, python-sphinx_rtd_theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-29 22:19:12 UTC (rev 1057646)
@@ -0,0 +1,35 @@
+# 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=1.0.0
+pkgrel=2
+pkgdesc='Read the Docs theme for Sphinx'
+arch=('any')
+url=https://github.com/readthedocs/sphinx_rtd_theme
+license=('MIT')
+depends=('python-sphinx')
+makedepends=('nodejs-lts-fermium' 'npm' 'python-setuptools' 'python2')
+source=("$url/archive/$pkgver/sphinx_rtd_theme-$pkgver.tar.gz")
+b2sums=('c70740d1f6b6afddd2b32b756e1f6940846459038d6ea0f03b218cfeb07e0974f4d186f9993eeddda58115d0b2a607e61b28081576b9f953d855f3cc3d51d836')
+
+prepare() {
+  cd sphinx_rtd_theme-$pkgver
+  npm ci
+}
+
+build() {
+  cd sphinx_rtd_theme-$pkgver
+  npm run build
+  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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list