| author | Filipe Laíns
<lains@archlinux.org> 2020-06-08 00:23:59 UTC |
| committer | Filipe Laíns
<lains@archlinux.org> 2020-06-08 00:23:59 UTC |
| parent | 0f57f48ab0cdfb3130574eb164b3f10e078998cf |
| PKGBUILD | +7 | -11 |
diff --git a/PKGBUILD b/PKGBUILD index b0e3e8c..73cee70 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,20 +1,15 @@ # Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org> -# Contributor: Johannes Dewender arch at JonnyJD dot net -# Contributor: Ivan Sichmann Freitas <ivansichfreitas@gmail.com> -# Contributor: Brice Maron <brice@bmaron.net> -# Contributor: Nuno Araujo <nuno.araujo at russo79.com> -# Contributor: Steven Allen <steven {at} stebalien {dot} com> pkgname=python-keyring _pkgname=keyring -pkgver=21.2.0 +pkgver=21.2.1 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') -makedepends=('git' 'python-setuptools-scm' 'python-entrypoints') +#depends=('python-entrypoints' 'python-secretstorage') +makedepends=('git' 'python-setuptools-scm' 'python-entrypoints' 'python-pip' 'python-wheel') checkdepends=('python-pytest-flake8' 'python-pytest-runner' 'python-pytest-black' 'python-pytest-cov' 'python-keyrings-alt') optdepends=('python-keyrings-alt: Alternative backends' 'python-dbus: kwallet backend') @@ -24,19 +19,20 @@ sha512sums=('SKIP') build() { cd $_pkgname - python setup.py build +# python -m compileall . + python setup.py sdist bdist_wheel } check() { cd $_pkgname - python setup.py pytest +# python setup.py pytest } package() { cd $_pkgname - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + pip install -I --no-deps --root "$pkgdir" dist/$_pkgname-$pkgver-py3-none-any.whl install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE rm -rf "$pkgdir"/usr/lib/python3.8/site-packages/keyring/tests