Date: Sunday, January 10, 2016 @ 02:35:08 Author: fyan Revision: 155817
archrelease: copy trunk to community-any Added: python-keyring/repos/community-any/PKGBUILD (from rev 155816, python-keyring/trunk/PKGBUILD) Deleted: python-keyring/repos/community-any/PKGBUILD ----------+ PKGBUILD | 144 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-01-10 01:34:50 UTC (rev 155816) +++ PKGBUILD 2016-01-10 01:35:08 UTC (rev 155817) @@ -1,72 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Johannes Dewender arch at JonnyJD dot net -# Contributor: Ivan Sichmann Freitas <ivansichfrei...@gmail.com> -# Contributor: Brice Maron <br...@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=7.0 -pkgrel=1 -pkgdesc="Store and access your passwords safely." -arch=('any') -url="http://pypi.python.org/pypi/keyring" -license=('PSF' 'MIT') -source=("http://pypi.python.org/packages/source/k/keyring/keyring-$pkgver.tar.gz") -makedepends=('python-setuptools_scm' 'python2-setuptools_scm') -checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock' 'python-crypto' 'python2-crypto' - 'python-secretstorage' 'python2-secretstorage' 'python-gobject' 'python2-gobject' 'libgnome-keyring' - 'python2-gdata' 'python-fs' 'python2-fs' 'xorg-server-xvfb') -md5sums=('0d8339fe5abddaffff7c276a4da6a9f1') - -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() { - # Not using ptr because we are not packaging keyczar - - cd "$srcdir/keyring-$pkgver" - xvfb-run py.test - - cd "$srcdir/keyring-$pkgver-py2" - xvfb-run py.test2 -} - -package_python-keyring() { - depends=('python-setuptools') - optdepends=('libgnome-keyring: Gnome integration' - 'python-gobject: Gnome integration' - 'kdebindings-python: Kde integration' - 'python-crypto: CLI keyring' - 'python-secretstorage: SecretService DBus API (GNOME/KDE)') - - cd "$srcdir/keyring-$pkgver" - python setup.py install --root=$pkgdir --optimize=1 -} - -package_python2-keyring() { - depends=('python2-setuptools') - optdepends=('libgnome-keyring: Gnome integration' - 'python2-gobject: Gnome integration' - 'kdebindings-python2: Kde integration' - 'python2-crypto: CLI keyring' - 'python2-secretstorage: SecretService DBus API (GNOME/KDE)') - - cd "$srcdir/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 155816, python-keyring/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-01-10 01:35:08 UTC (rev 155817) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Johannes Dewender arch at JonnyJD dot net +# Contributor: Ivan Sichmann Freitas <ivansichfrei...@gmail.com> +# Contributor: Brice Maron <br...@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=7.0.1 +pkgrel=1 +pkgdesc="Store and access your passwords safely." +arch=('any') +url="http://pypi.python.org/pypi/keyring" +license=('PSF' 'MIT') +source=("http://pypi.python.org/packages/source/k/keyring/keyring-$pkgver.tar.gz") +makedepends=('python-setuptools_scm' 'python2-setuptools_scm') +checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock' 'python-crypto' 'python2-crypto' + 'python-secretstorage' 'python2-secretstorage' 'python-gobject' 'python2-gobject' 'libgnome-keyring' + 'python2-gdata' 'python-fs' 'python2-fs' 'xorg-server-xvfb') +md5sums=('5142f3b500af27cd60f06976b0810673') + +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() { + # Not using ptr because we are not packaging keyczar + + cd "$srcdir/keyring-$pkgver" + xvfb-run py.test + + cd "$srcdir/keyring-$pkgver-py2" + xvfb-run py.test2 +} + +package_python-keyring() { + depends=('python-setuptools') + optdepends=('libgnome-keyring: Gnome integration' + 'python-gobject: Gnome integration' + 'kdebindings-python: Kde integration' + 'python-crypto: CLI keyring' + 'python-secretstorage: SecretService DBus API (GNOME/KDE)') + + cd "$srcdir/keyring-$pkgver" + python setup.py install --root=$pkgdir --optimize=1 +} + +package_python2-keyring() { + depends=('python2-setuptools') + optdepends=('libgnome-keyring: Gnome integration' + 'python2-gobject: Gnome integration' + 'kdebindings-python2: Kde integration' + 'python2-crypto: CLI keyring' + 'python2-secretstorage: SecretService DBus API (GNOME/KDE)') + + cd "$srcdir/keyring-$pkgver-py2" + python2 setup.py install --root=$pkgdir --optimize=1 + + mv "$pkgdir"/usr/bin/keyring{,2} +} + +# vim:set ts=2 sw=2 et: