Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-otp/
Date: Tue, 30 Nov 2021 21:55:24
Message-Id: 1638308651.f4269cfc13c93ed9d60c497d9f66d312081dc130.mgorny@gentoo
1 commit: f4269cfc13c93ed9d60c497d9f66d312081dc130
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 30 21:44:11 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 30 21:44:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4269cfc
7
8 dev-python/django-otp: Bump to 1.1.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/django-otp/Manifest | 1 +
13 dev-python/django-otp/django-otp-1.1.3.ebuild | 35 +++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest
17 index 209230488f72..cc553fd76403 100644
18 --- a/dev-python/django-otp/Manifest
19 +++ b/dev-python/django-otp/Manifest
20 @@ -1,2 +1,3 @@
21 DIST django-otp-1.1.1.gh.tar.gz 71526 BLAKE2B d68c0fe99c5437d08a8a0a433b4d6f41f0068047e3899efbb24234696c3494a064982aabc02d2788662d516235413bfc804f76cf5ffa1c608d3aa61927e2fad3 SHA512 5946cd64fd0f52dac5ef9fb192f8ecf78e99c96fe7e3223b41c68d96e249f6727149ef58a2dbf48024452e078f5f93c1f9edb9db2a25def5cbb3992c16aac18c
22 DIST django-otp-1.1.2.gh.tar.gz 72639 BLAKE2B ba30e8d6c9982010dd9a627a810b9bc36474c571cbb6eb756d45b617338f18b7ceb024f88baeb7ceb6dbd76b3f5cf9ed53ebabd9dba435b6ab6cc3bdba092fa4 SHA512 85b34f9a36632ca44e4f7a3f11d1fd795bf65f909c0b6e4735afd56f06d754f7f28b43ccc851cb86c7330919978d3e2cb793111e50030273056da0231ee0e3ca
23 +DIST django-otp-1.1.3.gh.tar.gz 72736 BLAKE2B 1dc0570d65f0ac8de417260ce2fb895dbae7f5f2cd106b0dd969bc04df207cd4aa9ccf8be2bfc74475bb3ec6abcd451b7fa1c32fd0f7f0d3b27afca212f3b8ed SHA512 4e8b38c393fe29b2fa91e3f1f70abd2cc671dcf760e2e2bf8f738e04fc43a6e7f54229f298f7f2611988dffc40b4450ed1ab910ce9e9995b205dff1b3c90a977
24
25 diff --git a/dev-python/django-otp/django-otp-1.1.3.ebuild b/dev-python/django-otp/django-otp-1.1.3.ebuild
26 new file mode 100644
27 index 000000000000..892604810582
28 --- /dev/null
29 +++ b/dev-python/django-otp/django-otp-1.1.3.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Django framework adding two-factor authentication using one-time passwords"
40 +HOMEPAGE="https://github.com/django-otp/django-otp/"
41 +SRC_URI="
42 + https://github.com/django-otp/django-otp/archive/v${PV}.tar.gz
43 + -> ${P}.gh.tar.gz"
44 +
45 +LICENSE="BSD"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + >=dev-python/django-2.2[${PYTHON_USEDEP}]"
53 +BDEPEND="
54 + test? (
55 + $(python_gen_impl_dep sqlite)
56 + dev-python/freezegun[${PYTHON_USEDEP}]
57 + dev-python/qrcode[${PYTHON_USEDEP}]
58 + ${RDEPEND}
59 + )"
60 +
61 +python_test() {
62 + local -x PYTHONPATH=test:${PYTHONPATH}
63 + local -x DJANGO_SETTINGS_MODULE=test_project.settings
64 + django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}"
65 +}