dev-python/django-otp: Bump to 1.7.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-09-04 03:50:49 +02:00
parent 9f09f6014d
commit 63abc0ff0b
2 changed files with 44 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST django_otp-1.7.1.tar.gz 76923 BLAKE2B 96915810b86a52ac490f6f8a28bd516d07ee5d8890c66bd5120be2ee4bc9a72997cef6f0ac6e42e20a1f83b2a257ad02160b5976343a94a81f7d2f34893dda00 SHA512 db81dc18505a89a1be109d27c700891bb16df8bf2f281a51886c9c4666d3102a70bd0d87284407026b4ab1a478ca2029d348e908a09533e018c8583f65cd261d
DIST django_otp-1.7.2.tar.gz 77376 BLAKE2B 197ac5c2375159523fbab9a02cba0a7507f8d0731c260c38edc10c08a6d91a27b42a1a28bd91b4c5505cb68a376ebfaa94836587d08358ccab4bf9f0a5b05765 SHA512 ffec0cd2ab0069615dee2e6a87501d89294d9c50ca0d28ef9bee5b600cdfe84a9df4b751aaa81c9fa330cb372fb3fdc9dd6bd0ab19cde26acd6dd1dd566dd051

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
DESCRIPTION="Django framework adding two-factor authentication using one-time passwords"
HOMEPAGE="
https://github.com/django-otp/django-otp/
https://pypi.org/project/django-otp/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-4.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_impl_dep sqlite)
dev-python/freezegun[${PYTHON_USEDEP}]
|| (
dev-python/qrcode[${PYTHON_USEDEP}]
dev-python/segno[${PYTHON_USEDEP}]
)
${RDEPEND}
)
"
python_test() {
local -x PYTHONPATH=test:${PYTHONPATH}
local -x DJANGO_SETTINGS_MODULE=test_project.settings
"${EPYTHON}" -m django test -v 2 django_otp ||
die "Tests fail with ${EPYTHON}"
}