[arch-commits] Commit in python-pykeepass/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun Mar 14 19:10:35 UTC 2021


    Date: Sunday, March 14, 2021 @ 19:10:35
  Author: bgyorgy
Revision: 891285

upgpkg: python-pykeepass 4.0.0-1: Update to new version

Modified:
  python-pykeepass/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-14 18:59:27 UTC (rev 891284)
+++ PKGBUILD	2021-03-14 19:10:35 UTC (rev 891285)
@@ -2,30 +2,24 @@
 
 _pkgname=pykeepass
 pkgname=python-pykeepass
-pkgver=3.2.1
-pkgrel=4
+pkgver=4.0.0
+pkgrel=1
 pkgdesc="Python library to interact with keepass databases"
 arch=('any')
-url="https://github.com/pschmitt/pykeepass"
+url="https://github.com/libkeepass/pykeepass"
 license=('GPL3')
 depends=(python-argon2_cffi python-construct python-dateutil python-future python-lxml python-pycryptodomex)
-makedepends=(git python-setuptools)
-_commit=4ef5069d14131b2ac8d34ef260afdbd58bffb3a4  # tags/3.2.1
-source=("git+https://github.com/pschmitt/pykeepass#commit=$_commit")
-sha256sums=('SKIP')
+makedepends=(python-setuptools)
+source=("https://github.com/libkeepass/$_pkgname/archive/$pkgver/$_pkgname-$pkgver.tar.gz")
+md5sums=('3d6a498a29f0db0f7abb98d1bd7f2409')
 
-pkgver() {
-  cd $_pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
 build() {
-  cd $_pkgname
+  cd $_pkgname-$pkgver
   python3 setup.py build
 }
 
 package() {
-  cd $_pkgname
+  cd $_pkgname-$pkgver
   python3 setup.py install --root="$pkgdir" --optimize=1
   rm -r "$pkgdir"/usr/lib/python*/site-packages/tests/
 }



More information about the arch-commits mailing list