mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
python-six: update to 1.7.3
Switch to setuptools. Add python3.4 subpkg with pycompile support.
This commit is contained in:
parent
ef922d47a5
commit
85c35818ae
2 changed files with 27 additions and 9 deletions
|
@ -1,17 +1,34 @@
|
||||||
# Template file for 'python-six'
|
# Template file for 'python-six'
|
||||||
pkgname=python-six
|
pkgname=python-six
|
||||||
version=1.7.2
|
version=1.7.3
|
||||||
revision=1
|
revision=1
|
||||||
|
noarch=yes
|
||||||
wrksrc="six-${version}"
|
wrksrc="six-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-distribute"
|
python_versions="2.7 3.4"
|
||||||
makedepends="python-devel"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
noarch="yes"
|
makedepends="python-devel python3.4-devel"
|
||||||
|
depends="python"
|
||||||
pycompile_module="six.py"
|
pycompile_module="six.py"
|
||||||
depends="python>=2.7"
|
short_desc="Python 2 and 3 compatibility utilities (Python2 library)"
|
||||||
short_desc="Python 2 and 3 compatibility utilities"
|
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://pypi.python.org/pypi/six"
|
homepage="https://pypi.python.org/pypi/six/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="http://pypi.python.org/packages/source/s/six/six-${version}.tar.gz"
|
distfiles="https://pypi.python.org/packages/source/s/six/six-${version}.tar.gz"
|
||||||
checksum=c7b85e433ecf2f2df37edb017b954c468342991e1883c8a1e8d8616584b69998
|
checksum=7a842c9f882c0b2ab1064d567bb9fff6a21c9efbc3d9992083ad6193787ed393
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-six_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="six.py"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3.4-six
Symbolic link
1
srcpkgs/python3.4-six
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-six
|
Loading…
Add table
Reference in a new issue