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

Eli Schwartz eschwartz at archlinux.org
Wed Jul 18 06:00:57 UTC 2018


    Date: Wednesday, July 18, 2018 @ 06:00:57
  Author: eschwartz
Revision: 361754

archrelease: copy trunk to community-staging-any

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

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

Copied: python-keyring/repos/community-staging-any/PKGBUILD (from rev 361753, python-keyring/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-18 06:00:57 UTC (rev 361754)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars 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
+pkgver=13.2.1
+pkgrel=2
+pkgdesc="Store and access your passwords safely."
+arch=('any')
+url="https://pypi.org/project/keyring/"
+license=('PSF' 'MIT')
+depends=('python-entrypoints' 'python-secretstorage')
+optdepends=('python-keyrings-alt: Alternative backends')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-flake8' 'python-pytest-runner')
+source=("https://pypi.io/packages/source/k/keyring/keyring-$pkgver.tar.gz")
+sha512sums=('3c15c3415ba4b657b041d2395536fc92ba656dc71f28669235f13a630946ad1b332d1f5b031a55776ce8a2120d3d2601462708f00ee105f46a27cf043c1bd906')
+
+prepare() {
+  cd keyring-$pkgver
+  echo -e '\nflake8-ignore = W191 W503 W504' >> pytest.ini
+}
+
+build() {
+  cd keyring-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd keyring-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd keyring-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list