Date: Saturday, October 22, 2022 @ 08:04:20
  Author: dvzrv
Revision: 1333429

upgpkg: hyperkitty 1.3.6-1: Update to 1.3.7.

Remove unused local variable in package().
Switch back signature checking.

Modified:
  hyperkitty/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-22 07:55:00 UTC (rev 1333428)
+++ PKGBUILD    2022-10-22 08:04:20 UTC (rev 1333429)
@@ -2,8 +2,8 @@
 
 _name=HyperKitty
 pkgname=hyperkitty
-pkgver=1.3.5.r207.g6f6a7587
-_commit=6f6a7587e519d45a6f005a031ee7be1ce0d13061  # somewhere post 1.3.5 on 
master
+pkgver=1.3.6
+_commit=9b24e66213704f69733635677669452381118f24 # refs/tags/v1.3.6
 pkgrel=1
 pkgdesc="A web interface to access GNU Mailman v3 archives"
 arch=(any)
@@ -31,7 +31,7 @@
 )
 install=$pkgname.install
 source=(
-  git+https://gitlab.com/mailman/hyperkitty#commit=$_commit
+  git+https://gitlab.com/mailman/hyperkitty#tag=$_commit?signed
   $pkgname-1.3.5-settings.patch
   $pkgname-qcluster.service
   $pkgname.sysusers
@@ -54,7 +54,7 @@
 
 pkgver() {
   cd $pkgname
-  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/v//g;s/-/./g'
+  git describe | sed 's/\([^-]*-g\)/r\1/;s/v//g;s/-/./g'
 }
 
 prepare() {
@@ -77,7 +77,6 @@
 
 package() {
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  local python_stdlib_basepath="$(python -c "from sysconfig import get_path; 
print(get_path('stdlib'))")"
 
   cd $pkgname
   python -m installer --destdir="$pkgdir" dist/*.whl

Reply via email to