Date: Wednesday, November 23, 2022 @ 01:08:31
Author: kgizdov
Revision: 1351982
archrelease: copy trunk to community-any
Added:
python-sphinx_rtd_theme/repos/community-any/PKGBUILD
(from rev 1351981, python-sphinx_rtd_theme/trunk/PKGBUILD)
Deleted:
python-sphinx_rtd_theme/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-23 01:08:24 UTC (rev 1351981)
+++ PKGBUILD 2022-11-23 01:08:31 UTC (rev 1351982)
@@ -1,35 +0,0 @@
-# Maintainer: Johannes Löthberg <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-# 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=5
-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')
-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:
Copied: python-sphinx_rtd_theme/repos/community-any/PKGBUILD (from rev 1351981,
python-sphinx_rtd_theme/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-23 01:08:31 UTC (rev 1351982)
@@ -0,0 +1,35 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
+# Contributor: Romain Schmitz <slopjong .at. slopjong .dot. de>
+
+pkgname=python-sphinx_rtd_theme
+pkgver=1.1.1
+pkgrel=1
+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-scm' 'python-build'
'python-installer' 'python-wheel')
+source=("$url/archive/$pkgver/sphinx_rtd_theme-$pkgver.tar.gz")
+b2sums=('1998051e814fcbee541ffe53ccaa5d1ebdeaa27bb95c2e68c840032660fc105621041f72a12c6f2ec77db400cfef21a57850e351921572a71b52dfa2e0b460fc')
+
+prepare() {
+ cd sphinx_rtd_theme-$pkgver
+ npm ci
+}
+
+build() {
+ cd sphinx_rtd_theme-$pkgver
+ npm run build
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd sphinx_rtd_theme-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et: