[arch-commits] Commit in python-sphinx_rtd_theme/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Wed Jun 17 19:28:42 UTC 2020
Date: Wednesday, June 17, 2020 @ 19:28:41
Author: polyzen
Revision: 646558
upgpkg: python-sphinx_rtd_theme 0.5.0-1
Modified:
python-sphinx_rtd_theme/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-17 19:27:52 UTC (rev 646557)
+++ PKGBUILD 2020-06-17 19:28:41 UTC (rev 646558)
@@ -1,22 +1,20 @@
# 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.4.3
-pkgrel=4
-
-pkgdesc="Python Sphinx Read The Docs Theme"
-url='https://github.com/rtfd/sphinx_rtd_theme/'
+pkgver=0.5.0
+pkgrel=1
+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')
+source=("$url/archive/$pkgver/sphinx_rtd_theme-$pkgver.tar.gz")
+sha512sums=('e5d3f653649f10bcbb953fa18fe79f2b8663da205cc6c6d4ee702789b86de19ac525065b214e3e419e0a34feda35e54b3abd5e82b2a5e657821675125dc9dfdc')
-makedepends=('python-setuptools' 'python2-setuptools')
-
-source=("https://pypi.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$pkgver.tar.gz")
-
-sha256sums=('728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a')
-
build() {
cd sphinx_rtd_theme-$pkgver
python setup.py build
@@ -24,7 +22,6 @@
package() {
cd sphinx_rtd_theme-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ 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