[arch-commits] Commit in python-more-itertools/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Tue Oct 22 22:18:12 UTC 2019
Date: Tuesday, October 22, 2019 @ 22:18:12
Author: kkeen
Revision: 518500
upgpkg: python-more-itertools 7.2.0-1
Modified:
python-more-itertools/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++------------------
1 file changed, 6 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-22 22:12:00 UTC (rev 518499)
+++ PKGBUILD 2019-10-22 22:18:12 UTC (rev 518500)
@@ -1,10 +1,9 @@
# Maintainer: Kyle Keen <keenerd at gmail.com>
# Contributor: Germán Osella Massa <gosella at gmail.com>
-pkgbase=python-more-itertools
-pkgname=('python-more-itertools' 'python2-more-itertools')
-pkgver=4.3.0
-pkgrel=2
+pkgname=python-more-itertools
+pkgver=7.2.0
+pkgrel=1
pkgdesc='More routines for operating on iterables, beyond itertools'
arch=('any')
url='https://github.com/erikrose/more-itertools'
@@ -11,25 +10,14 @@
#url='https://pypi.python.org/pypi/more-itertools'
license=('MIT')
depends=('python' 'python-six')
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-six')
+makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-$pkgver.tar.gz")
-sha512sums=('5fee3d99fd796b0f0f6b5aa99a8db22e219d3dced71fef6f4b16286fe67061dce280389b3638c55c6e5f6c828ef1286cee845d76a6861d2af66d90e995d5aa4e')
+sha512sums=('840b535bf5f2fc3cf9c4c0106f977f0b178049b95e5ccb6cf51b5e68d0a6afd77a577bb0d0af25ea8cdf4b7dd2ce9691754ba6c773a196f8b10dba5d7683c6b0')
-prepare() {
- cp -R "more-itertools-$pkgver" "py2-more-itertools-$pkgver"
-}
-
-package_python-more-itertools() {
+package() {
cd "$srcdir/more-itertools-$pkgver"
python3 setup.py install --root="$pkgdir/" --optimize=0
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-package_python2-more-itertools() {
- depends=('python2' 'python2-six')
- cd "$srcdir/py2-more-itertools-$pkgver"
- python2 setup.py install --root="$pkgdir/" --optimize=0
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list