From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C17EC15802F for ; Wed, 8 Mar 2023 05:09:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1B78E07D1; Wed, 8 Mar 2023 05:09:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8EB2E07D1 for ; Wed, 8 Mar 2023 05:09:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF2013412D3 for ; Wed, 8 Mar 2023 05:09:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C79C8C8 for ; Wed, 8 Mar 2023 05:09:51 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1678252185.0d095360f6bbea93a3afd23c18c432f4b25079eb.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-otp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/django-otp/Manifest dev-python/django-otp/django-otp-1.1.6.ebuild X-VCS-Directories: dev-python/django-otp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0d095360f6bbea93a3afd23c18c432f4b25079eb X-VCS-Branch: master Date: Wed, 8 Mar 2023 05:09:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aa4a0f6c-aae4-48dd-ba56-151b5b11f14b X-Archives-Hash: 1007cc23d06e8b172c5425d389913a88 commit: 0d095360f6bbea93a3afd23c18c432f4b25079eb Author: Michał Górny gentoo org> AuthorDate: Wed Mar 8 04:51:08 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 8 05:09:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d095360 dev-python/django-otp: Bump to 1.1.6 Signed-off-by: Michał Górny gentoo.org> dev-python/django-otp/Manifest | 1 + dev-python/django-otp/django-otp-1.1.6.ebuild | 44 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index 1e28fcd30796..6d635af5e083 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1,2 +1,3 @@ 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 +DIST django-otp-1.1.6.gh.tar.gz 76790 BLAKE2B 442c2418a870ccc8034a080415befb09780f9228562a15737e0911a0343945908f9fc2e026220a4477a5e5e1a6c1e4c3f7d51c823d4a9019f2bc15ae3367d8a3 SHA512 58c64651a5b274542bf09604daf3e59fdb0ea4eb96e7d14e59fd10a042d86cffb5df462191198f12320ea706f4d9aa651ef2c79ad7aa33e9d4ba0d157d90f4fb diff --git a/dev-python/django-otp/django-otp-1.1.6.ebuild b/dev-python/django-otp/django-otp-1.1.6.ebuild new file mode 100644 index 000000000000..f06aca9ee006 --- /dev/null +++ b/dev-python/django-otp/django-otp-1.1.6.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}" +}