void-packages/srcpkgs/python-rencode/template
2017-08-28 04:43:10 +02:00

29 lines
948 B
Bash

# Template file for 'python-rencode'
pkgname=python-rencode
version=1.0.5
revision=3
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="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-3"
homepage="https://github.com/aresch/rencode"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=cbdb8d2473aa5a7246e1a8077055be697fccec88477b78248c5fe93d79e2cd26
python3-rencode_package() {
pycompile_module="rencode"
replaces="python3.4-rencode>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-rencode_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-rencode>=${version}_${revision}"
}