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 6B5E5138239 for ; Sat, 27 Mar 2021 13:45:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6163E079E; Sat, 27 Mar 2021 13:45:54 +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 89A28E079E for ; Sat, 27 Mar 2021 13:45:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 DBF7E335C02 for ; Sat, 27 Mar 2021 13:45:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09B94478 for ; Sat, 27 Mar 2021 13:45:51 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1616852624.64fb1a0428d43799f458bc342ea1d771a9b29e44.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dotenv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-dotenv/Manifest dev-python/python-dotenv/python-dotenv-0.16.0.ebuild X-VCS-Directories: dev-python/python-dotenv/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 64fb1a0428d43799f458bc342ea1d771a9b29e44 X-VCS-Branch: master Date: Sat, 27 Mar 2021 13:45:51 +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: 0f12952a-d5bf-423c-9375-c56e1e0128a2 X-Archives-Hash: 8285718fbd8dd10239681c71a084daab commit: 64fb1a0428d43799f458bc342ea1d771a9b29e44 Author: Sebastian Pipping gentoo org> AuthorDate: Sat Mar 27 13:43:44 2021 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Mar 27 13:43:44 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64fb1a04 dev-python/python-dotenv: 0.16.0 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.17, Repoman-3.0.2 dev-python/python-dotenv/Manifest | 1 + .../python-dotenv/python-dotenv-0.16.0.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest index 75e8eca5d6e..d6deed65381 100644 --- a/dev-python/python-dotenv/Manifest +++ b/dev-python/python-dotenv/Manifest @@ -1 +1,2 @@ DIST python-dotenv-0.15.0.tar.gz 30008 BLAKE2B 1a406145f0d0497aa037dc95b80fb04854b2889ba4014e4689a24b142d5d71c49d24ac60406f8b2dc873e661c19e36604ef58eb03c7bc9f890f6d4561be199a6 SHA512 f1f16d2688041259027b12920ac5f47c2d1d96cfc3ec8a362a05ddfb13fee2cf4926c20ad38eda521fcafb6eef8d7895d86dedadef1b1ea2ecd7e33734b07cbe +DIST python-dotenv-0.16.0.tar.gz 30903 BLAKE2B 10a737d819bbede558ef87e79b64c4347d05e3dc2bcf76877daf2f3a7afe80230dc95bd2667a7ab6adaad3507d3e55d061b1b43f09f1710778683e79c5aef928 SHA512 8025e3c1e3c2eb5276b13716f3f2f002151c699fa9837d61762fb8bc8b5fe9b58498905ff1689bc62c49612b8d81066e80e0a289164451f5b757bdc6bc0c46eb diff --git a/dev-python/python-dotenv/python-dotenv-0.16.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.16.0.ebuild new file mode 100644 index 00000000000..327601a0eff --- /dev/null +++ b/dev-python/python-dotenv/python-dotenv-0.16.0.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,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Manage .env files" +HOMEPAGE="https://github.com/theskumar/python-dotenv" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" + +DEPEND="test? ( + >=dev-python/click-5[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/sh-1.09[${PYTHON_USEDEP}] + )" + +DOCS=( CHANGELOG.md README.md ) + +distutils_enable_tests pytest + +python_test() { + # Tests call the "dotenv" command which needs to be in PATH + # https://bugs.gentoo.org/743784 + distutils_install_for_testing + pytest -vv || die "Tests fail with ${EPYTHON}" +}