Date: Sunday, October 9, 2022 @ 08:40:54
Author: grawlinson
Revision: 1324474
archrelease: copy trunk to community-any
Added:
python-more-itertools/repos/community-any/PKGBUILD
(from rev 1324473, python-more-itertools/trunk/PKGBUILD)
Deleted:
python-more-itertools/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 54 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-09 08:39:52 UTC (rev 1324473)
+++ PKGBUILD 2022-10-09 08:40:54 UTC (rev 1324474)
@@ -1,28 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-# Contributor: Germán Osella Massa <[email protected]>
-
-pkgname=python-more-itertools
-pkgver=8.13.0
-pkgrel=2
-pkgdesc='More routines for operating on iterables, beyond itertools'
-arch=('any')
-url='https://github.com/erikrose/more-itertools'
-#url='https://pypi.python.org/pypi/more-itertools'
-license=('MIT')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel' 'python-flit')
-source=("https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-$pkgver.tar.gz")
-sha512sums=('2f3473cdd67ddcb2c658f60638b91a25c4ce9d9a92bbda5ca937dd4748857408bfe8dd9d4e699f53bd9f10d7b433db57e499bd28f184b8faa58b2004f2c92004')
-
-build() {
- cd more-itertools-$pkgver
- python -m build --wheel --no-isolation
-}
-
-package() {
- cd more-itertools-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-more-itertools/repos/community-any/PKGBUILD (from rev 1324473,
python-more-itertools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-09 08:40:54 UTC (rev 1324474)
@@ -0,0 +1,54 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Maintainer: Kyle Keen <[email protected]>
+# Contributor: Germán Osella Massa <[email protected]>
+
+pkgname=python-more-itertools
+pkgver=8.14.0
+pkgrel=1
+pkgdesc='More routines for operating on iterables, beyond itertools'
+arch=('any')
+url='https://github.com/more-itertools/more-itertools'
+license=('MIT')
+depends=('python')
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-flit-core'
+)
+_commit='e2f2d06366a33666c5e97194ad4d5d43e11b8dd9'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ # temporary workaround until this is resolved
+ # https://github.com/more-itertools/more-itertools/issues/648
+ #git describe --tags | sed 's/^v//'
+ grep __version__ more_itertools/__init__.py | cut -d ' ' -f 3 | sed -e
"s/'//g"
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ python -m unittest
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
+
+# vim:set ts=2 sw=2 et: