blob: a5faddbcd46e56ff536de3741d6c8833fcef0377 (
plain) (
tree)
|
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-crc16
_pkgname=crc16
pkgver=0.1.1
pkgrel=4
pkgdesc="Python library for calculating CRC16"
url="https://github.com/gtrafimenkov/pycrc16"
arch="all"
license="LGPL-3.0-or-later"
replaces="py-crc16" # for backwards compatibility
provides="py-crc16=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="45d5e8e13b1ac5f885b40516872a9233514f09aa8990915904b214eec2ef6084016f8f0c15bb411aaa1ffc32e8207020916f723e48eee726a7e6989901c9e65d crc16-0.1.1.tar.gz"
|