blob: 7d73619549dcb25dbda19c5f5de94f2518ecfff3 (
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
|
# Maintainer: Popolon <popolon @ popolon. org>
# made with pip2pkgbuild
pkgname='python-crc'
_module='crc'
pkgver='7.1.0'
pkgrel=1
pkgdesc="Library and CLI to calculate and verify all kinds of CRC checksums"
url="https://github.com/Nicoretti/crc"
depends=('python' 'python-poetry')
makedepends=('python-build' 'python-installer' 'python-wheel')
license=('custom:BSD License')
arch=('any')
source=("https://github.com/Nicoretti/crc/releases/download/${pkgver}/${_module}-${pkgver}.tar.gz")
sha256sums=('99dd540909a37ae4f62c65441df8ecb4e7f9af014fecaf4f331052a41d66c07d')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
depends+=()
cd "${srcdir}/${_module}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|