commit:     7f5e46121702288b30ebc92a05effec5f4f6da93
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 22 02:37:32 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 22 02:45:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5e4612

dev-python/django-otp: Bump to 1.6.2

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

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

diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest
index 4abaeabd0108..15176290ecc2 100644
--- a/dev-python/django-otp/Manifest
+++ b/dev-python/django-otp/Manifest
@@ -1 +1,2 @@
 DIST django_otp-1.6.1.tar.gz 74134 BLAKE2B 
fcd3fcdab38f98cef3330ad36008f74f58134a1ea82440caa56a901575ad63805242969689e0381ae0823d70d4a7790c3e9703b6a8d1e3fa30bf10aa5be1bfc2
 SHA512 
7fdcbc53e7c210b4d8332b6facfefa7bd3d4f51df30f180be3936474da5a2bc604841e964114d2a8826a85839de2088e0e189779c47f7ab98473e575b5e3ffdf
+DIST django_otp-1.6.2.tar.gz 74228 BLAKE2B 
b4abf0d0aa9a56632d0d498f3d5006ab7a90c4fff73c431f2c7489b6ad5e6452071fb18ea6b69fb92ffe8e5f0c9a736b30d5b883294769ddee901e7a86b766d8
 SHA512 
39015bec2c2c306cf247bf12ed33a6b84314f6155f730368c50d5354c09315977cc6cc2653562c0987641cc2820c7a4149b4c85eac53baef8c80f59257c8fdf3

diff --git a/dev-python/django-otp/django-otp-1.6.2.ebuild 
b/dev-python/django-otp/django-otp-1.6.2.ebuild
new file mode 100644
index 000000000000..d04600e05e6d
--- /dev/null
+++ b/dev-python/django-otp/django-otp-1.6.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{11..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