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

Felix Yan felixonmars at archlinux.org
Sun Jun 17 18:33:15 UTC 2018


    Date: Sunday, June 17, 2018 @ 18:33:15
  Author: felixonmars
Revision: 343481

archrelease: copy trunk to community-testing-any

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

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

Copied: python-keyring/repos/community-testing-any/PKGBUILD (from rev 343480, python-keyring/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-06-17 18:33:15 UTC (rev 343481)
@@ -0,0 +1,43 @@
+# $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.0.0
+pkgrel=1
+pkgdesc="Store and access your passwords safely."
+arch=('any')
+url="http://pypi.python.org/pypi/keyring"
+license=('PSF' 'MIT')
+source=("https://pypi.io/packages/source/k/keyring/keyring-$pkgver.tar.gz")
+depends=('python-entrypoints' 'python-secretstorage')
+optdepends=('python-keyrings-alt: Alternative backends')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-flake8' 'python-pytest-runner')
+sha512sums=('d06cd64a435a08ec18eea595f2a37769e823e9095cb5585f7b6532804a4cfaae807e7ace4bd4afde7f11480d202b09878480bd7d7de37dc7e6ce2214f0d38991')
+
+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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list