[arch-commits] Commit in python-keyring/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 19:25:06 UTC 2020


    Date: Monday, November 9, 2020 @ 19:25:06
  Author: felixonmars
Revision: 748073

archrelease: copy trunk to community-staging-any

Added:
  python-keyring/repos/community-staging-any/
  python-keyring/repos/community-staging-any/PKGBUILD
    (from rev 748072, python-keyring/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: python-keyring/repos/community-staging-any/PKGBUILD (from rev 748072, python-keyring/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:25:06 UTC (rev 748073)
@@ -0,0 +1,45 @@
+# 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.5.0
+pkgrel=2
+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')
+checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-mypy' 'python-keyrings-alt')
+optdepends=('python-keyrings-alt: Alternative backends'
+            'python-dbus: kwallet backend')
+source=("git+$url#tag=v$pkgver")
+sha512sums=('SKIP')
+
+build() {
+  cd $_pkgname
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname
+
+  python setup.py pytest
+}
+
+package() {
+  cd $_pkgname
+
+  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.9/site-packages/keyring/tests
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list