void-packages/srcpkgs/python-rencode/template

24 lines
736 B
Bash

# Template file for 'python-rencode'
pkgname=python-rencode
version=1.0.6
revision=2
wrksrc="rencode-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
makedepends="python-devel python3-devel"
pycompile_module="rencode"
short_desc="Python2 module for fast (basic) object serialization"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3"
homepage="https://github.com/aresch/rencode"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=0ed61111f053ea37511da86ca7aed2a3cfda6bdaa1f54a237c4b86eea52f0733
python3-rencode_package() {
pycompile_module="rencode"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}