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 E9FBA13835B for ; Wed, 7 Oct 2020 07:28:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AF64E0916; Wed, 7 Oct 2020 07:28:06 +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 140B3E0916 for ; Wed, 7 Oct 2020 07:28:06 +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 ADC89340F44 for ; Wed, 7 Oct 2020 07:28:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEA85398 for ; Wed, 7 Oct 2020 07:28:02 +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: <1602055662.592428142de0831be28ed910d745b48fe5383ba5.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.1.ebuild X-VCS-Directories: dev-python/django-otp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 592428142de0831be28ed910d745b48fe5383ba5 X-VCS-Branch: master Date: Wed, 7 Oct 2020 07:28:02 +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: d91b354f-d12d-4766-adcc-a87592d21aa6 X-Archives-Hash: 0f4f974b38cd4b9877220b0dc03af9c0 commit: 592428142de0831be28ed910d745b48fe5383ba5 Author: Michał Górny gentoo org> AuthorDate: Wed Oct 7 06:02:01 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Oct 7 07:27:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59242814 dev-python/django-otp: Bump to 1.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/django-otp/Manifest | 1 + dev-python/django-otp/django-otp-1.0.1.ebuild | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index 5d64f223c3f..f264f07cb95 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1 +1,2 @@ DIST django-otp-1.0.0.gh.tar.gz 63813 BLAKE2B 17e771f11ddfe4c1667b29da7e6bdbf542796ce48d9f5898e1399603c373bee04a2b6d2d96d8b3295adf07ac245f7e5ad4baf3f6f63f6fe9ce350482a6cc06e8 SHA512 66bce779c5ce98c8b0f64bafa98d8be26a2175678b413bc5e8a80a2157d4b843c217aed7cb7b64fb423184c7dcff5967fa352dd233c404dc51082ec7e94792f7 +DIST django-otp-1.0.1.gh.tar.gz 66717 BLAKE2B 6eb24baf21667af5fe5200a91d320884b1fa37b78def9b543b3411f75de97226d0f40ce53f06391d7cfc9f5ad4020a14e472f9a1abe89844778ef69a2f3b5b72 SHA512 981d374ed4dacf3edd33dc1437465de7458ec243e1ace0b87425ec2b01a51fe4cee3545d1bbe53d7c924c5981b76f7ca77b5da2cf5d6f170f2f7435cff991337 diff --git a/dev-python/django-otp/django-otp-1.0.1.ebuild b/dev-python/django-otp/django-otp-1.0.1.ebuild new file mode 100644 index 00000000000..3c7f80d1650 --- /dev/null +++ b/dev-python/django-otp/django-otp-1.0.1.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-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}" +}