mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python-attrs: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
1964707349
commit
06c62c4948
2 changed files with 14 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'python-attrs'
|
# Template file for 'python-attrs'
|
||||||
pkgname=python-attrs
|
pkgname=python-attrs
|
||||||
version=16.2.0
|
version=16.2.0
|
||||||
revision=2
|
revision=3
|
||||||
noarch==yes
|
noarch=yes
|
||||||
wrksrc="attrs-${version}"
|
wrksrc="attrs-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="attrs"
|
pycompile_module="attrs"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
short_desc="Python2 attributes without boilerplate"
|
short_desc="Python2 attributes without boilerplate"
|
||||||
maintainer="Michael Gehring <mg@ebfe.org>"
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -19,13 +18,19 @@ post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-attrs_package() {
|
python3-attrs_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="attrs"
|
pycompile_module="attrs"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-attrs>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-attrs_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-attrs>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-attrs
Symbolic link
1
srcpkgs/python3-attrs
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-attrs
|
Loading…
Add table
Reference in a new issue