Date: Friday, April 7, 2023 @ 04:03:30
  Author: felixonmars
Revision: 1440433

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-tabs/repos/community-staging-any/
  python-sphinx-tabs/repos/community-staging-any/PKGBUILD
    (from rev 1440430, python-sphinx-tabs/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: python-sphinx-tabs/repos/community-staging-any/PKGBUILD (from rev 
1440430, python-sphinx-tabs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 04:03:30 UTC (rev 1440433)
@@ -0,0 +1,46 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-sphinx-tabs
+pkgver=3.4.1
+pkgrel=2
+pkgdesc='Create tabbed content in Sphinx documentation'
+arch=('any')
+url='https://sphinx-tabs.readthedocs.io/'
+license=('MIT')
+depends=(
+  'python'
+  'python-sphinx'
+  'python-docutils'
+  'python-pygments'
+)
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-wheel'
+  'python-setuptools'
+)
+_commit='9431223384729010ba29c27c2d2976ce76b7e1ad'
+source=("$pkgname::git+https://github.com/executablebooks/sphinx-tabs#commit=$_commit";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "$pkgname"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Reply via email to