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

Filipe Laíns ffy00 at archlinux.org
Tue Dec 10 09:42:13 UTC 2019


    Date: Tuesday, December 10, 2019 @ 09:42:12
  Author: ffy00
Revision: 536495

upgpkg: python-keyring 20.0.0-1

Modified:
  python-keyring/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-10 09:06:45 UTC (rev 536494)
+++ PKGBUILD	2019-12-10 09:42:12 UTC (rev 536495)
@@ -7,7 +7,7 @@
 
 pkgname=python-keyring
 _pkgname=keyring
-pkgver=19.3.0
+pkgver=20.0.0
 pkgrel=1
 pkgdesc='Store and access your passwords safely'
 arch=('any')
@@ -15,16 +15,15 @@
 license=('PSF' 'MIT')
 depends=('python-entrypoints' 'python-secretstorage')
 makedepends=('python-setuptools-scm' 'python-entrypoints')
-checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python-pytest-black' 'python-keyrings-alt')
+checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python-pytest-black' 'python-pytest-cov' 'python-keyrings-alt')
 optdepends=('python-keyrings-alt: Alternative backends'
             'python-dbus: kwallet backend')
 source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
-sha512sums=('c0950a6c449718d735539014ed6d2b4455d615da6773d18d189c736260bd785437e34a2ae1b16ad42b36229996f5066cb3cd33083eeb8177f4ba886406c85d06')
+sha512sums=('6861e7222349c1fb87406fda83b91bf14dbc3b77ee204cd0d4e837106671ed51a632e7ac8c8aed433e6a57686887ca2303b94ff1a5a7c44924df2b43bf232883')
 
 prepare() {
   cd $_pkgname-$pkgver
 
-  sed -i 's| --cov||' pytest.ini
   rm tests/test_packaging.py
 }
 
@@ -45,6 +44,8 @@
 
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  rm -rf "$pkgdir"/usr/lib/python3.8/site-packages/keyring/tests
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list