blob: f2c41d8867b460587c75b3478d8442321adf8ecf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: @RubenKelevra <cyrond@gmail.com>
pkgname='python-securetar'
_module=${pkgname#python-}
pkgver='2024.2.1'
pkgrel=4
pkgdesc="Python module to handle tarfile backups."
url="https://github.com/pvizeli/securetar"
depends=(
'python>=3.12'
'python-cryptography'
)
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
license=('Apache')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
b2sums=('ff4768bbd474fe71bd00dd86872ae2251f1beb461f00789baa547dda079efa31bc98d5495bb1ede131b1f20b52fdc30e67607dd1d1b25791200412a8f759a236')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python -m installer --compile-bytecode=2 --destdir="$pkgdir" dist/*.whl
}
|