ilot/py3-django-cte: drop due to inclusion in community

This commit is contained in:
Antoine Martin 2024-10-29 07:26:45 -04:00 committed by ayakael
parent bd438f03e4
commit 702d61a5dc

View file

@ -1,39 +0,0 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-cte
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=django-cte
pkgver=1.3.3
pkgrel=0
pkgdesc="Common Table Expressions (CTE) for Django"
url="https://pypi.python.org/project/django-cte"
arch="noarch"
license="BSD-Clause-3"
depends="py3-django"
checkdepends="py3-pytest"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
source="$pkgname-$pkgver.tar.gz::https://github.com/dimagi/django-cte/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # Requires active psql
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
DJANGO_SETTINGS_MODULE=tests.settings .testenv/bin/python3 -m pytest -v
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
543ca5d7ae546d00facadaccb23498534f9016ef7f1ce68cf0ca7640e8d0d4bbf0e1354e2d1b02d6787cc51c58098deda5783100ff9b8974fd9abe37ec662402 py3-django-cte-1.3.3.tar.gz
"