void-packages/srcpkgs/python3-snakeoil/template
2022-01-05 22:02:18 +01:00

32 lines
913 B
Bash

# Template file for 'python3-snakeoil'
pkgname=python3-snakeoil
version=0.8.8
revision=3
wrksrc="snakeoil-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Python3 optimized versions of common python functionality"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="BSD-3-Clause, GPL-2.0-only"
homepage="https://github.com/pkgcore/snakeoil"
# changelog="https://github.com/pkgcore/snakeoil/blob/master/NEWS.rst"
distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
checksum=8381ed730cb4c127c2cb5f99ed8a148d3f2bc492de21f035aae8913f7a106d63
pre_check() {
export PYTHONPATH=$(cd build/lib* && pwd)
}
post_install() {
vlicense LICENSE
}
python3-snakeoil-devel_package() {
depends="python3-snakeoil>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/python3*
}
}