Date: Saturday, June 18, 2016 @ 14:31:48 Author: felixonmars Revision: 180432
archrelease: copy trunk to community-any Added: python-secretstorage/repos/community-any/PKGBUILD (from rev 180431, python-secretstorage/trunk/PKGBUILD) Deleted: python-secretstorage/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-06-18 14:31:30 UTC (rev 180431) +++ PKGBUILD 2016-06-18 14:31:48 UTC (rev 180432) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Patrice Peterson <runiq at archlinux dot us> -# Contributor: JonnyJD <a...@jonnyjd.net> - -pkgbase=python-secretstorage -pkgname=(python-secretstorage python2-secretstorage) -pkgver=2.1.4 -pkgrel=1 -pkgdesc="Securely store passwords and other private data using the SecretService DBus API" -arch=('any') -url="https://pypi.python.org/pypi/SecretStorage" -license=('BSD') -makedepends=('python-dbus' 'python2-dbus' 'python-crypto' 'python2-crypto' 'dbus-glib') -checkdepends=('gnome-keyring' 'xorg-server-xvfb' 'dbus-glib') -source=("https://pypi.python.org/packages/source/S/SecretStorage/SecretStorage-${pkgver}.tar.gz") -md5sums=('80ca4a4a0614daf45ee3d0fb17eb41cd') - -prepare() { - cp -a SecretStorage-$pkgver{,-py2} -} - -check() { - cd SecretStorage-$pkgver - xvfb-run -a python -m unittest discover -s tests || warning "Tests failed" - - cd ../SecretStorage-$pkgver-py2 - xvfb-run -a python2 -m unittest discover -s tests || warning "Tests failed" -} - -package_python-secretstorage() { - depends=('python-dbus' 'python-crypto' 'dbus-glib') - - cd SecretStorage-$pkgver - python setup.py install -O1 --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-secretstorage() { - depends=('python2-dbus' 'python2-crypto' 'dbus-glib') - - cd SecretStorage-$pkgver-py2 - python2 setup.py install -O1 --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-secretstorage/repos/community-any/PKGBUILD (from rev 180431, python-secretstorage/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-06-18 14:31:48 UTC (rev 180432) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Patrice Peterson <runiq at archlinux dot us> +# Contributor: JonnyJD <a...@jonnyjd.net> + +pkgbase=python-secretstorage +pkgname=(python-secretstorage python2-secretstorage) +pkgver=2.2.0 +pkgrel=1 +pkgdesc="Securely store passwords and other private data using the SecretService DBus API" +arch=('any') +url="https://pypi.python.org/pypi/SecretStorage" +license=('BSD') +makedepends=('python-dbus' 'python2-dbus' 'python-crypto' 'python2-crypto' 'dbus-glib') +checkdepends=('gnome-keyring' 'xorg-server-xvfb' 'dbus-glib') +source=("https://pypi.io/packages/source/S/SecretStorage/SecretStorage-${pkgver}.tar.gz") +md5sums=('651149db1b154d4fbcb725c857a0627f') + +prepare() { + cp -a SecretStorage-$pkgver{,-py2} +} + +check() { + cd SecretStorage-$pkgver + xvfb-run -a python -m unittest discover -s tests || warning "Tests failed" + + cd ../SecretStorage-$pkgver-py2 + xvfb-run -a python2 -m unittest discover -s tests || warning "Tests failed" +} + +package_python-secretstorage() { + depends=('python-dbus' 'python-crypto' 'dbus-glib') + + cd SecretStorage-$pkgver + python setup.py install -O1 --root="$pkgdir" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-secretstorage() { + depends=('python2-dbus' 'python2-crypto' 'dbus-glib') + + cd SecretStorage-$pkgver-py2 + python2 setup.py install -O1 --root="$pkgdir" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}