2015-06-16 06:14:55 +02:00
|
|
|
# Template file for 'python-Pyro4'
|
|
|
|
pkgname=python-Pyro4
|
2016-04-24 19:24:44 +02:00
|
|
|
version=4.43
|
2016-05-01 02:09:00 +02:00
|
|
|
revision=2
|
2015-06-16 06:14:55 +02:00
|
|
|
wrksrc="${pkgname#*-}-${version}"
|
2015-07-02 12:38:00 +02:00
|
|
|
noarch=yes
|
2015-06-16 06:14:55 +02:00
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
pycompile_module="Pyro4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2015-07-02 12:44:16 +02:00
|
|
|
depends="python-setuptools python-serpent"
|
2015-07-02 12:38:00 +02:00
|
|
|
short_desc="Distributed Object Middleware (IPC/RPC) for Python2"
|
2015-12-27 14:56:18 +01:00
|
|
|
maintainer="pulux <pulux@pf4sh.de>"
|
2015-06-16 06:14:55 +02:00
|
|
|
license="MIT"
|
|
|
|
homepage="http://pythonhosted.org/Pyro4/"
|
2016-04-28 13:20:28 +02:00
|
|
|
distfiles="${PYPI_SITE}/P/Pyro4/Pyro4-${version}.tar.gz"
|
2016-04-24 19:24:44 +02:00
|
|
|
checksum=b6f924fa74f21d14c851450e157711914a402bfc2f3a880c1b2c275fd4cda6d6
|
2015-07-02 12:38:00 +02:00
|
|
|
|
2016-05-01 02:09:00 +02:00
|
|
|
alternatives="
|
|
|
|
pyro4:pyro4-check-config:/usr/bin/pyro4-check-config2.7
|
|
|
|
pyro4:pyro4-flameserver:/usr/bin/pyro4-flameserver2.7
|
|
|
|
pyro4:pyro4-httpgateway:/usr/bin/pyro4-httpgateway2.7
|
|
|
|
pyro4:pyro4-ns:/usr/bin/pyro4-ns2.7
|
|
|
|
pyro4:pyro4-nsc:/usr/bin/pyro4-nsc2.7
|
|
|
|
pyro4:pyro4-test-echoserver:/usr/bin/pyro4-test-echoserver2.7"
|
|
|
|
|
2016-04-24 19:24:44 +02:00
|
|
|
post_install() {
|
2015-07-02 12:38:00 +02:00
|
|
|
vlicense LICENSE
|
|
|
|
}
|
2015-06-16 06:14:55 +02:00
|
|
|
|
|
|
|
python3.4-Pyro4_package() {
|
2016-05-01 02:09:00 +02:00
|
|
|
alternatives="
|
|
|
|
pyro4:pyro4-check-config:/usr/bin/pyro4-check-config3.4
|
|
|
|
pyro4:pyro4-flameserver:/usr/bin/pyro4-flameserver3.4
|
|
|
|
pyro4:pyro4-httpgateway:/usr/bin/pyro4-httpgateway3.4
|
|
|
|
pyro4:pyro4-ns:/usr/bin/pyro4-ns3.4
|
|
|
|
pyro4:pyro4-nsc:/usr/bin/pyro4-nsc3.4
|
|
|
|
pyro4:pyro4-test-echoserver:/usr/bin/pyro4-test-echoserver3.4"
|
2015-07-02 12:38:00 +02:00
|
|
|
noarch=yes
|
2015-07-02 12:44:16 +02:00
|
|
|
depends="python-setuptools python3.4-serpent"
|
2015-06-16 06:14:55 +02:00
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="Pyro4"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
2016-04-24 19:24:44 +02:00
|
|
|
vmove usr/bin/*3.4
|
2015-06-16 06:14:55 +02:00
|
|
|
vmove usr/lib/python3.4
|
2015-07-02 12:38:00 +02:00
|
|
|
vlicense LICENSE
|
2015-06-16 06:14:55 +02:00
|
|
|
}
|
|
|
|
}
|