From 6d826765591e5d28ab7818a0a686e3cec7e8a4da Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 19 Jun 2020 08:41:51 +0200 Subject: dev-python/django-otp: Bump to 0.9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/django-otp/Manifest | 1 + dev-python/django-otp/django-otp-0.9.2.ebuild | 35 +++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 dev-python/django-otp/django-otp-0.9.2.ebuild (limited to 'dev-python/django-otp') diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index 8ab527d30368..3272c6292f4c 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1,2 +1,3 @@ DIST django-otp-0.9.0.gh.tar.gz 60204 BLAKE2B c71b27e007580410fea3cf8110631801c8c08f7e325c3586cb5a41a9618b371b5d65e3b030a5b483cb6cda684fe837cd40aa1c5d04f54dc82cda750b8ba8aeb9 SHA512 dd3c99e928ebf1ba5b6f6b2f34fcf8a1f86ad64ece17a9bd97c56be239f165808f6d1025e2826a12a8eadc150fe49920a0b7ef398d83542cd97a4a6f391505fe DIST django-otp-0.9.1.gh.tar.gz 60230 BLAKE2B 1a912e35f8245d3411fc1a9b26dd53d99df5dba5f2a5f68003bc4d535365af336d8664f81cc42f140247bb0e7150c0a60a3308d96cda1e41681dc93520f112d2 SHA512 600286653c035527a2a7978f19c3b9683805ab4562f12afcc2140adf92705239b8f9141b9979a6c30110cf7f3cc13c67019f39448d3cb8db61c4e1b0cdbcee88 +DIST django-otp-0.9.2.gh.tar.gz 61366 BLAKE2B 5016e352db2cfd60d94cd38986185fddab84bf997b72ff5ec3b59cc5944afa74ef67deca7691fd78e28f2aa75bccb9b976707ab6822a6781e541157d4810d8cb SHA512 9634ab23d006d768cec8f3a6685a77e54f8bee89854af2d431eb99560819139518738eb9f1a124190633dbd99f47388f5fa9685bd199a0918f73b263894ea051 diff --git a/dev-python/django-otp/django-otp-0.9.2.ebuild b/dev-python/django-otp/django-otp-0.9.2.ebuild new file mode 100644 index 000000000000..68f9dcae8052 --- /dev/null +++ b/dev-python/django-otp/django-otp-0.9.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Django framework adding two-factor authentication using one-time passwords" +HOMEPAGE="https://github.com/django-otp/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-1.11[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/qrcode[${PYTHON_USEDEP}] + ${RDEPEND} + )" + +python_test() { + local -x PYTHONPATH=test:${PYTHONPATH} + local -x DJANGO_SETTINGS_MODULE=test_project.settings + django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad