Date: Tuesday, January 31, 2023 @ 20:02:49
Author: felixonmars
Revision: 1391510
upgpkg: python-keyrings-alt 1:4.2.0-2
Modified:
python-keyrings-alt/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:00:41 UTC (rev 1391509)
+++ PKGBUILD 2023-01-31 20:02:49 UTC (rev 1391510)
@@ -7,16 +7,16 @@
# Contributor: Steven Allen <steven {at} stebalien {dot} com>
pkgname=python-keyrings-alt
-_pkgname=keyrings.alt
epoch=1
pkgver=4.2.0
-pkgrel=1
+_commit=a2ef1a8e15859bb90f499e6be88c14468f246f8e
+pkgrel=2
pkgdesc="Alternate keyring implementations"
arch=('any')
url='https://github.com/jaraco/keyrings.alt'
license=('MIT')
depends=('python-keyring' 'python-jaraco.text')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
checkdepends=('libgnome-keyring' 'python-pycryptodome' 'python-pycryptodomex'
'python-gobject' 'python-keyring'
'python-pytest-enabler' 'python-pytest-mypy')
optdepends=('libgnome-keyring: GNOME Integration'
@@ -23,23 +23,21 @@
'python-gobject: GNOME Integration'
'python-fs'
'python-pycryptodome: Encrypted file storage')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('395b5a53cb05f3bc96aaf0a2dd826b185902d1ef03f9603f4731bf334938cfd36c7430e41ed7f6c574d54c56ed6a77e1160c741b02877cd3c1169ae1ca86f437')
+source=("git+https://github.com/jaraco/keyrings.alt.git#commit=$_commit")
+sha512sums=('SKIP')
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
build() {
- cd $_pkgname-$pkgver
+ cd keyrings.alt
python -m build --wheel --no-isolation
}
check() {
- cd $_pkgname-$pkgver
+ cd keyrings.alt
pytest
}
package() {
- cd $_pkgname-$pkgver
+ cd keyrings.alt
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}