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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6997915800F for ; Sat, 21 Jan 2023 19:12:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CD52E07A9; Sat, 21 Jan 2023 19:12:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64563E07A9 for ; Sat, 21 Jan 2023 19:12:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6EB14335DE8 for ; Sat, 21 Jan 2023 19:12:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B581184D for ; Sat, 21 Jan 2023 19:12:24 +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: <1674328316.3e4833b3ed5a582ee8a5d678d3bb0a096e7cda1a.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.21.1.ebuild X-VCS-Directories: dev-python/python-dotenv/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 3e4833b3ed5a582ee8a5d678d3bb0a096e7cda1a X-VCS-Branch: master Date: Sat, 21 Jan 2023 19:12:24 +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: 1a698893-b974-466b-80c7-d45a6f635139 X-Archives-Hash: 5eec20f89dd20895347d73d2472ab5b4 commit: 3e4833b3ed5a582ee8a5d678d3bb0a096e7cda1a Author: Sebastian Pipping gentoo org> AuthorDate: Sat Jan 21 19:06:40 2023 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Jan 21 19:11:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4833b3 dev-python/python-dotenv: 0.21.1 Signed-off-by: Sebastian Pipping gentoo.org> dev-python/python-dotenv/Manifest | 1 + .../python-dotenv/python-dotenv-0.21.1.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest index 637ce59116a5..52d64a2775b7 100644 --- a/dev-python/python-dotenv/Manifest +++ b/dev-python/python-dotenv/Manifest @@ -1 +1,2 @@ DIST python-dotenv-0.21.0.tar.gz 34984 BLAKE2B 5b2ac96e2c68afe04ec5e63da44c7109c0d142e1abad64fb9d4c87cfc84f36e62023854f72145f6a7f6b7e05bf58a57ee4b97ac8b84aa1304ddffba0a8795c6c SHA512 618335ad11a1ed8011d7cd0c6a83912b5cc29eddeb967c9594af32c6229ca178b571b08836776661612015ac9cd6753de1935f3f3e0e3b8feb733eccfbb262e7 +DIST python-dotenv-0.21.1.tar.gz 35930 BLAKE2B e89b88754406464c7d9493d8824147c1b3862a1f1c9a723ddd0cec9c053b5772fe2f5d55fac0e979a3ffc5d717ec22ceb45064ed45f58f2a3c12c1018ebe2f47 SHA512 30bbff6c4d95ee3e58d0ce895fd9bcceef52f59f66060bcbc66460bb5fff977760d168a09415a6a52587ad560b892da60fafa5824a6634ba3202d07243d2ac8b diff --git a/dev-python/python-dotenv/python-dotenv-0.21.1.ebuild b/dev-python/python-dotenv/python-dotenv-0.21.1.ebuild new file mode 100644 index 000000000000..4a29583d56a1 --- /dev/null +++ b/dev-python/python-dotenv/python-dotenv-0.21.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + test? ( + >=dev-python/click-5[${PYTHON_USEDEP}] + >=dev-python/sh-1.09[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGELOG.md README.md ) + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install + ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die +} + +src_install() { + distutils-r1_src_install + + # Avoid collision with dev-ruby/dotenv (bug #798648) + mv "${ED}"/usr/bin/{,python-}dotenv || die +}