Compare commits
No commits in common. "4da2f29af2d876372178835816049fe6811e1c98" and "5f8fbe32aaf8f7370c697338c13d092fb2fdfb99" have entirely different histories.
4da2f29af2
...
5f8fbe32aa
2 changed files with 2 additions and 50 deletions
|
@ -1,48 +0,0 @@
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
pkgname=py3-django-tenant-schemas
|
|
||||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
|
||||||
_pkgreal=django-tenant-schemas
|
|
||||||
pkgver=1.12.0
|
|
||||||
pkgrel=0
|
|
||||||
pkgdesc="Tenant support for Django using PostgreSQL schemas."
|
|
||||||
url="https://pypi.python.org/project/django-tenant-schemas"
|
|
||||||
arch="noarch"
|
|
||||||
license="MIT"
|
|
||||||
depends="
|
|
||||||
py3-django
|
|
||||||
py3-ordered-set
|
|
||||||
py3-six
|
|
||||||
py3-psycopg2
|
|
||||||
"
|
|
||||||
checkdepends="py3-pytest"
|
|
||||||
makedepends="py3-setuptools py3-setuptools_scm py3-gpep517 py3-wheel"
|
|
||||||
source="
|
|
||||||
$pkgname-$pkgver.tar.gz::https://github.com/bernardopires/django-tenant-schemas/archive/refs/tags/v$pkgver.tar.gz
|
|
||||||
"
|
|
||||||
options="!check" # requires pg
|
|
||||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
||||||
subpackages="$pkgname-pyc"
|
|
||||||
|
|
||||||
build() {
|
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
||||||
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
|
|
||||||
cd tenant_schemas
|
|
||||||
DJANGO_SETTINGS_MODULE=tests.settings ../.testenv/bin/python3 -m pytest -v
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
python3 -m installer -d "$pkgdir" \
|
|
||||||
.dist/*.whl
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
758f68dc834d4c0074097b166d742a7d63c86b6426ad67d3ce2f56983d417666bf05ae9c46b3ee89a04dee2d888892463651355d26eda7c265ebee8971992319 py3-django-tenant-schemas-1.12.0.tar.gz
|
|
||||||
"
|
|
|
@ -4,12 +4,12 @@ pkgname=py3-django-tenants
|
||||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||||
_pkgreal=django-tenants
|
_pkgreal=django-tenants
|
||||||
pkgver=3.6.1
|
pkgver=3.6.1
|
||||||
pkgrel=4
|
pkgrel=3
|
||||||
pkgdesc="Tenant support for Django using PostgreSQL schemas."
|
pkgdesc="Tenant support for Django using PostgreSQL schemas."
|
||||||
url="https://pypi.python.org/project/django-tenants"
|
url="https://pypi.python.org/project/django-tenants"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
depends="py3-django py3-psycopg py3-gunicorn py3-coverage py3-django-tenant-schemas"
|
depends="py3-django py3-psycopg py3-gunicorn py3-coverage"
|
||||||
checkdepends="python3-dev py3-pytest"
|
checkdepends="python3-dev py3-pytest"
|
||||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||||
source="
|
source="
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue