From dd82b4d140ee33b06edbfc82309befe63764b603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Sat, 13 Jul 2024 16:06:02 +0300 Subject: [PATCH] python3-hjson 3.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Евгений Храмов --- python3-hjson/alr.sh | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 python3-hjson/alr.sh diff --git a/python3-hjson/alr.sh b/python3-hjson/alr.sh new file mode 100644 index 0000000..faabeb6 --- /dev/null +++ b/python3-hjson/alr.sh @@ -0,0 +1,35 @@ +name='python3-hjson' +version='3.1.0' +release='1' +desc='JSON for Humans, allows comments and is less error prone.' +homepage='https://github.com/laktak/hjson-py' +maintainer="Евгений Храмов " +architectures=('all') +license=('MIT') +provides=('hjson') +conflicts=('hjson') + +deps=( + 'python' +) +build_deps=( + 'python3-build' + 'python3-installer' + 'python3-setuptools' + 'python3-wheel' +) + +sources=("https://pypi.io/packages/source/h/hjson/hjson-${version}.tar.gz") +checksums=('SKIP') + +build() { + cd "hjson-${version}" + python -m build --wheel --no-isolation +} + +package() { + cd "hjson-${version}" + python -m installer --destdir="$pkgdir" dist/*.whl + install-license LICENSE.txt ./${name}/LICENSE.txt +} +