void-packages/srcpkgs/python3-pure-protobuf/template

25 lines
712 B
Bash

# Template file for 'python3-pure-protobuf'
pkgname=python3-pure-protobuf
version=2.0.1
revision=3
wrksrc=protobuf-${version}
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python implementation of Protocol Buffers data types"
maintainer="Lorem <notloremipsum@protonmail.com>"
license="MIT"
homepage="https://github.com/eigenein/protobuf"
changelog="https://github.com/eigenein/protobuf/blob/master/CHANGELOG.md"
distfiles="https://github.com/eigenein/protobuf/archive/${version}.tar.gz"
checksum=30fd2ccb075f00e5f24bbeee8434ff3edd8ebf7a02e3a8c665044fe196e4112d
do_check() {
python3 -m pytest
}
post_install() {
vlicense LICENSE
}