blob: ff98abf6c7d92a3cc6100c62ccab8f633365af16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Marcus Johansson <polarn@gmail.com>
pkgname=python-classdiff
_name=${pkgname#python-}
pkgver=0.5.0
pkgrel=1
pkgdesc="Utility to diff classes"
url="https://pypi.org/project/classdiff/"
depends=(
'python-dictdiffer'
'python-deepdiff')
makedepends=(
'python-build'
'python-installer'
'python-wheel')
license=('Apache-2.0')
arch=(any)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('1224b5858e88b388acfe301f594a34b4b23245f5b02a3826f232c9a1c05e2073')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|