[arch-commits] Commit in python-keyring/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 16 16:48:05 UTC 2017
Date: Saturday, December 16, 2017 @ 16:48:04
Author: felixonmars
Revision: 274582
archrelease: copy trunk to community-any
Added:
python-keyring/repos/community-any/PKGBUILD
(from rev 274581, python-keyring/trunk/PKGBUILD)
Deleted:
python-keyring/repos/community-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-16 16:47:47 UTC (rev 274581)
+++ PKGBUILD 2017-12-16 16:48:04 UTC (rev 274582)
@@ -1,61 +0,0 @@
-# $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>
-
-pkgbase=python-keyring
-pkgname=('python-keyring' 'python2-keyring')
-pkgver=10.5.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")
-makedepends=('python-setuptools_scm' 'python2-setuptools_scm' 'python-secretstorage'
- 'python2-secretstorage')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-sha512sums=('da1cd064ae896458b1bfc6906a3d40abaa45b6e69f5760fb87d7f7176eab2c909515bbf6e3f01ecd821e340fd1f967ef2aed02053d4211e87533ea4fd6b4e08c')
-
-prepare() {
- cp -a keyring-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/keyring-$pkgver
- python setup.py build
-
- cd "$srcdir"/keyring-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/keyring-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/keyring-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-keyring() {
- depends=('python-setuptools' 'python-secretstorage')
- optdepends=('python-keyrings-alt: Alternative backends')
-
- cd keyring-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-keyring() {
- depends=('python2-setuptools' 'python2-secretstorage')
- optdepends=('python2-keyrings-alt: Alternative backends')
-
- cd keyring-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir"/usr/bin/keyring{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-keyring/repos/community-any/PKGBUILD (from rev 274581, python-keyring/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-16 16:48:04 UTC (rev 274582)
@@ -0,0 +1,61 @@
+# $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>
+
+pkgbase=python-keyring
+pkgname=('python-keyring' 'python2-keyring')
+pkgver=10.5.1
+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")
+makedepends=('python-setuptools_scm' 'python2-setuptools_scm' 'python-secretstorage'
+ 'python2-secretstorage')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+sha512sums=('2e18487c061d67b866390e4f2f740ceb281b75e9ead01c00e2851aec9f56cffb6268334b35d64b498eaa719639fceceb29cf6adf46c6930e3506c04f672e897c')
+
+prepare() {
+ cp -a keyring-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/keyring-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/keyring-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/keyring-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/keyring-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-keyring() {
+ depends=('python-setuptools' 'python-secretstorage')
+ optdepends=('python-keyrings-alt: Alternative backends')
+
+ cd keyring-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-keyring() {
+ depends=('python2-setuptools' 'python2-secretstorage')
+ optdepends=('python2-keyrings-alt: Alternative backends')
+
+ cd keyring-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/keyring{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list