mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python-six: split python3-six
This commit is contained in:
parent
29ea67d728
commit
cb5e87ef87
3 changed files with 21 additions and 17 deletions
|
@ -2,10 +2,9 @@
|
||||||
pkgname=python-six
|
pkgname=python-six
|
||||||
version=1.16.0
|
version=1.16.0
|
||||||
revision=3
|
revision=3
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
checkdepends="python3-pytest"
|
|
||||||
short_desc="Python 2 and 3 compatibility utilities (Python2)"
|
short_desc="Python 2 and 3 compatibility utilities (Python2)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -17,16 +16,3 @@ checksum=1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-six
|
|
19
srcpkgs/python3-six/template
Normal file
19
srcpkgs/python3-six/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue