python-rencode: really build the C extension; add python3.4 subpkg
This commit is contained in:
parent
e16931e073
commit
b968a49490
|
@ -1,14 +1,25 @@
|
|||
# Template file for 'python-rencode'
|
||||
pycompile_module=rencode
|
||||
pkgname=python-${pycompile_module}
|
||||
pkgname=python-rencode
|
||||
version=1.0.3
|
||||
revision=1
|
||||
wrksrc="${pycompile_module}-${version}"
|
||||
revision=2
|
||||
wrksrc="rencode-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python python-Cython"
|
||||
short_desc="Python module for fast (basic) object serialization similar to bencode"
|
||||
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"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="https://github.com/aresch/${pycompile_module}"
|
||||
homepage="https://github.com/aresch/rencode"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=13c47ca2f9cf060083de7e5886e725731863c4a5d95545c68e0bb3a2149da444
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-rencode
|
Loading…
Reference in New Issue