[arch-commits] Commit in python-sphinx_rtd_theme/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Sep 13 21:25:04 UTC 2021
Date: Monday, September 13, 2021 @ 21:25:04
Author: polyzen
Revision: 1014733
upgpkg: python-sphinx_rtd_theme 1.0.0-1
Modified:
python-sphinx_rtd_theme/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-13 21:14:43 UTC (rev 1014732)
+++ PKGBUILD 2021-09-13 21:25:04 UTC (rev 1014733)
@@ -4,7 +4,7 @@
# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de>
pkgname=python-sphinx_rtd_theme
-pkgver=0.5.2
+pkgver=1.0.0
pkgrel=1
pkgdesc='Read the Docs theme for Sphinx'
arch=('any')
@@ -11,12 +11,18 @@
url=https://github.com/readthedocs/sphinx_rtd_theme
license=('MIT')
depends=('python-sphinx')
-makedepends=('npm' 'python-setuptools' 'python2')
+makedepends=('nodejs-lts-fermium' 'npm' 'python-setuptools' 'python2')
source=("$url/archive/$pkgver/sphinx_rtd_theme-$pkgver.tar.gz")
-b2sums=('0e9ba4030e88561710df650b5b7e821e785c2e496e93694a52f8c6585e6cfcfb6b0de7b309693bbd929b21691e202c46949eb0f5e66ab30588ebadb3f2fb217a')
+b2sums=('c70740d1f6b6afddd2b32b756e1f6940846459038d6ea0f03b218cfeb07e0974f4d186f9993eeddda58115d0b2a607e61b28081576b9f953d855f3cc3d51d836')
+prepare() {
+ cd sphinx_rtd_theme-$pkgver
+ npm ci
+}
+
build() {
cd sphinx_rtd_theme-$pkgver
+ npm run build
python setup.py build
}
More information about the arch-commits
mailing list