Date: Thursday, April 6, 2023 @ 13:21:21
Author: felixonmars
Revision: 1438858
archrelease: copy trunk to community-staging-any
Added:
python-sphinxcontrib-fulltoc/repos/community-staging-any/
python-sphinxcontrib-fulltoc/repos/community-staging-any/PKGBUILD
(from rev 1438857, python-sphinxcontrib-fulltoc/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: python-sphinxcontrib-fulltoc/repos/community-staging-any/PKGBUILD (from
rev 1438857, python-sphinxcontrib-fulltoc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 13:21:21 UTC (rev 1438858)
@@ -0,0 +1,43 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-sphinxcontrib-fulltoc
+pkgver=1.2
+pkgrel=3
+pkgdesc='Sphinx extension to show full table of contents in the sidebar'
+arch=('any')
+url='https://github.com/sphinx-contrib/fulltoc'
+license=('Apache')
+depends=('python' 'python-sphinx')
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-setuptools'
+ 'python-pbr'
+)
+_commit='ddbd9545fd2b8103cf31ded01b457772c4579e5c'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+ # issue opened regarding deprecation warnings
+ # https://github.com/sphinx-contrib/fulltoc/issues/24
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
+
+# vim: ts=2 sw=2 et