From 900988746a1a7412b5d0f0025e9f892233a417ff Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 11 Apr 2024 06:32:47 +0100 Subject: gentoo auto-resync : 11:04:2024 - 06:32:47 --- dev-python/django-otp/Manifest | 2 ++ dev-python/django-otp/django-otp-1.4.1.ebuild | 43 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/django-otp/django-otp-1.4.1.ebuild (limited to 'dev-python/django-otp') diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index 6b5937592081..c67dbeb0f978 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1,5 +1,7 @@ DIST django_otp-1.3.0.tar.gz 69013 BLAKE2B 4b6143bb8863e6c151df954a3c4ac4ecca770b1f396dd291e8634e8ad5e0755514111dac02307120e74abacf04bc681503a973bba067817c80bcffc8c462c592 SHA512 ef63c5db096ce7d1b10d6b2a99ab6db46b779d4221f509452921fcbf338decbd5c799aec7476587a03b34288ef3f5ff1964dee72105b65f04a22cbd53d445fa4 DIST django_otp-1.4.0.tar.gz 71690 BLAKE2B 61144122ab6dec438dcc3136e8856b4d66c598e811f1fdd21e5ba77a907ae5bda88fd543a1c87a165d9ba30ce2bcd7415b04d598719ecb46f2f3ddc15a342aa0 SHA512 df4a11d3cb6a55e2506815b81c7e8cc3e9c272afd8d1d9ba94fd1336467b177ea3eb1e89129c3c727d7ce74ce159e5d153a22e0be2d3d638c8357653b22dba56 +DIST django_otp-1.4.1.tar.gz 71847 BLAKE2B 49764cd1957ab2a6644780c1c6a0947b20bb4a0c1ca286907122a8b47f937aca8d1d2e480f7a309b546ac503cb0c3b1ea3e03532e7d6c38fe8db1606406eda71 SHA512 bb041a6ecd93dbad4f83d6593dfbc2f4768e1a3e68df332a61ed9ce483a8ec7090179a6865b128d02a2fc5ba2b42cd63dc16595a7b98e2728733fc274d506b1a EBUILD django-otp-1.3.0.ebuild 955 BLAKE2B df0c1b4d78c0377b6062bb8a72ea0173d583dcdae11890ccbf776fb2ed38dd1795074d3b66b7a67601e508f7e8dd4ad90799402fc3ea4349ab7d4a20ba1bc6e3 SHA512 29a16deec317c7808f619ed7b4d9799dd008f806bf26d63f7232fcb6cad9347f58fe8b1217fac34795d3cd549b1964d688f86156742a381f4ec1cef039495d13 EBUILD django-otp-1.4.0.ebuild 955 BLAKE2B 1ba7e209508ebd4b1bcfd1922f5b548aab773ff04075b03ba8516cfab6f91089310cd9e8653eb9b0deeb9fe82386bbd1cd07cfe0894e3a5bd54285fca6d5c088 SHA512 da094d516da07ae3e22c2c66a6e29de0ff2ff888134e2f36f8ffd76a5920793b17b206f1383fafbb23f168556ca1b080a4eb18d48b6bd8df4d2bea75185d621c +EBUILD django-otp-1.4.1.ebuild 955 BLAKE2B 1ba7e209508ebd4b1bcfd1922f5b548aab773ff04075b03ba8516cfab6f91089310cd9e8653eb9b0deeb9fe82386bbd1cd07cfe0894e3a5bd54285fca6d5c088 SHA512 da094d516da07ae3e22c2c66a6e29de0ff2ff888134e2f36f8ffd76a5920793b17b206f1383fafbb23f168556ca1b080a4eb18d48b6bd8df4d2bea75185d621c MISC metadata.xml 387 BLAKE2B f1be13d8af9a4926d7c82442cb939f1030a8234d4f18917cf8b2b8b204d763974b5f08f8597334238733d6446fc1165ba19d454e13105dc16afacf1fa3a98ea0 SHA512 d85060b9982c55057128a0c7b7fd1537e3eb613f9d44e6c40438283d76f6d65c92db78815005ce44b4096d57c62584659d5997491f003ca1ed8c36f88db8623c diff --git a/dev-python/django-otp/django-otp-1.4.1.ebuild b/dev-python/django-otp/django-otp-1.4.1.ebuild new file mode 100644 index 000000000000..758cf10a6598 --- /dev/null +++ b/dev-python/django-otp/django-otp-1.4.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +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-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.9 3.10) + ${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}" +} -- cgit v1.2.3