python-six: split python3-six

This commit is contained in:
Michal Vasilek 2023-06-17 20:50:18 +02:00
parent 29ea67d728
commit cb5e87ef87
3 changed files with 21 additions and 17 deletions

View File

@ -2,10 +2,9 @@
pkgname=python-six
version=1.16.0
revision=3
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python"
checkdepends="python3-pytest"
short_desc="Python 2 and 3 compatibility utilities (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
@ -17,16 +16,3 @@ checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
post_install() {
vlicense LICENSE
}
do_check() {
python3 -m pytest
}
python3-six_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -1 +0,0 @@
python-six

View File

@ -0,0 +1,19 @@
# Template file for 'python3-six'
pkgname=python3-six
version=1.16.0
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python 2 and 3 compatibility utilities (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
post_install() {
vlicense LICENSE
}