From f225db7687f39c6601b8d50d426c172110b3419e Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 15 Feb 2019 12:01:38 -0200 Subject: [PATCH] python-more-itertools: revert to 5.0.0. --- srcpkgs/python-more-itertools/template | 28 +++++++++----------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/srcpkgs/python-more-itertools/template b/srcpkgs/python-more-itertools/template index 026dab3726d..8b77456eed7 100644 --- a/srcpkgs/python-more-itertools/template +++ b/srcpkgs/python-more-itertools/template @@ -1,36 +1,26 @@ # Template file for 'python-more-itertools' pkgname=python-more-itertools -version=6.0.0 -revision=1 -noarch=yes +reverts="6.0.0_1" +version=5.0.0 +revision=2 +archs=noarch wrksrc="more-itertools-${version}" -build_style=python-module +build_style=python2-module pycompile_module="more_itertools" -hostmakedepends="python-setuptools python3-setuptools" +hostmakedepends="python-setuptools" depends="python-six" -checkdepends="python3-six" +checkdepends="python-six" short_desc="More Python2 routines for operating on itertables" maintainer="Orphaned " license="MIT" homepage="https://github.com/erikrose/more-itertools" distfiles="https://github.com/erikrose/more-itertools/archive/${version}.tar.gz" -checksum=532245b8736afd5fefc5cc9515b4df6acc7130e7bdf326c667150ca03fe9cddf +checksum=a2dd59cdb7287d738b3c745558f0812b69b519cda21726b180b09d9d68d8b461 do_check() { - python3 setup.py test + python setup.py test } post_install() { 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 - } -}