python-setproctitle: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
d707fa9ecf
commit
7f48bc8345
@ -1,12 +1,11 @@
|
|||||||
# Template file for 'python-setproctitle'
|
# Template file for 'python-setproctitle'
|
||||||
pkgname=python-setproctitle
|
pkgname=python-setproctitle
|
||||||
version=1.1.10
|
version=1.1.10
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="setproctitle-${version}"
|
wrksrc="setproctitle-${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"
|
makedepends="python-devel python3-devel"
|
||||||
makedepends="python-devel python3.4-devel"
|
|
||||||
short_desc="Python2 library to allow customization of the process title"
|
short_desc="Python2 library to allow customization of the process title"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://github.com/dvarrazzo/py-setproctitle"
|
homepage="https://github.com/dvarrazzo/py-setproctitle"
|
||||||
@ -18,10 +17,16 @@ post_install() {
|
|||||||
vlicense COPYRIGHT LICENSE
|
vlicense COPYRIGHT LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-setproctitle_package() {
|
python3-setproctitle_package() {
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-setproctitle>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vlicense COPYRIGHT LICENSE
|
vlicense COPYRIGHT LICENSE
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-setproctitle_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-setproctitle>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
1
srcpkgs/python3-setproctitle
Symbolic link
1
srcpkgs/python3-setproctitle
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-setproctitle
|
Loading…
x
Reference in New Issue
Block a user