From b3fef92e618039dc93153a93176184a49606c74a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Mar 2023 11:57:01 +0000 Subject: gentoo auto-resync : 07:03:2023 - 11:57:00 --- dev-python/django-otp/Manifest | 2 ++ dev-python/django-otp/django-otp-1.1.5.ebuild | 44 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-python/django-otp/django-otp-1.1.5.ebuild (limited to 'dev-python/django-otp') diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index c0726ee98a1d..f301eb789fe9 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1,3 +1,5 @@ DIST django-otp-1.1.4.gh.tar.gz 75551 BLAKE2B 95f1e181542f595c5ce4059e037d47720899eac566af5d93414a64829bccbd054096bcbe1b5624e975483e45fccc88f62888c21fbb630e533be1eed9be1c0d84 SHA512 6bf6fbb6fe274bb8cd5de1ae31fad2bcb019332d3b10faffcffcd1f68a1160dffc2093eaadfd684c91372522e0132198df00da9e8cd0249124fd7020d63b91c3 +DIST django-otp-1.1.5.gh.tar.gz 75725 BLAKE2B 8277166593be01db71dfdf3184b602d6224a411522b63b115211232473823fb811ae9a827c29245b105f1c88ea2b91ec823dfa9f7aa7a9badace33fb6e8efd50 SHA512 ab762ae6272fc1ff174bb923bc6196bc6f7cdfc2c0c022015302bd3be31a1b171800310bbb1fde5e109ac73a827f06ab4e3aae32f47bb5a494e22c0f620dd339 EBUILD django-otp-1.1.4.ebuild 968 BLAKE2B 31df4f4a70a81c7a3e2fbf310662bccf7046dcbe81315c6186216451624f11c5f75a8412b033b0f3873717c23f4117596d59cef65a41d9a60755a6fbff8e482e SHA512 21b01e9fbd5825dc225195d466a09c372efb4885cd9cc59e306fc52f19d5941fe14a83d5e35874ef6432cbca809a8421bae0d5a32ccf07144d56c2225c2b769d +EBUILD django-otp-1.1.5.ebuild 968 BLAKE2B 31df4f4a70a81c7a3e2fbf310662bccf7046dcbe81315c6186216451624f11c5f75a8412b033b0f3873717c23f4117596d59cef65a41d9a60755a6fbff8e482e SHA512 21b01e9fbd5825dc225195d466a09c372efb4885cd9cc59e306fc52f19d5941fe14a83d5e35874ef6432cbca809a8421bae0d5a32ccf07144d56c2225c2b769d MISC metadata.xml 387 BLAKE2B f1be13d8af9a4926d7c82442cb939f1030a8234d4f18917cf8b2b8b204d763974b5f08f8597334238733d6446fc1165ba19d454e13105dc16afacf1fa3a98ea0 SHA512 d85060b9982c55057128a0c7b7fd1537e3eb613f9d44e6c40438283d76f6d65c92db78815005ce44b4096d57c62584659d5997491f003ca1ed8c36f88db8623c diff --git a/dev-python/django-otp/django-otp-1.1.5.ebuild b/dev-python/django-otp/django-otp-1.1.5.ebuild new file mode 100644 index 000000000000..f06aca9ee006 --- /dev/null +++ b/dev-python/django-otp/django-otp-1.1.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +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/ +" +SRC_URI=" + https://github.com/django-otp/django-otp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/qrcode[${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}" +} -- cgit v1.2.3