Date: Monday, September 3, 2018 @ 22:04:35 Author: ffy00 Revision: 376489
archrelease: copy trunk to community-any Added: python-keyring/repos/community-any/PKGBUILD (from rev 376488, python-keyring/trunk/PKGBUILD) Deleted: python-keyring/repos/community-any/PKGBUILD ----------+ PKGBUILD | 136 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 68 insertions(+), 68 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-03 22:04:30 UTC (rev 376488) +++ PKGBUILD 2018-09-03 22:04:35 UTC (rev 376489) @@ -1,68 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Filipe Laíns (FFY00) <la...@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=${pkgbase#python-} -pkgname=(python-$_pkgname python2-$_pkgname) -pkgver=13.2.1 -pkgrel=3 -pkgdesc="Store and access your passwords safely." -arch=('any') -url="https://pypi.org/project/keyring/" -license=('PSF' 'MIT') -optdepends=('python-keyrings-alt: Alternative backends') -makedepends=('python-setuptools-scm' 'python2-setuptools-scm') -checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python2-pytest-flake8' 'python2-pytest-runner') -source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha512sums=('3c15c3415ba4b657b041d2395536fc92ba656dc71f28669235f13a630946ad1b332d1f5b031a55776ce8a2120d3d2601462708f00ee105f46a27cf043c1bd906') - -prepare() { - echo -e '\nflake8-ignore = W191 W503 W504' >> $_pkgname-$pkgver/pytest.ini - - cp -a $_pkgname-$pkgver{,-py2} -} - -build() { - echo "Building python-$_pkgname $pkgver" - cd "$srcdir"/$_pkgname-$pkgver - python setup.py build - - echo "Building python2-$_pkgname $pkgver" - cd "$srcdir"/$_pkgname-$pkgver-py2 - python2 setup.py build -} - -check() { - echo "Running tests on python-$_pkgname $pkgver" - cd "$srcdir"/$_pkgname-$pkgver - python setup.py pytest - - echo "Running tests on python2-$_pkgname $pkgver" - cd "$srcdir"/$_pkgname-$pkgver-py2 - python2 setup.py pytest -} - -package_python-keyring() { - depends=('python-entrypoints' 'python-secretstorage') - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-keyring() { - depends=('python2-entrypoints' 'python2-secretstorage') - cd $_pkgname-$pkgver-py2 - - python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build - mv "$pkgdir"/usr/bin/keyring "$pkgdir"/usr/bin/keyring2 # Fix the binary name - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-keyring/repos/community-any/PKGBUILD (from rev 376488, python-keyring/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-03 22:04:35 UTC (rev 376489) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Filipe Laíns (FFY00) <la...@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=${pkgbase#python-} +pkgname=(python-$_pkgname python2-$_pkgname) +pkgver=13.2.1 +pkgrel=4 +pkgdesc="Store and access your passwords safely." +arch=('any') +url="https://github.com/jaraco/keyring" +license=('PSF' 'MIT') +optdepends=('python-keyrings-alt: Alternative backends') +makedepends=('python-setuptools-scm' 'python2-setuptools-scm') +checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python2-pytest-flake8' 'python2-pytest-runner') +source=("https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha512sums=('3c15c3415ba4b657b041d2395536fc92ba656dc71f28669235f13a630946ad1b332d1f5b031a55776ce8a2120d3d2601462708f00ee105f46a27cf043c1bd906') + +prepare() { + echo -e '\nflake8-ignore = W191 W503 W504' >> $_pkgname-$pkgver/pytest.ini + + cp -a $_pkgname-$pkgver{,-py2} +} + +build() { + echo "Building python-$_pkgname $pkgver" + cd "$srcdir"/$_pkgname-$pkgver + python setup.py build + + echo "Building python2-$_pkgname $pkgver" + cd "$srcdir"/$_pkgname-$pkgver-py2 + python2 setup.py build +} + +check() { + echo "Running tests on python-$_pkgname $pkgver" + cd "$srcdir"/$_pkgname-$pkgver + python setup.py pytest + + echo "Running tests on python2-$_pkgname $pkgver" + cd "$srcdir"/$_pkgname-$pkgver-py2 + python2 setup.py pytest +} + +package_python-keyring() { + depends=('python-entrypoints' 'python-secretstorage' 'python-jeepney') + cd $_pkgname-$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-keyring() { + depends=('python2-entrypoints' 'python2-secretstorage' 'python2-dbus') + cd $_pkgname-$pkgver-py2 + + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build + mv "$pkgdir"/usr/bin/keyring "$pkgdir"/usr/bin/keyring2 # Fix the binary name + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: