Date: Friday, March 17, 2023 @ 15:30:52
  Author: yan12125
Revision: 1421291

upgpkg: python-hvac 1.1.0-1; drop no longer needed dep 'python-six'

See: https://github.com/hvac/hvac/pull/822

Modified:
  python-hvac/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-17 15:21:20 UTC (rev 1421290)
+++ PKGBUILD    2023-03-17 15:30:52 UTC (rev 1421291)
@@ -4,13 +4,13 @@
 _pkgname=hvac
 pkgname=python-$_pkgname
 # https://github.com/hvac/hvac/releases
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
 pkgdesc='Python 2.7/3.X client for HashiCorp Vault'
 url='https://python-hvac.org/'
 license=(Apache)
 arch=(any)
-depends=(python python-pyhcl python-requests python-six)
+depends=(python python-pyhcl python-requests)
 makedepends=(python-build python-installer python-poetry-core vault)
 checkdepends=(python-pytest python-authlib python-flask python-flask-sqlalchemy
               python-parameterized python-requests-mock python-werkzeug 
python-jwcrypto
@@ -17,7 +17,7 @@
               consul)
 # Upstream intentionally prune tests from sdists 
(https://github.com/hvac/hvac/pull/356)
 
source=("https://github.com/$_pkgname/$_pkgname/archive/v$pkgver/$_pkgname-$pkgver.tar.gz";)
-sha512sums=('e0f81682be5308a418c2246b03573f0001b9e619e1dc6435b9c9bb608e496a6406b862e28c337afe56cd2d2432d9a0240af5529841d3d6b1b60b662b9b56b668')
+sha512sums=('b9201aaaabbc3f6831951022152be0a05f486a021728a543ca32f88efcb1f29e9d62c0a20afcafbb0e9354a6c1d44ad64b5b0685daf7070cb8b618156b9454c7')
 
 prepare() {
   # /usr/bin/vault not working in clean chroots as it requires CAP_IPC_LOCK
@@ -38,8 +38,10 @@
 check() {
   cd $_pkgname-$pkgver
   # test_ldap requires many unpackaged dependencies
+  # dynamic SSH key support was dropped in vault 1.13 
https://developer.hashicorp.com/vault/docs/v1.12.x/deprecation
   PATH="$srcdir/vault-unprivileged:$PATH" pytest tests \
-    --ignore=tests/integration_tests/api/auth_methods/test_ldap.py
+    --ignore=tests/integration_tests/api/auth_methods/test_ldap.py \
+    -k 'not test_create_key and not test_delete_key'
 }
 
 package() {

Reply via email to