mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
python-keyring: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
568ffefc28
commit
8f6ccc4e67
2 changed files with 17 additions and 11 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-keyring'
|
# Template file for 'python-keyring'
|
||||||
pkgname=python-keyring
|
pkgname=python-keyring
|
||||||
version=9.3.1
|
version=9.3.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="keyring-${version}"
|
wrksrc="keyring-${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-setuptools"
|
depends="python-setuptools"
|
||||||
pycompile_module="keyring"
|
pycompile_module="keyring"
|
||||||
short_desc="Python2 interface to the system keyring service"
|
short_desc="Python2 interface to the system keyring service"
|
||||||
|
@ -15,7 +14,7 @@ license="MIT"
|
||||||
homepage="https://github.com/jaraco/keyring"
|
homepage="https://github.com/jaraco/keyring"
|
||||||
distfiles="${PYPI_SITE}/k/keyring/keyring-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/k/keyring/keyring-${version}.tar.gz"
|
||||||
checksum=3be74f6568fcac1350b837d7e46bd3525e2e9fe2b78b3a3a87dc3b29f24a0c00
|
checksum=3be74f6568fcac1350b837d7e46bd3525e2e9fe2b78b3a3a87dc3b29f24a0c00
|
||||||
alternatives="keyring:keyring:/usr/bin/keyring2.7"
|
alternatives="keyring:keyring:/usr/bin/keyring2"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -e '/setuptools_scm/d' \
|
sed -e '/setuptools_scm/d' \
|
||||||
|
@ -23,15 +22,21 @@ pre_build() {
|
||||||
-i setup.py
|
-i setup.py
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python3-keyring_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="keyring"
|
||||||
|
depends="python3-setuptools"
|
||||||
|
replaces="python3.4-keyring>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="keyring:keyring:/usr/bin/keyring3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/keyring3
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
python3.4-keyring_package() {
|
python3.4-keyring_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
build_style=meta
|
||||||
pycompile_module="keyring"
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
depends="python3.4-setuptools"
|
depends="python3-keyring>=${version}_${revision}"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
|
||||||
alternatives="keyring:keyring:/usr/bin/keyring3.4"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/keyring3.4
|
|
||||||
vmove usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-keyring
Symbolic link
1
srcpkgs/python3-keyring
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-keyring
|
Loading…
Add table
Reference in a new issue