Update PKGBUILD
Update to 4.4.0 and run the test suite in check().
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
pkgname=simple_backup
|
||||
pkgdesc='Simple backup script that uses rsync to copy files'
|
||||
pkgver=4.3.0
|
||||
pkgver=4.4.0
|
||||
pkgrel=1
|
||||
url="https://git.shouldnt.work/fuxino/${pkgname}"
|
||||
arch=('any')
|
||||
@@ -18,10 +18,13 @@ depends=('python>=3.10'
|
||||
optdepends=('python-systemd: use systemd log'
|
||||
'python-dbus: for desktop notifications'
|
||||
'python-paramiko: for remote backup through ssh')
|
||||
checkdepends=('python-pytest'
|
||||
'python-paramiko'
|
||||
'openssh')
|
||||
conflicts=('simple_backup-git')
|
||||
source=(git+${url}?signed#tag=${pkgver})
|
||||
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
|
||||
sha256sums=('7d9ea50d5829ac3c681a979745f1ae7afd2453eb46ceeae4f441ef5ae4540bd2')
|
||||
sha256sums=('cc5944558ed4bc30a0d1a00b49dfced371909dd6c4f39b0c1ccf8f39b445e907')
|
||||
|
||||
build()
|
||||
{
|
||||
@@ -29,6 +32,12 @@ build()
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check()
|
||||
{
|
||||
cd ${srcdir}/${pkgname}
|
||||
python -m pytest
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
cd ${srcdir}/${pkgname}
|
||||
|
||||
Reference in New Issue
Block a user