python-keepalive: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
d11f9ded50
commit
eb4930c733
@ -1,28 +1,33 @@
|
|||||||
# Template file for 'python-keepalive'
|
# Template file for 'python-keepalive'
|
||||||
pkgname=python-keepalive
|
pkgname=python-keepalive
|
||||||
version=0.5
|
version=0.5
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="keepalive"
|
pycompile_module="keepalive"
|
||||||
short_desc="Python2 urllib keepalive support"
|
short_desc="Python2 urllib keepalive support"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://github.com/wikier/keepalive"
|
homepage="https://github.com/wikier/keepalive"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="${PYPI_SITE}/k/keepalive/keepalive-0.5.tar.gz"
|
distfiles="${PYPI_SITE}/k/keepalive/keepalive-${version}.tar.gz"
|
||||||
checksum=3c6b96f9062a5a76022f0c9d41e9ef5552d80b1cadd4fccc1bf8f183ba1d1ec1
|
checksum=3c6b96f9062a5a76022f0c9d41e9ef5552d80b1cadd4fccc1bf8f183ba1d1ec1
|
||||||
|
|
||||||
|
python3-keepalive_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="keepalive"
|
||||||
|
replaces="python3.4-keepalive>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
python3.4-keepalive_package() {
|
python3.4-keepalive_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
build_style=meta
|
||||||
pycompile_version="3.4"
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
pycompile_module="keepalive"
|
depends="python3-keepalive>=${version}_${revision}"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
1
srcpkgs/python3-keepalive
Symbolic link
1
srcpkgs/python3-keepalive
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-keepalive
|
Loading…
x
Reference in New Issue
Block a user