33 lines
840 B
Bash
33 lines
840 B
Bash
# Template file for 'python-blinker'
|
|
pkgname=python-blinker
|
|
version=1.4
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="blinker-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-devel"
|
|
depends="python"
|
|
pycompile_module="blinker"
|
|
short_desc="Fast, simple object-to-object and broadcast signaling for Python2"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://pythonhosted.org/blinker/"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/b/blinker/blinker-${version}.tar.gz"
|
|
checksum=471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-blinker_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="blinker"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|