[arch-commits] Commit in python-keyrings-alt/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 20 15:22:34 UTC 2017
Date: Monday, March 20, 2017 @ 15:22:32
Author: felixonmars
Revision: 217659
archrelease: copy trunk to community-any
Added:
python-keyrings-alt/repos/community-any/PKGBUILD
(from rev 217658, python-keyrings-alt/trunk/PKGBUILD)
Deleted:
python-keyrings-alt/repos/community-any/PKGBUILD
----------+
PKGBUILD | 145 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 74 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-20 15:22:02 UTC (rev 217658)
+++ PKGBUILD 2017-03-20 15:22:32 UTC (rev 217659)
@@ -1,71 +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-keyrings-alt
-pkgname=('python-keyrings-alt' 'python2-keyrings-alt')
-epoch=1
-pkgver=2.0
-pkgrel=1
-pkgdesc="Alternate keyring implementations"
-arch=('any')
-url="http://pypi.python.org/pypi/keyrings.alt"
-license=('MIT')
-source=("git+https://github.com/jaraco/keyrings.alt.git#tag=$pkgver")
-makedepends=('python-setuptools_scm' 'python2-setuptools_scm' 'python-keyring' 'python2-keyring' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
- 'python-fs' 'python2-fs' 'python-crypto' 'python2-crypto' 'libgnome-keyring'
- 'python-gobject' 'python2-gobject' 'python2-gdata')
-md5sums=('SKIP')
-
-prepare() {
- # Remove it from test_requirements
- sed -i '/python-keyczar/d' keyrings.alt/setup.py
-
- cp -a keyrings.alt{,-py2}
-}
-
-build() {
- cd "$srcdir"/keyrings.alt
- python setup.py build
-
- cd "$srcdir"/keyrings.alt-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/keyrings.alt
- python setup.py ptr
-
- cd "$srcdir"/keyrings.alt-py2
- python2 setup.py ptr
-}
-
-package_python-keyrings-alt() {
- depends=('python-keyring')
- optdepends=('libgnome-keyring: GNOME Integration'
- 'python-gobject: GNOME Integration'
- 'python-fs'
- 'python-crypto: Encrypted file storage')
-
- cd "$srcdir"/keyrings.alt
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-keyrings-alt() {
- depends=('python2-keyring')
- optdepends=('libgnome-keyring: GNOME Integration'
- 'python2-gobject: GNOME Integration'
- 'python2-fs'
- 'python2-gdata: Google Docs Integration'
- 'python2-crypto: Encrypted file storage')
-
- cd "$srcdir"/keyrings.alt-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-keyrings-alt/repos/community-any/PKGBUILD (from rev 217658, python-keyrings-alt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-03-20 15:22:32 UTC (rev 217659)
@@ -0,0 +1,74 @@
+# $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-keyrings-alt
+pkgname=('python-keyrings-alt' 'python2-keyrings-alt')
+epoch=1
+pkgver=2.1
+pkgrel=1
+pkgdesc="Alternate keyring implementations"
+arch=('any')
+url="http://pypi.python.org/pypi/keyrings.alt"
+license=('MIT')
+makedepends=('python-setuptools_scm' 'python2-setuptools_scm' 'python-keyring' 'python2-keyring')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-backports.unittest_mock'
+ 'python-crypto' 'python2-crypto' 'libgnome-keyring' 'python-gobject' 'python2-gobject'
+ 'python2-gdata') # 'python-fs' 'python2-fs' Not compatible
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jaraco/keyrings.alt/archive/$pkgver.tar.gz")
+sha512sums=('e2f9b4a64563893b88b92dcbbd00e3cc992094dd66b0dfa2a96746df61474e106ada58fe1f84d67bce4dd9e616cf1f00f09435139ae84d5fe9c92d03f9e6843e')
+
+prepare() {
+ # Remove it from test_requirements
+ sed -i '/python-keyczar/d' keyrings.alt-$pkgver/setup.py
+
+ # Set version for setuptools_scm
+ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+ cp -a keyrings.alt-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/keyrings.alt-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/keyrings.alt-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/keyrings.alt-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/keyrings.alt-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-keyrings-alt() {
+ depends=('python-keyring')
+ optdepends=('libgnome-keyring: GNOME Integration'
+ 'python-gobject: GNOME Integration'
+ 'python-fs'
+ 'python-crypto: Encrypted file storage')
+
+ cd "$srcdir"/keyrings.alt-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-keyrings-alt() {
+ depends=('python2-keyring')
+ optdepends=('libgnome-keyring: GNOME Integration'
+ 'python2-gobject: GNOME Integration'
+ 'python2-fs'
+ 'python2-gdata: Google Docs Integration'
+ 'python2-crypto: Encrypted file storage')
+
+ cd "$srcdir"/keyrings.alt-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list