diff options
author | Atte Lautanala | 2023-08-11 00:44:10 +0300 |
---|---|---|
committer | Atte Lautanala | 2023-08-11 00:46:08 +0300 |
commit | b9183127bcb9ce6c46eff810d65cc8a652cad2a3 (patch) | |
tree | 7942b90ca53ee67dc10757ee3c564a7e1b3a0ed1 | |
parent | 4cf1539383e9947c985b29cae3badcdaaf64e8ab (diff) | |
download | aur-b9183127bcb9ce6c46eff810d65cc8a652cad2a3.tar.gz |
Download source archive from PyPI
The same source is used by the official Python package installer, pip.
This also removes dependency on git during build.
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 12 deletions
@@ -1,18 +1,15 @@ -# Generated by mksrcinfo v8 -# Thu Sep 8 01:36:17 UTC 2022 pkgbase = python-keyring-pass pkgdesc = https://www.passwordstore.org backend for keyring - pkgver = 0.7.0 + pkgver = 0.7.1 pkgrel = 1 url = https://github.com/nazarewk/keyring_pass arch = any license = MIT - makedepends = git makedepends = python-setuptools depends = python-keyring + depends = python-jaraco.classes depends = pass - source = git+https://github.com/nazarewk/keyring_pass#tag=v0.7.0 - sha512sums = SKIP + source = https://files.pythonhosted.org/packages/source/k/keyring-pass/keyring_pass-0.7.1.tar.gz + sha512sums = c5e7895c4b2e74d6f6797bde12fbf8f156387457b9269a36ba97ad1940b08cf4ed840e1c599198fb5cbbf522c6a24f7a618757bdf33c65e6f8ca7770df464408 pkgname = python-keyring-pass - @@ -7,18 +7,18 @@ arch=('any') url='https://github.com/nazarewk/keyring_pass' license=('MIT') depends=('python-keyring' 'python-jaraco.classes' 'pass') -makedepends=('git' 'python-setuptools') -source=("git+$url#tag=v$pkgver") -sha512sums=('SKIP') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/k/${_pkgname/_/-}/$_pkgname-$pkgver.tar.gz") +sha512sums=('c5e7895c4b2e74d6f6797bde12fbf8f156387457b9269a36ba97ad1940b08cf4ed840e1c599198fb5cbbf522c6a24f7a618757bdf33c65e6f8ca7770df464408') build() { - cd $_pkgname + cd "$_pkgname-$pkgver" python setup.py build } package() { - cd $_pkgname + cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" \ --optimize=1 \ --skip-build |