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 AF77913835A for ; Thu, 29 Apr 2021 07:18:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0727DE08A2; Thu, 29 Apr 2021 07:18:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 DE815E08A2 for ; Thu, 29 Apr 2021 07:18:31 +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 D418D34109A for ; Thu, 29 Apr 2021 07:18:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1841773A for ; Thu, 29 Apr 2021 07:18:28 +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: <1619680699.4da26b0141000327f45c2312456702aa4c3d3e69.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.0.4.ebuild X-VCS-Directories: dev-python/django-otp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4da26b0141000327f45c2312456702aa4c3d3e69 X-VCS-Branch: master Date: Thu, 29 Apr 2021 07:18:28 +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: 7ff918e9-de6d-4323-b97c-39145d8e489c X-Archives-Hash: a08ae915d32ecf8ea83985f5c1b5cb20 commit: 4da26b0141000327f45c2312456702aa4c3d3e69 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 29 07:10:28 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 29 07:18:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da26b01 dev-python/django-otp: Bump to 1.0.4 Signed-off-by: Michał Górny gentoo.org> dev-python/django-otp/Manifest | 1 + dev-python/django-otp/django-otp-1.0.4.ebuild | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index 1f6db995cf4..f3112c9113f 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1,2 +1,3 @@ DIST django-otp-1.0.2.gh.tar.gz 66885 BLAKE2B be98b68f0aa5df25835afa28a23d25e0353dc2d556e62bdf1610a44a409a8e48422e17f274b21eb7cbd421cc4a25a35d01e5d7b3bd99d9caec8c8060da26f57a SHA512 6fe7f79858bdf362dd35e1aeb87c086edd5daf17d4429fc4cb39f3d287ee4c7cf8fb2d6d8f6a7d1b4606104d6732a705b9285f9fec93e4e7c7ca3f3f52541ddd DIST django-otp-1.0.3.gh.tar.gz 67007 BLAKE2B 33aed04898afb6ad3940e06436a1d2b4b9349e8fcd55acba0719084939fb9b111e0c266f4964826491f91f832c16f2e4d505486016bfad416706e3e7ef6f3f37 SHA512 7b661228377fa57812a45888e415478cee49d1e343cbc814ba8631f4c354077901ec82f79e69abd00c6bad1dffa026d3e03f4cf0809b074ae1e02ab2cf878137 +DIST django-otp-1.0.4.gh.tar.gz 68976 BLAKE2B 30908c3769ca9c05c850524d8a3b155f7ac8fcfa8e69073622d83808d7b78293604f9b332e59b074a6737188ca4f53ede13d31d283588605ca17f994bf5d4e5e SHA512 7b37fbc56a708f5c26e6204fba344235c7823db66d7e3e56b74516efc8a1de4150c088ce2d94c04c10855f438b077599d361a4d2c2263e8ff2936309dc0ddb6e diff --git a/dev-python/django-otp/django-otp-1.0.4.ebuild b/dev-python/django-otp/django-otp-1.0.4.ebuild new file mode 100644 index 00000000000..26c9a4b8f2a --- /dev/null +++ b/dev-python/django-otp/django-otp-1.0.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..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-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 + django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}" +}