void-packages/srcpkgs/python-wrapt/template

31 lines
841 B
Bash
Raw Normal View History

2015-12-01 17:22:25 +01:00
# Template file for 'python-wrapt'
pkgname=python-wrapt
2016-04-12 23:48:00 +02:00
version=1.10.8
2015-12-01 17:22:25 +01:00
revision=1
wrksrc="wrapt-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
pycompile_module="wrapt"
short_desc="Python2 module for decorators, wrappers and monkey patching"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/GrahamDumpleton/wrapt"
license="2-clause-BSD"
distfiles="${PYPI_SITE}/w/wrapt/wrapt-${version}.tar.gz"
2016-04-12 23:48:00 +02:00
checksum=4ea17e814e39883c6cf1bb9b0835d316b2f69f0f0882ffe7dad1ede66ba82c73
2015-12-01 17:22:25 +01:00
post_install() {
vlicense LICENSE
}
python3.4-wrapt_package() {
pycompile_version="3.4"
pycompile_module="wrapt"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}