Date: Monday, April 10, 2023 @ 10:18:07
Author: felixonmars
Revision: 1443921
archrelease: copy trunk to community-staging-any
Added:
python-sphinx-furo/repos/community-staging-any/PKGBUILD
(from rev 1443920, python-sphinx-furo/trunk/PKGBUILD)
python-sphinx-furo/repos/community-staging-any/keys/
Deleted:
python-sphinx-furo/repos/community-staging-any/PKGBUILD
python-sphinx-furo/repos/community-staging-any/keys/
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 10:17:57 UTC (rev 1443920)
+++ PKGBUILD 2023-04-10 10:18:07 UTC (rev 1443921)
@@ -1,56 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-
-_pkgname=furo
-pkgname=python-sphinx-$_pkgname
-pkgver=2023.03.27
-pkgrel=2
-pkgdesc='Clean customizable documentation theme for Sphinx'
-arch=('any')
-url='https://github.com/pradyunsg/furo'
-license=('MIT')
-depends=('python-sphinx-basic-ng' 'python-pygments' 'python-beautifulsoup4')
-makedepends=('python-build' 'python-installer' 'python-sphinx-theme-builder'
'python-flit-core'
- 'nodejs-lts-gallium' 'npm' 'expac' 'git')
-source=("git+$url.git#tag=$pkgver?signed")
-b2sums=('SKIP')
-validpgpkeys=('E2FEFA4CA4BDD28171DB00F3FF99710C4332258E') # Pradyun Gedam
(GitHub July 2020 Key) <[email protected]>
-
-prepare() {
- cd $_pkgname
- # force use of system nodejs
- local node_ver=$(expac %v nodejs-lts-gallium | cut -d - -f 1)
- sed -i "s/16.15.1/$node_ver/" pyproject.toml
-}
-
-build() {
- cd $_pkgname
-
- STB_USE_SYSTEM_NODE=true python -m build -nw
-
- # docs disabled for now to unblock Python 3.10 update
-
- # sphinx needs this theme installed because it is uses it.
- # simply injecting the package to sys.path (via PYTHONPATH or similar)
- # is not enough because sphinx looks for themes in the registered
- # entrypoints, this means we actually have to install the package.
- # for this we will create a venv with access to system packages and
- # install the theme there, then we will build the documentation.
-
- #python -m venv --system-site-packages doc-env
- #doc-env/bin/python setup.py install --skip-build
-
- #doc-env/bin/python /usr/bin/sphinx-build -b dirhtml -v docs build/docs/html
-}
-
-package() {
- cd $_pkgname
-
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- #install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
- #cp -r -a --no-preserve=ownership build/docs/html
"$pkgdir"/usr/share/doc/$pkgname
- #rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
-
- install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-sphinx-furo/repos/community-staging-any/PKGBUILD (from rev
1443920, python-sphinx-furo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 10:18:07 UTC (rev 1443921)
@@ -0,0 +1,56 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+
+_pkgname=furo
+pkgname=python-sphinx-$_pkgname
+pkgver=2023.03.27
+pkgrel=3
+pkgdesc='Clean customizable documentation theme for Sphinx'
+arch=('any')
+url='https://github.com/pradyunsg/furo'
+license=('MIT')
+depends=('python-sphinx-basic-ng' 'python-pygments' 'python-beautifulsoup4')
+makedepends=('python-build' 'python-installer' 'python-sphinx-theme-builder'
'python-flit-core'
+ 'nodejs-lts-gallium' 'npm' 'expac' 'git')
+source=("git+$url.git#tag=$pkgver?signed")
+b2sums=('SKIP')
+validpgpkeys=('E2FEFA4CA4BDD28171DB00F3FF99710C4332258E') # Pradyun Gedam
(GitHub July 2020 Key) <[email protected]>
+
+prepare() {
+ cd $_pkgname
+ # force use of system nodejs
+ local node_ver=$(expac %v nodejs-lts-gallium | cut -d - -f 1)
+ sed -i "s/16.15.1/$node_ver/" pyproject.toml
+}
+
+build() {
+ cd $_pkgname
+
+ STB_USE_SYSTEM_NODE=true python -m build -nw
+
+ # docs disabled for now to unblock Python 3.10 update
+
+ # sphinx needs this theme installed because it is uses it.
+ # simply injecting the package to sys.path (via PYTHONPATH or similar)
+ # is not enough because sphinx looks for themes in the registered
+ # entrypoints, this means we actually have to install the package.
+ # for this we will create a venv with access to system packages and
+ # install the theme there, then we will build the documentation.
+
+ #python -m venv --system-site-packages doc-env
+ #doc-env/bin/python setup.py install --skip-build
+
+ #doc-env/bin/python /usr/bin/sphinx-build -b dirhtml -v docs build/docs/html
+}
+
+package() {
+ cd $_pkgname
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ #install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+ #cp -r -a --no-preserve=ownership build/docs/html
"$pkgdir"/usr/share/doc/$pkgname
+ #rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}