commit:     c67bfb988239ec55562f3be756854ff117cdf3c2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 26 03:55:18 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 26 03:55:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c67bfb98

dev-python/django-otp: Bump to 1.6.3

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

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

diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest
index 4ff8045ed703..afbca993cf1a 100644
--- a/dev-python/django-otp/Manifest
+++ b/dev-python/django-otp/Manifest
@@ -1 +1,2 @@
 DIST django_otp-1.6.2.tar.gz 74228 BLAKE2B 
b4abf0d0aa9a56632d0d498f3d5006ab7a90c4fff73c431f2c7489b6ad5e6452071fb18ea6b69fb92ffe8e5f0c9a736b30d5b883294769ddee901e7a86b766d8
 SHA512 
39015bec2c2c306cf247bf12ed33a6b84314f6155f730368c50d5354c09315977cc6cc2653562c0987641cc2820c7a4149b4c85eac53baef8c80f59257c8fdf3
+DIST django_otp-1.6.3.tar.gz 74641 BLAKE2B 
eac8399251e35d0aa768a05816f06649afac65bd67462c5b0a3f04b68c4b914c8998bb90e244ca2bbdd6d766fec27611d9541703aa9954db83dcaff88cfa029f
 SHA512 
3e671e643d37b734ec4e2808ce50d7636315a57dd59c9466ee2ededd4a94201f2340b0d1dc711106c0af154cca5229b4688d05db9085bc48483385ca534d6753

diff --git a/dev-python/django-otp/django-otp-1.6.3.ebuild 
b/dev-python/django-otp/django-otp-1.6.3.ebuild
new file mode 100644
index 000000000000..d04600e05e6d
--- /dev/null
+++ b/dev-python/django-otp/django-otp-1.6.3.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