void-packages/srcpkgs/python-blinker/template

35 lines
1009 B
Plaintext
Raw Normal View History

2013-03-06 09:58:12 +01:00
# Template file for 'python-blinker'
pkgname=python-blinker
version=1.3
2013-03-06 09:58:12 +01:00
revision=1
noarch=yes
2013-03-06 09:58:12 +01:00
wrksrc="blinker-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python>=2.7"
pycompile_module="blinker"
short_desc="Fast, simple object-to-object and broadcast signaling for Python2"
2013-03-06 09:58:12 +01:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pythonhosted.org/blinker/"
2013-03-06 09:58:12 +01:00
license="MIT"
distfiles="https://pypi.python.org/packages/source/b/blinker/blinker-${version}.tar.gz"
checksum=6811010809262261e41ab7b92f3f6d23f35cf816fbec2bc05077992eebec6e2f
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}
python3.4-blinker_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="blinker"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
}
}