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: Thu, 06 Aug 2020 02:30:50
Message-Id: 1596681042.deb06aa6f52b6ccbf3e693d60a607f264645c408.mgorny@gentoo
1 commit: deb06aa6f52b6ccbf3e693d60a607f264645c408
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 6 02:29:19 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 6 02:30:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb06aa6
7
8 dev-python/django-otp: Bump to 0.9.4
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-0.9.4.ebuild | 36 +++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest
17 index d3df199eec3..04f3024a72f 100644
18 --- a/dev-python/django-otp/Manifest
19 +++ b/dev-python/django-otp/Manifest
20 @@ -1 +1,2 @@
21 DIST django-otp-0.9.3.gh.tar.gz 63488 BLAKE2B 186af524cdfa3084bfc14deab1a4422a2da2a61b94d85f6c84a01ca0876b68d3f4b478ab2ed37b7d73ca273a2cce3bf4a6ad16c07cc2961bb6e5a0f26c80b1aa SHA512 23e73c1fb0af43c9ba946af5bd1a4ea2dc5abd2b6e9e543a0b7ec37296f0132e9203e3df3d8d0a70448d63453b8111921343c04fc3f073c505d6dac332fc0042
22 +DIST django-otp-0.9.4.gh.tar.gz 63947 BLAKE2B f1dd73b92d804419aa6990eff75b8f69d69a143e6f1e8a940f98dacd57678a3a46fa13012451a340ec0572c973469a4e913378a8808d25258e25beb1a6b559ef SHA512 d8387091d557894b91b4350069e2ac3fa30a2998b3e5fc89deeae69dfe1af4dbbc35560361740ebb2f797ee7223b3862427f185c8861eb724327fb09eb9e7b69
23
24 diff --git a/dev-python/django-otp/django-otp-0.9.4.ebuild b/dev-python/django-otp/django-otp-0.9.4.ebuild
25 new file mode 100644
26 index 00000000000..7c072a1e8d9
27 --- /dev/null
28 +++ b/dev-python/django-otp/django-otp-0.9.4.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{6..9} )
36 +
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-1.11[${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 +}