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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 22:31:07 UTC 2021


    Date: Tuesday, November 30, 2021 @ 22:31:06
  Author: felixonmars
Revision: 1059017

archrelease: copy trunk to community-staging-any

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

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

Copied: python-keyring/repos/community-staging-any/PKGBUILD (from rev 1059016, python-keyring/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 22:31:06 UTC (rev 1059017)
@@ -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=23.0.1
+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' 'python-importlib-metadata')
+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.10/site-packages/keyring/tests
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list