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

Filipe Laíns ffy00 at archlinux.org
Sat Mar 21 18:14:48 UTC 2020


    Date: Saturday, March 21, 2020 @ 18:14:47
  Author: ffy00
Revision: 602944

upgpkg: python-keyring 21.2.0-1

Modified:
  python-keyring/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 18:13:21 UTC (rev 602943)
+++ PKGBUILD	2020-03-21 18:14:47 UTC (rev 602944)
@@ -7,7 +7,7 @@
 
 pkgname=python-keyring
 _pkgname=keyring
-pkgver=21.1.0
+pkgver=21.2.0
 pkgrel=1
 pkgdesc='Store and access your passwords safely'
 arch=('any')
@@ -14,33 +14,27 @@
 url='https://github.com/jaraco/keyring'
 license=('PSF' 'MIT')
 depends=('python-entrypoints' 'python-secretstorage')
-makedepends=('python-setuptools-scm' 'python-entrypoints')
+makedepends=('git' 'python-setuptools-scm' 'python-entrypoints')
 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=('9d5b2d1a18ec9f814599d8b2ff3ea6c9e72a77a99556c6377c5259f105e2b61b89610cec7717ae47c372bbec6854ad0948fa60ea0fdda458758ea9da66010323')
+source=("git+$url#tag=v$pkgver")
+sha512sums=('SKIP')
 
-prepare() {
-  cd $_pkgname-$pkgver
-
-  rm tests/test_packaging.py
-}
-
 build() {
-  cd $_pkgname-$pkgver
+  cd $_pkgname
 
   python setup.py build
 }
 
 check() {
-  cd $_pkgname-$pkgver
+  cd $_pkgname
 
   python setup.py pytest
 }
 
 package() {
-  cd $_pkgname-$pkgver
+  cd $_pkgname
 
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE



More information about the arch-commits mailing list