32 lines
895 B
Bash
32 lines
895 B
Bash
# Template file for 'python3-snakeoil'
|
|
pkgname=python3-snakeoil
|
|
version=0.8.8
|
|
revision=1
|
|
wrksrc="snakeoil-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-devel"
|
|
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*
|
|
}
|
|
}
|