[arch-commits] Commit in (3 files)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Wed Jun 8 02:10:45 UTC 2022
Date: Wednesday, June 8, 2022 @ 02:10:45
Author: yan12125
Revision: 1228614
addpkg: python-jaraco.functools 3.5.0-1; split from python-jaraco
See: https://archlinux.org/todo/depend-on-specific-python-jaraco-package/
Added:
python-jaraco.functools/
python-jaraco.functools/trunk/
python-jaraco.functools/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: python-jaraco.functools/trunk/PKGBUILD
===================================================================
--- python-jaraco.functools/trunk/PKGBUILD (rev 0)
+++ python-jaraco.functools/trunk/PKGBUILD 2022-06-08 02:10:45 UTC (rev 1228614)
@@ -0,0 +1,28 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-jaraco.functools
+pkgver=3.5.0
+pkgrel=1
+pkgdesc='Functools like those found in stdlib'
+arch=('any')
+url='https://github.com/jaraco/jaraco.functools'
+license=('MIT')
+depends=('python-more-itertools')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
+conflicts=('python-jaraco')
+source=("https://files.pythonhosted.org/packages/source/j/jaraco.functools/jaraco.functools-$pkgver.tar.gz")
+sha512sums=('7257f41506f90ca2fda1bd12fed58fa4d4ff5738547f8cdae8ccad1901e0c818afb701dd8e9050fc77ca1271bc2466d5a542990138bc3db2cf9b04d12850844c')
+
+build() {
+ cd "$srcdir/jaraco.functools-$pkgver"
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd "$srcdir/jaraco.functools-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list