python-more-itertools: revert to 5.0.0.
This commit is contained in:
parent
554b21d046
commit
f225db7687
|
@ -1,36 +1,26 @@
|
||||||
# Template file for 'python-more-itertools'
|
# Template file for 'python-more-itertools'
|
||||||
pkgname=python-more-itertools
|
pkgname=python-more-itertools
|
||||||
version=6.0.0
|
reverts="6.0.0_1"
|
||||||
revision=1
|
version=5.0.0
|
||||||
noarch=yes
|
revision=2
|
||||||
|
archs=noarch
|
||||||
wrksrc="more-itertools-${version}"
|
wrksrc="more-itertools-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
pycompile_module="more_itertools"
|
pycompile_module="more_itertools"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python-six"
|
depends="python-six"
|
||||||
checkdepends="python3-six"
|
checkdepends="python-six"
|
||||||
short_desc="More Python2 routines for operating on itertables"
|
short_desc="More Python2 routines for operating on itertables"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/erikrose/more-itertools"
|
homepage="https://github.com/erikrose/more-itertools"
|
||||||
distfiles="https://github.com/erikrose/more-itertools/archive/${version}.tar.gz"
|
distfiles="https://github.com/erikrose/more-itertools/archive/${version}.tar.gz"
|
||||||
checksum=532245b8736afd5fefc5cc9515b4df6acc7130e7bdf326c667150ca03fe9cddf
|
checksum=a2dd59cdb7287d738b3c745558f0812b69b519cda21726b180b09d9d68d8b461
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 setup.py test
|
python setup.py test
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-more-itertools_package() {
|
|
||||||
noarch=yes
|
|
||||||
pycompile_module="more_itertools"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
depends="python3-six"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue