python-yaml: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
a29e8e01b8
commit
2632a7f3e4
2 changed files with 13 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-yaml'
|
# Template file for 'python-yaml'
|
||||||
pkgname=python-yaml
|
pkgname=python-yaml
|
||||||
version=3.12
|
version=3.12
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="PyYAML-${version}"
|
wrksrc="PyYAML-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="yaml"
|
pycompile_module="yaml"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
makedepends="libyaml-devel python-devel python3.4-devel"
|
makedepends="libyaml-devel python-devel python3-devel"
|
||||||
short_desc="YAML parser and emitter for Python2"
|
short_desc="YAML parser and emitter for Python2"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://pyyaml.org/wiki/PyYAML"
|
homepage="http://pyyaml.org/wiki/PyYAML"
|
||||||
|
@ -15,11 +14,16 @@ license="MIT"
|
||||||
distfiles="${PYPI_SITE}/P/PyYAML/PyYAML-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/P/PyYAML/PyYAML-${version}.tar.gz"
|
||||||
checksum=592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab
|
checksum=592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab
|
||||||
|
|
||||||
python3.4-yaml_package() {
|
python3-yaml_package() {
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="yaml"
|
pycompile_module="yaml"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-yaml>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-yaml_package() {
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-yaml>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-yaml
Symbolic link
1
srcpkgs/python3-yaml
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-yaml
|
Loading…
Add table
Add a link
Reference in a new issue