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 5E50215838C for ; Tue, 23 Jan 2024 18:18:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5C3BE2A9C; Tue, 23 Jan 2024 18:18:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E452E2A9C for ; Tue, 23 Jan 2024 18:18:51 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC52334333A for ; Tue, 23 Jan 2024 18:18:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CFA7134C for ; Tue, 23 Jan 2024 18:18:49 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1706033919.9e4ad899631be8cbd14a13df98cf6d4001a4af31.arthurzam@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-1.0.1.ebuild X-VCS-Directories: dev-python/python-dotenv/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 9e4ad899631be8cbd14a13df98cf6d4001a4af31 X-VCS-Branch: master Date: Tue, 23 Jan 2024 18:18:49 +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: b2a2ad9d-3258-4e85-b978-be1795b17d6d X-Archives-Hash: baa69e6698242e93b16bd06d835b113e commit: 9e4ad899631be8cbd14a13df98cf6d4001a4af31 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Jan 23 17:46:37 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Jan 23 18:18:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e4ad899 dev-python/python-dotenv: add 1.0.1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/python-dotenv/Manifest | 1 + .../python-dotenv/python-dotenv-1.0.1.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest index 33686de53205..a901218c59c9 100644 --- a/dev-python/python-dotenv/Manifest +++ b/dev-python/python-dotenv/Manifest @@ -1 +1,2 @@ DIST python-dotenv-1.0.0.tar.gz 37399 BLAKE2B cc5a4b810fae2a79e091a9523738be37ba030c29a373f375f2d413396f56d0606b77febddfba82085f94abc151e86b3a8d4719899e4e80e9956bea3989569dbd SHA512 8fc14eb07d8fb5e4cb4a83338aac1009aaa0715b3e7438b4ac8ee7da0ad5f7cf6b05121a685d05af7f03828ab39df61382cfbc5e95c6708246d1f400fe10d250 +DIST python-dotenv-1.0.1.tar.gz 39115 BLAKE2B 31bc0598abce2ffe5da0f248f56587fc549489c11b21e87ca144654c564701d7a5f952614b21ba12afb49a7bbb6d3753714c6e628485b449e9de2ec9513657f0 SHA512 d03f28f123b19e6e4af05c239686e189e5767108049399c110b80668bfea9d2a3f9222b719863fdef016cbe726a7a77748a18ddad013f7fc21c239ccf680c1da diff --git a/dev-python/python-dotenv/python-dotenv-1.0.1.ebuild b/dev-python/python-dotenv/python-dotenv-1.0.1.ebuild new file mode 100644 index 000000000000..a36a6d24eae8 --- /dev/null +++ b/dev-python/python-dotenv/python-dotenv-1.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage .env files" +HOMEPAGE=" + https://github.com/theskumar/python-dotenv/ + https://pypi.org/project/python-dotenv/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + >=dev-python/click-5[${PYTHON_USEDEP}] + >=dev-python/sh-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/ipython[${PYTHON_USEDEP}] + ' python3_{10,11}) + ) +" + +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 +}