commit: 7390528607e6eb5ed69bb8167a287daad0872442
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 9 04:39:01 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 9 04:53:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73905286
dev-python/django-otp: Bump to 1.6.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/django-otp/Manifest | 1 +
dev-python/django-otp/django-otp-1.6.1.ebuild | 43 +++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest
index e9b46144e733..ceb2871c3ee2 100644
--- a/dev-python/django-otp/Manifest
+++ b/dev-python/django-otp/Manifest
@@ -1 +1,2 @@
DIST django_otp-1.6.0.tar.gz 73830 BLAKE2B
c68193a6da04d330daa73805389513554944832d0eeaf090d5f7c03fa6f52831658c813c3d4838fe3b71ad7044f1bffe1d74682af78262cf06f38bc05f12a467
SHA512
6800fc61fcf674933a8f0bb928fa97ac794075bc937022866c97d25b2d7f1a02f7402383d487c7a4d7e1bb48abc2ad6fa8c4d808c15222ba8cff35c909b2b22d
+DIST django_otp-1.6.1.tar.gz 74134 BLAKE2B
fcd3fcdab38f98cef3330ad36008f74f58134a1ea82440caa56a901575ad63805242969689e0381ae0823d70d4a7790c3e9703b6a8d1e3fa30bf10aa5be1bfc2
SHA512
7fdcbc53e7c210b4d8332b6facfefa7bd3d4f51df30f180be3936474da5a2bc604841e964114d2a8826a85839de2088e0e189779c47f7ab98473e575b5e3ffdf
diff --git a/dev-python/django-otp/django-otp-1.6.1.ebuild
b/dev-python/django-otp/django-otp-1.6.1.ebuild
new file mode 100644
index 000000000000..36fcf1f25b9f
--- /dev/null
+++ b/dev-python/django-otp/django-otp-1.6.1.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..13} )
+
+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}"
+}