commit:     b8319db46792afe4fe85505610e3166a6c3e58d6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  8 03:22:27 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan  8 03:34:41 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8319db4

dev-python/django-otp: Bump to 1.7.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django-otp/Manifest                |  1 +
 dev-python/django-otp/django-otp-1.7.0.ebuild | 43 +++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest
index 8d9bfd45d1f2..9030206cffd6 100644
--- a/dev-python/django-otp/Manifest
+++ b/dev-python/django-otp/Manifest
@@ -1 +1,2 @@
 DIST django_otp-1.6.3.tar.gz 74641 BLAKE2B 
eac8399251e35d0aa768a05816f06649afac65bd67462c5b0a3f04b68c4b914c8998bb90e244ca2bbdd6d766fec27611d9541703aa9954db83dcaff88cfa029f
 SHA512 
3e671e643d37b734ec4e2808ce50d7636315a57dd59c9466ee2ededd4a94201f2340b0d1dc711106c0af154cca5229b4688d05db9085bc48483385ca534d6753
+DIST django_otp-1.7.0.tar.gz 75858 BLAKE2B 
5c6ed23664e4c0d5af9a161e132d268dceb8518ffe795159e37ef324bef04773ac98c9e000e7b32c2703e9fcf2e048e584093f3a7d20cb125a5a1f56b8e7d9e5
 SHA512 
ecaeb839002ff348cd26e0a90c49e6191d01f49adc49691fda16beb062b1454a002c77e27dca791ec041dafd4d5cdd7b1ed08e1711809cfa18f1ade77662fa96

diff --git a/dev-python/django-otp/django-otp-1.7.0.ebuild 
b/dev-python/django-otp/django-otp-1.7.0.ebuild
new file mode 100644
index 000000000000..4806b4f5d1b4
--- /dev/null
+++ b/dev-python/django-otp/django-otp-1.7.0.ebuild
@@ -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..14} )
+
+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}"
+}

Reply via email to