summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 19749593adcbd7575c2c25e33b52eec56ac65080 (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
30
#
# Generated by pypi2aur from pypi package condense-json
# Date 2025-04-17 13:18:59
#
pkgname=python-condense-json
_origpkgname=condense_json
pkgver=0.1.2
pkgrel=1
pkgdesc="Python function for condensing JSON using replacement strings"
arch=("x86_64")
url='https://pypi.org/project/condense-json/'
license=("Apache-2.0")
depends=()
makedepends=(
	"python-build"
	"python-installer"
	"python-wheel"
	"python-setuptools"
	"python-hatchling"
)
source=("https://files.pythonhosted.org/packages/ca/c7/fb14dfac23e6e27170f8a94bf13355987d15f8db62df99146f81bf6b2508/condense_json-0.1.2.tar.gz")
sha256sums=("a161e1984122ad35801cc14ecfe2b38d9d638c8c089e04cb545d26300fdc485e")
package() {
	cd "${_origpkgname}-${pkgver}" || exit
	python -m build --wheel --no-isolation
	python -m installer --destdir="$pkgdir" dist/*.whl
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: