Date: Thursday, April 6, 2023 @ 03:30:20
Author: felixonmars
Revision: 1438251
archrelease: copy trunk to community-staging-any
Added:
python-jaraco.classes/repos/community-staging-any/
python-jaraco.classes/repos/community-staging-any/PKGBUILD
(from rev 1438247, python-jaraco.classes/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-jaraco.classes/repos/community-staging-any/PKGBUILD (from rev
1438247, python-jaraco.classes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 03:30:20 UTC (rev 1438251)
@@ -0,0 +1,35 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+pkgname=python-jaraco.classes
+pkgver=3.2.3
+pkgrel=2
+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')
+checkdepends=('python-pytest-enabler' 'python-pytest-mypy' 'python-pip')
+conflicts=(python-jaraco)
+replaces=(python-jaraco)
+source=("https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-$pkgver.tar.gz")
+sha512sums=('73fe80de5c50b553efee6aa51fff98e30e72dcb4167b6056628d3cbbb897e29abde4fa9da79a2b413830d8440055a43ea97ace4daa62853d874419cb36c43fee')
+
+build() {
+ cd "$srcdir/jaraco.classes-$pkgver"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$srcdir/jaraco.classes-$pkgver"
+ python -m pytest
+}
+
+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: