[arch-commits] Commit in python-keyring/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 06:13:53 UTC 2019
Date: Saturday, October 26, 2019 @ 06:13:53
Author: foutrelis
Revision: 520228
archrelease: copy trunk to community-staging-any
Added:
python-keyring/repos/community-staging-any/
python-keyring/repos/community-staging-any/PKGBUILD
(from rev 520227, python-keyring/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: python-keyring/repos/community-staging-any/PKGBUILD (from rev 520227, python-keyring/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 06:13:53 UTC (rev 520228)
@@ -0,0 +1,43 @@
+# 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=19.2.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=('python-setuptools-scm' 'python-entrypoints')
+checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python-pytest-black')
+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=('1fe423f2a7e5331a9d1b37624f4d88b60f77c2cb2c8f8b0808a2f90f43eb9533faa533068e0d8f75b4bdddba2d160f5fac2500c93760fde64fbdb269f8668b0f')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+
+ python setup.py pytest
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list