1 # Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
2 # Contributor: Kyle Keen <keenerd@gmail.com>
4 pkgname=python-jaraco.classes
7 pkgdesc='Module for classes manipulation'
9 url='https://github.com/jaraco/jaraco.classes'
11 depends=('python-more-itertools')
12 makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
13 checkdepends=('python-pytest-enabler' 'python-pytest-mypy' 'python-pip')
14 conflicts=(python-jaraco)
15 replaces=(python-jaraco)
16 source=("https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-$pkgver.tar.gz")
17 sha512sums=('73fe80de5c50b553efee6aa51fff98e30e72dcb4167b6056628d3cbbb897e29abde4fa9da79a2b413830d8440055a43ea97ace4daa62853d874419cb36c43fee')
20 cd "$srcdir/jaraco.classes-$pkgver"
21 python -m build --wheel --no-isolation
25 cd "$srcdir/jaraco.classes-$pkgver"
30 cd "$srcdir/jaraco.classes-$pkgver"
31 python -m installer --destdir="$pkgdir" dist/*.whl
32 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
35 # vim:set ts=2 sw=2 et: