[arch-commits] Commit in (3 files)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Wed Jun 8 02:24:38 UTC 2022


    Date: Wednesday, June 8, 2022 @ 02:24:37
  Author: yan12125
Revision: 1228618

addpkg: python-jaraco.classes 3.2.1-1; split from python-jaraco

See: https://archlinux.org/todo/depend-on-specific-python-jaraco-package/

Added:
  python-jaraco.classes/
  python-jaraco.classes/trunk/
  python-jaraco.classes/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Added: python-jaraco.classes/trunk/PKGBUILD
===================================================================
--- python-jaraco.classes/trunk/PKGBUILD	                        (rev 0)
+++ python-jaraco.classes/trunk/PKGBUILD	2022-06-08 02:24:37 UTC (rev 1228618)
@@ -0,0 +1,27 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-jaraco.classes
+pkgver=3.2.1
+pkgrel=1
+pkgdesc='Module for classes manipulation'
+arch=('any')
+url='https://github.com/jaraco/jaraco.classes'
+license=('MIT')
+depends=('python-more-itertools')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-$pkgver.tar.gz")
+sha512sums=('4c85cfdd1da88de01596867365147be6cadd7e1d230798683236fdfde579747e3309aac95ae4f3ef86c91bb4493f3096c4ecc14e3db764ef308aab41ead88e23')
+
+build() {
+  cd "$srcdir/jaraco.classes-$pkgver"
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "$srcdir/jaraco.classes-$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