upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-jaraco.classes / trunk / PKGBUILD
blob2ecb41681e61c5b1d5920ec6adb7939c65f0c5ce
1 # Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
2 # Contributor: Kyle Keen <keenerd@gmail.com>
4 pkgname=python-jaraco.classes
5 pkgver=3.2.3
6 pkgrel=3
7 pkgdesc='Module for classes manipulation'
8 arch=('any')
9 url='https://github.com/jaraco/jaraco.classes'
10 license=('MIT')
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')
19 build() {
20   cd "$srcdir/jaraco.classes-$pkgver"
21   python -m build --wheel --no-isolation
24 check() {
25   cd "$srcdir/jaraco.classes-$pkgver"
26   python -m pytest
29 package() {
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: