George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-sphinx-tabs


Commits:
53426ea4 by George Rawlinson at 2023-10-23T20:29:58+13:00
upgpkg: 3.4.4-1

* New upstream release.
* Symlink license file.

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,20 @@
+pkgbase = python-sphinx-tabs
+       pkgdesc = Create tabbed content in Sphinx documentation
+       pkgver = 3.4.4
+       pkgrel = 1
+       url = https://sphinx-tabs.readthedocs.io/
+       arch = any
+       license = MIT
+       makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
+       makedepends = python-setuptools
+       depends = python
+       depends = python-sphinx
+       depends = python-docutils
+       depends = python-pygments
+       source = 
python-sphinx-tabs::git+https://github.com/executablebooks/sphinx-tabs#commit=eac2a227ca0d375bad3706cf1cf170d760510a22
+       b2sums = SKIP
+
+pkgname = python-sphinx-tabs


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
 # Maintainer: George Rawlinson <[email protected]>
 
 pkgname=python-sphinx-tabs
-pkgver=3.4.1
-pkgrel=2
+pkgver=3.4.4
+pkgrel=1
 pkgdesc='Create tabbed content in Sphinx documentation'
 arch=('any')
 url='https://sphinx-tabs.readthedocs.io/'
@@ -20,7 +20,7 @@ makedepends=(
   'python-wheel'
   'python-setuptools'
 )
-_commit='9431223384729010ba29c27c2d2976ce76b7e1ad'
+_commit='eac2a227ca0d375bad3706cf1cf170d760510a22'
 
source=("$pkgname::git+https://github.com/executablebooks/sphinx-tabs#commit=$_commit";)
 b2sums=('SKIP')
 
@@ -41,6 +41,9 @@ package() {
 
   python -m installer --destdir="$pkgdir" dist/*.whl
 
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+  # symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  ln -s "$site_packages/sphinx_tabs-$pkgver.dist-info/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sphinx-tabs/-/commit/53426ea412a32531b7a8564b5f0c1c2e7503b1d7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sphinx-tabs/-/commit/53426ea412a32531b7a8564b5f0c1c2e7503b1d7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to