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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27C68138359 for ; Thu, 6 Aug 2020 02:30:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40514E087C; Thu, 6 Aug 2020 02:30:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28081E087C for ; Thu, 6 Aug 2020 02:30:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFE2B34F189 for ; Thu, 6 Aug 2020 02:30:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 650DB30C for ; Thu, 6 Aug 2020 02:30:45 +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: <1596681042.deb06aa6f52b6ccbf3e693d60a607f264645c408.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-0.9.4.ebuild X-VCS-Directories: dev-python/django-otp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: deb06aa6f52b6ccbf3e693d60a607f264645c408 X-VCS-Branch: master Date: Thu, 6 Aug 2020 02:30:45 +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: c3ba7be4-51b7-4601-9a62-1261431ab8c9 X-Archives-Hash: e81bf9c5d5a0d98777fe4a8fbfee009b commit: deb06aa6f52b6ccbf3e693d60a607f264645c408 Author: Michał Górny gentoo org> AuthorDate: Thu Aug 6 02:29:19 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 6 02:30:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb06aa6 dev-python/django-otp: Bump to 0.9.4 Signed-off-by: Michał Górny gentoo.org> dev-python/django-otp/Manifest | 1 + dev-python/django-otp/django-otp-0.9.4.ebuild | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index d3df199eec3..04f3024a72f 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1 +1,2 @@ DIST django-otp-0.9.3.gh.tar.gz 63488 BLAKE2B 186af524cdfa3084bfc14deab1a4422a2da2a61b94d85f6c84a01ca0876b68d3f4b478ab2ed37b7d73ca273a2cce3bf4a6ad16c07cc2961bb6e5a0f26c80b1aa SHA512 23e73c1fb0af43c9ba946af5bd1a4ea2dc5abd2b6e9e543a0b7ec37296f0132e9203e3df3d8d0a70448d63453b8111921343c04fc3f073c505d6dac332fc0042 +DIST django-otp-0.9.4.gh.tar.gz 63947 BLAKE2B f1dd73b92d804419aa6990eff75b8f69d69a143e6f1e8a940f98dacd57678a3a46fa13012451a340ec0572c973469a4e913378a8808d25258e25beb1a6b559ef SHA512 d8387091d557894b91b4350069e2ac3fa30a2998b3e5fc89deeae69dfe1af4dbbc35560361740ebb2f797ee7223b3862427f185c8861eb724327fb09eb9e7b69 diff --git a/dev-python/django-otp/django-otp-0.9.4.ebuild b/dev-python/django-otp/django-otp-0.9.4.ebuild new file mode 100644 index 00000000000..7c072a1e8d9 --- /dev/null +++ b/dev-python/django-otp/django-otp-0.9.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +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/freezegun[${PYTHON_USEDEP}] + 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}" +}