diff --git a/community/py3-django-rest-framework/APKBUILD b/community/py3-django-rest-framework/APKBUILD
index 691741a3f4de532cd0ba25ed5eeb804cb2c90994..7d9bc9b9442babf9c8fac70afc5b589307df7d5d 100644
--- a/community/py3-django-rest-framework/APKBUILD
+++ b/community/py3-django-rest-framework/APKBUILD
@@ -4,15 +4,32 @@
 pkgname=py3-django-rest-framework
 _pkgname=django-rest-framework
 pkgver=3.15.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Web APIs for Django"
-options="!check" # fails with "OperationalError: no such table: auth_user"
 url="https://github.com/encode/django-rest-framework"
 arch="noarch"
 license="Custom"
-depends="py3-django py3-tz"
-makedepends="py3-setuptools py3-gpep517 py3-wheel"
-checkdepends="py3-pytest py3-core-api py3-jinja2 py3-uritemplate"
+depends="
+	py3-django
+	py3-tz
+"
+makedepends="
+	py3-setuptools
+	py3-gpep517
+	py3-wheel
+"
+checkdepends="
+	py3-pytest-django
+	py3-pytest-cov
+	py3-core-api
+	py3-jinja2
+	py3-uritemplate
+	py3-django-guardian
+	py3-psycopg2
+	py3-markdown
+	py3-yaml
+	py3-inflection
+"
 subpackages="$pkgname-pyc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/encode/$_pkgname/archive/$pkgver.tar.gz"
 builddir="$srcdir"/$_pkgname-$pkgver
@@ -26,7 +43,9 @@ build() {
 check() {
 	python3 -m venv --clear --without-pip --system-site-packages .testenv
 	.testenv/bin/python3 -m installer "$builddir"/.dist/*.whl
-	.testenv/bin/python3 ./runtests.py
+	# test_urlpatterns: AssertionError: assert [<URLPattern ''>] is not [<URLPattern ''>]
+	# test_markdown: rather hard to decipher assertion error
+	.testenv/bin/python3 -m pytest -v -k 'not test_urlpatterns and not test_markdown'
 }
 
 package() {