2013-03-06 09:58:12 +01:00
|
|
|
# Template file for 'python-blinker'
|
|
|
|
pkgname=python-blinker
|
2014-06-29 12:29:26 +02:00
|
|
|
version=1.3
|
2013-03-06 09:58:12 +01:00
|
|
|
revision=1
|
2014-06-29 12:29:26 +02:00
|
|
|
noarch=yes
|
2013-03-06 09:58:12 +01:00
|
|
|
wrksrc="blinker-${version}"
|
|
|
|
build_style=python-module
|
2014-06-29 12:29:26 +02:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="python>=2.7"
|
|
|
|
pycompile_module="blinker"
|
2014-06-29 12:29:26 +02:00
|
|
|
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>"
|
2014-06-29 12:29:26 +02:00
|
|
|
homepage="http://pythonhosted.org/blinker/"
|
2013-03-06 09:58:12 +01:00
|
|
|
license="MIT"
|
2014-06-29 12:29:26 +02:00
|
|
|
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}
|
|
|
|
}
|
|
|
|
}
|