From 7a38e04ba77db921672bdcb0cd4d14226ca1f6f1 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 18 Sep 2024 22:06:07 -0400 Subject: [PATCH 1/4] ilot/py3-django-tenants: fix license --- ilot/py3-django-tenants/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ilot/py3-django-tenants/APKBUILD b/ilot/py3-django-tenants/APKBUILD index 167cc81..a0c82f0 100644 --- a/ilot/py3-django-tenants/APKBUILD +++ b/ilot/py3-django-tenants/APKBUILD @@ -4,11 +4,11 @@ pkgname=py3-django-tenants #_pkgreal is used by apkbuild-pypi to find modules at PyPI _pkgreal=django-tenants pkgver=3.6.1 -pkgrel=2 +pkgrel=3 pkgdesc="Tenant support for Django using PostgreSQL schemas." url="https://pypi.python.org/project/django-tenants" arch="noarch" -license="KIT" +license="MIT" depends="py3-django py3-psycopg py3-gunicorn py3-coverage" checkdepends="python3-dev py3-pytest" makedepends="py3-setuptools py3-gpep517 py3-wheel" From 1e82c5a4deadcf86080620da6e37f664993aa3ee Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 18 Sep 2024 22:11:58 -0400 Subject: [PATCH 2/4] ilot/py3-django-countries: new aport --- ilot/py3-django-countries/APKBUILD | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ilot/py3-django-countries/APKBUILD diff --git a/ilot/py3-django-countries/APKBUILD b/ilot/py3-django-countries/APKBUILD new file mode 100644 index 0000000..67e36b5 --- /dev/null +++ b/ilot/py3-django-countries/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-django-countries +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=django-countries +pkgver=7.6.1 +pkgrel=0 +pkgdesc="Provides a country field for Django models." +url="https://pypi.python.org/project/django-countries" +arch="noarch" +license="MIT" +depends="py3-django py3-asgiref py3-typing-extensions" +# missing py3-graphene +checkdepends="py3-pytest-django py3-pytest-cov py3-django-rest-framework" +makedepends="py3-setuptools py3-gpep517 py3-wheel" +source="$pkgname-$pkgver.tar.gz::https://github.com/SmileyChris/django-countries/archive/refs/tags/v$pkgver.tar.gz" +options="!check" # TODO +builddir="$srcdir/$_pkgreal-$pkgver" +subpackages="$pkgname-pyc" + +build() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +check() { + python3 -m venv --clear --without-pip --system-site-packages .testenv + .testenv/bin/python3 -m installer .dist/*.whl + .testenv/bin/python3 -m pytest -v +} + +package() { + python3 -m installer -d "$pkgdir" \ + .dist/*.whl +} + +sha512sums=" +53c7db02244aad196c141d1d04db5087c802d69d12de25e86fe0b2abdfb4ce9ed6ec84b6344c423dc6e7d2e57c2bb14a5324739c7cead54ec7d261e7e3fe6112 py3-django-countries-7.6.1.tar.gz +" From 0dae0f85dd27ff137a1ab2a93570ed007280b912 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 18 Sep 2024 22:22:08 -0400 Subject: [PATCH 3/4] ilot/py3-drf-orjson-renderer: new aport --- ilot/py3-drf-orjson-renderer/APKBUILD | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ilot/py3-drf-orjson-renderer/APKBUILD diff --git a/ilot/py3-drf-orjson-renderer/APKBUILD b/ilot/py3-drf-orjson-renderer/APKBUILD new file mode 100644 index 0000000..4af0307 --- /dev/null +++ b/ilot/py3-drf-orjson-renderer/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-drf-orjson-renderer +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=drf_orjson_renderer +pkgver=1.7.3 +_gittag=9a59352f82e262bd78ccc0228361bcb321a33623 +pkgrel=0 +pkgdesc="Django RestFramework JSON Renderer Backed by orjson" +url="https://pypi.python.org/project/drf-orjson-renderer" +arch="noarch" +license="MIT" +depends="py3-django-rest-framework py3-orjson" +checkdepends="py3-pytest-django" +makedepends="py3-setuptools py3-gpep517 py3-wheel" +source="$pkgname-$pkgver.tar.gz::https://github.com/brianjbuck/drf_orjson_renderer/archive/$_gittag.tar.gz" +builddir="$srcdir/$_pkgreal-$_gittag" +subpackages="$pkgname-pyc" + +build() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +check() { + python3 -m venv --clear --without-pip --system-site-packages .testenv + .testenv/bin/python3 -m installer .dist/*.whl + .testenv/bin/python3 -m pytest -v +} + +package() { + python3 -m installer -d "$pkgdir" \ + .dist/*.whl +} + +sha512sums=" +7870aebf6bcc249228b1620f4b50124eef54e251dcac236e23be4287284461617d630b073d2e9122f66779a908dfd69c5e16b486b23de0114b06b3df6b468e95 py3-drf-orjson-renderer-1.7.3.tar.gz +" From b22eb1acbd30ad3e9558ed5627d372e03a355a5e Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 18 Sep 2024 22:26:27 -0400 Subject: [PATCH 4/4] ilot/py3-pyrad: new aport --- ilot/py3-pyrad/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ilot/py3-pyrad/APKBUILD diff --git a/ilot/py3-pyrad/APKBUILD b/ilot/py3-pyrad/APKBUILD new file mode 100644 index 0000000..748ef46 --- /dev/null +++ b/ilot/py3-pyrad/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-pyrad +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=pyrad +pkgver=2.4 +pkgrel=0 +pkgdesc="Python RADIUS Implementation" +url="https://pypi.python.org/project/pyrad" +arch="noarch" +license="BSD-3-Clause" +depends="python3" +checkdepends="py3-pytest" +makedepends="py3-setuptools py3-gpep517 py3-wheel poetry" +source="$pkgname-$pkgver.tar.gz::https://github.com/pyradius/pyrad/archive/refs/tags/$pkgver.tar.gz" +options="!check" # TODO +builddir="$srcdir/$_pkgreal-$pkgver" +subpackages="$pkgname-pyc" + +build() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +check() { + python3 -m venv --clear --without-pip --system-site-packages .testenv + .testenv/bin/python3 -m installer .dist/*.whl + .testenv/bin/python3 -m pytest -v +} + +package() { + python3 -m installer -d "$pkgdir" \ + .dist/*.whl +} + +sha512sums=" +e4f4c687596bd226cf2cdb409a8d940c7b665fb7f722d09113dd9a1b05ab176ce8f920b235918ec01695f262930d13b4057b199cf6aac72afa54950c1fb59166 py3-pyrad-2.4.tar.gz +"