python-Pyro4: update to 4.43
This commit is contained in:
parent
7c46606b13
commit
ba3d7f4b82
1 changed files with 8 additions and 24 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-Pyro4'
|
# Template file for 'python-Pyro4'
|
||||||
pkgname=python-Pyro4
|
pkgname=python-Pyro4
|
||||||
version=4.42
|
version=4.43
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
@ -13,29 +13,13 @@ short_desc="Distributed Object Middleware (IPC/RPC) for Python2"
|
||||||
maintainer="pulux <pulux@pf4sh.de>"
|
maintainer="pulux <pulux@pf4sh.de>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://pythonhosted.org/Pyro4/"
|
homepage="http://pythonhosted.org/Pyro4/"
|
||||||
distfiles="${PYPI_SITE}/P/Pyro4/Pyro4-${version}.tar.gz"
|
distfiles="https://pypi.python.org/packages/05/70/1604ed0419a45383bf69b0cb76ac71c3a958c77c9ec41af9d7b7c826e089/Pyro4-${version}.tar.gz"
|
||||||
checksum=03951643015a1537ad82fbf99fba6e208007447404aab1a020dce7216120d32a
|
checksum=b6f924fa74f21d14c851450e157711914a402bfc2f3a880c1b2c275fd4cda6d6
|
||||||
|
|
||||||
pre_build() {
|
post_install() {
|
||||||
cp -a ${wrksrc} /tmp/${pkgname#*-}-2.7
|
for f in ${DESTDIR}/usr/bin/*; do
|
||||||
cp -a ${wrksrc} /tmp/${pkgname#*-}-3.4
|
cp -f ${f}{,3.4}
|
||||||
mv /tmp/${pkgname#*-}-{2.7,3.4} ${wrksrc}
|
replace_interpreter python ${f}
|
||||||
|
|
||||||
cd ${pkgname#*-}-3.4
|
|
||||||
for f in check-config flameserver httpgateway ns{,c} test-echoserver; do
|
|
||||||
sed -i "s,\(pyro4-${f}\) =,\13 =," setup.py
|
|
||||||
done
|
|
||||||
}
|
|
||||||
do_build() {
|
|
||||||
for pyver in $python_versions; do
|
|
||||||
cd ${wrksrc}/${pkgname#*-}-${pyver}
|
|
||||||
python${pyver} setup.py build
|
|
||||||
done
|
|
||||||
}
|
|
||||||
do_install() {
|
|
||||||
for pyver in $python_versions; do
|
|
||||||
cd ${wrksrc}/${pkgname#*-}-${pyver}
|
|
||||||
python${pyver} setup.py install --root=${DESTDIR}
|
|
||||||
done
|
done
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
@ -47,7 +31,7 @@ python3.4-Pyro4_package() {
|
||||||
pycompile_module="Pyro4"
|
pycompile_module="Pyro4"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3
|
vmove usr/bin/*3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue