Date: Saturday, September 3, 2022 @ 18:26:27 Author: ffy00 Revision: 1292666
archrelease: copy trunk to community-any Added: python-keyring/repos/community-any/PKGBUILD (from rev 1292665, python-keyring/trunk/PKGBUILD) Deleted: python-keyring/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-03 18:26:22 UTC (rev 1292665) +++ PKGBUILD 2022-09-03 18:26:27 UTC (rev 1292666) @@ -1,45 +0,0 @@ -# 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> - -pkgname=python-keyring -_pkgname=keyring -pkgver=23.4.0 -pkgrel=1 -pkgdesc='Store and access your passwords safely' -arch=('any') -url='https://github.com/jaraco/keyring' -license=('PSF' 'MIT') -depends=('python-entrypoints' 'python-secretstorage' 'python-importlib-metadata') -makedepends=('git' 'python-setuptools-scm') -checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-mypy') -optdepends=('python-keyrings-alt: Alternative backends' - 'python-dbus: kwallet backend') -source=("git+$url#tag=v$pkgver") -sha512sums=('SKIP') - -build() { - cd $_pkgname - - python setup.py build -} - -check() { - cd $_pkgname - - python setup.py pytest -} - -package() { - cd $_pkgname - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/keyring/tests -} - -# vim:set ts=2 sw=2 et: Copied: python-keyring/repos/community-any/PKGBUILD (from rev 1292665, python-keyring/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-03 18:26:27 UTC (rev 1292666) @@ -0,0 +1,45 @@ +# 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> + +pkgname=python-keyring +_pkgname=keyring +pkgver=23.9.0 +pkgrel=1 +pkgdesc='Store and access your passwords safely' +arch=('any') +url='https://github.com/jaraco/keyring' +license=('PSF' 'MIT') +depends=('python-entrypoints' 'python-secretstorage' 'python-importlib-metadata') +makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') +checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python-pytest-black' 'python-pytest-cov' 'python-pytest-mypy') +optdepends=('python-keyrings-alt: Alternative backends' + 'python-dbus: kwallet backend') +source=("git+$url#tag=v$pkgver") +sha512sums=('SKIP') + +build() { + cd $_pkgname + + python -m build +} + +check() { + cd $_pkgname + + python -m pytest +} + +package() { + cd $_pkgname + + python -m installer -d "$pkgdir" dist/*.whl + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + + rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/keyring/tests +} + +# vim:set ts=2 sw=2 et: