python-blinker: update to 1.3

Switch to setuptools.
Add python3.4 subpkg with pycompile support.
This commit is contained in:
Alessio Sergi 2014-06-29 12:29:26 +02:00
parent f468b614e1
commit 45beb2b094
2 changed files with 26 additions and 8 deletions

View file

@ -1,17 +1,34 @@
# Template file for 'python-blinker'
pkgname=python-blinker
version=1.2
version=1.3
revision=1
noarch=yes
wrksrc="blinker-${version}"
build_style=python-module
hostmakedepends="python-distribute"
makedepends="python-devel"
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python>=2.7"
noarch="yes"
pycompile_module="blinker"
short_desc="Fast, simple object-to-object and broadcast signaling for Python"
short_desc="Fast, simple object-to-object and broadcast signaling for Python2"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://discorporate.us/projects/Blinker/"
homepage="http://pythonhosted.org/blinker/"
license="MIT"
distfiles="http://pypi.python.org/packages/source/b/blinker/blinker-${version}.tar.gz"
checksum=7062c05e9f724e2208835e335df5ffdc169004fe372ca91fb6408cd0f8e3aa85
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}
}
}

1
srcpkgs/python3.4-blinker Symbolic link
View file

@ -0,0 +1 @@
python-blinker