[arch-commits] Commit in python-keyring/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jan 8 05:00:06 UTC 2018
Date: Monday, January 8, 2018 @ 05:00:05
Author: felixonmars
Revision: 280295
archrelease: copy trunk to community-any
Added:
python-keyring/repos/community-any/PKGBUILD
(from rev 280294, python-keyring/trunk/PKGBUILD)
Deleted:
python-keyring/repos/community-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-08 04:59:34 UTC (rev 280294)
+++ PKGBUILD 2018-01-08 05:00:05 UTC (rev 280295)
@@ -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.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:
Copied: python-keyring/repos/community-any/PKGBUILD (from rev 280294, python-keyring/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-08 05:00:05 UTC (rev 280295)
@@ -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.6.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=('56e9c11ac6d50d22ca74f6d677eb24da876a27c84501d8be4ad0cee44356a67213a7d255e0fdab1343411b75b55e9ab50210d0ae95879ae9f3acb8cbe73f9848')
+
+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