2020-08-01 06:38:33 -04:00
|
|
|
# Maintainer: Philipp A. <flying-sheep@web.de>
|
|
|
|
|
|
|
|
_name=genson
|
|
|
|
pkgname=python-$_name
|
2024-12-30 15:56:18 -05:00
|
|
|
pkgver=1.3.0
|
|
|
|
pkgrel=11
|
2020-08-01 06:38:33 -04:00
|
|
|
pkgdesc='GenSON is a powerful, user-friendly JSON Schema generator.'
|
|
|
|
arch=(any)
|
|
|
|
url="https://github.com/wolverdude/$_name"
|
|
|
|
license=(MIT)
|
|
|
|
depends=(python)
|
2024-12-30 15:56:18 -05:00
|
|
|
makedepends=(python-setuptools python-build python-installer python-wheel)
|
2020-08-01 06:38:33 -04:00
|
|
|
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
|
2024-12-30 15:56:18 -05:00
|
|
|
sha256sums=('e02db9ac2e3fd29e65b5286f7135762e2cd8a986537c075b06fc5f1517308e37')
|
|
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $_name-$pkgver
|
|
|
|
python -m build --wheel --no-isolation
|
|
|
|
}
|
2020-08-01 06:38:33 -04:00
|
|
|
|
|
|
|
package() {
|
2024-12-30 15:56:18 -05:00
|
|
|
cd $_name-$pkgver
|
|
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
2020-08-01 06:38:33 -04:00
|
|
|
}
|