Compare commits
4 commits
9e931e5a66
...
b22eb1acbd
Author | SHA1 | Date | |
---|---|---|---|
b22eb1acbd | |||
0dae0f85dd | |||
1e82c5a4de | |||
7a38e04ba7 |
4 changed files with 120 additions and 2 deletions
40
ilot/py3-django-countries/APKBUILD
Normal file
40
ilot/py3-django-countries/APKBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
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
|
||||
"
|
|
@ -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"
|
||||
|
|
39
ilot/py3-drf-orjson-renderer/APKBUILD
Normal file
39
ilot/py3-drf-orjson-renderer/APKBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
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
|
||||
"
|
39
ilot/py3-pyrad/APKBUILD
Normal file
39
ilot/py3-pyrad/APKBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
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
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue