2015-06-19 15:49:35 +00:00
|
|
|
# Template file for 'python-rencode'
|
2015-06-19 17:25:25 +00:00
|
|
|
pkgname=python-rencode
|
2016-02-26 05:15:35 +00:00
|
|
|
version=1.0.4
|
|
|
|
revision=1
|
2015-06-19 17:25:25 +00:00
|
|
|
wrksrc="rencode-${version}"
|
2015-06-19 15:49:35 +00:00
|
|
|
build_style=python-module
|
2015-06-19 17:25:25 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools python-Cython python3.4-Cython"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
|
|
|
pycompile_module="rencode"
|
|
|
|
short_desc="Python2 module for fast (basic) object serialization"
|
2015-06-19 15:49:35 +00:00
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-3"
|
2015-06-19 17:25:25 +00:00
|
|
|
homepage="https://github.com/aresch/rencode"
|
2015-06-19 15:49:35 +00:00
|
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
2016-02-26 05:15:35 +00:00
|
|
|
checksum=06fad401335bf34e0659885c97f5421b9991c955769f9c4a89f109378fed9657
|
2015-06-19 17:25:25 +00:00
|
|
|
|
|
|
|
python3.4-rencode_package() {
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="rencode"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|