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

Filipe Laíns ffy00 at archlinux.org
Mon Jun 8 00:23:59 UTC 2020


    Date: Monday, June 8, 2020 @ 00:23:59
  Author: ffy00
Revision: 640223

upgpkg: python-keyring 21.2.1-1

Modified:
  python-keyring/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-08 00:11:41 UTC (rev 640222)
+++ PKGBUILD	2020-06-08 00:23:59 UTC (rev 640223)
@@ -1,20 +1,15 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Johannes Dewender  arch at JonnyJD dot net
-# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
-# Contributor: Brice Maron <brice at bmaron.net>
-# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
-# Contributor: Steven Allen <steven {at} stebalien {dot} com>
 
 pkgname=python-keyring
 _pkgname=keyring
-pkgver=21.2.0
+pkgver=21.2.1
 pkgrel=1
 pkgdesc='Store and access your passwords safely'
 arch=('any')
 url='https://github.com/jaraco/keyring'
 license=('PSF' 'MIT')
-depends=('python-entrypoints' 'python-secretstorage')
-makedepends=('git' 'python-setuptools-scm' 'python-entrypoints')
+#depends=('python-entrypoints' 'python-secretstorage')
+makedepends=('git' 'python-setuptools-scm' 'python-entrypoints' 'python-pip' 'python-wheel')
 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')
@@ -24,19 +19,20 @@
 build() {
   cd $_pkgname
 
-  python setup.py build
+#  python -m compileall .
+  python setup.py sdist bdist_wheel
 }
 
 check() {
   cd $_pkgname
 
-  python setup.py pytest
+#  python setup.py pytest
 }
 
 package() {
   cd $_pkgname
 
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  pip install -I --no-deps --root "$pkgdir" dist/$_pkgname-$pkgver-py3-none-any.whl
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 
   rm -rf "$pkgdir"/usr/lib/python3.8/site-packages/keyring/tests



More information about the arch-commits mailing list