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 82AA6158099 for ; Fri, 1 Dec 2023 10:27:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFB162BC013; Fri, 1 Dec 2023 10:27:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 A49462BC013 for ; Fri, 1 Dec 2023 10:27:45 +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 61B26335D6A for ; Fri, 1 Dec 2023 10:27:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B46ADA66 for ; Fri, 1 Dec 2023 10:27:42 +0000 (UTC) From: "Henri Gasc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Henri Gasc" Message-ID: <1701426454.63db8eaf6fa6eb6072a1c6978168ddea09ac4389.gasc@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/files/, dev-python/tempy/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/tempy/Manifest dev-python/tempy/files/assets.patch dev-python/tempy/tempy-1.1.0.ebuild dev-python/tempy/tempy-1.3.0.ebuild X-VCS-Directories: dev-python/tempy/ dev-python/tempy/files/ X-VCS-Committer: gasc X-VCS-Committer-Name: Henri Gasc X-VCS-Revision: 63db8eaf6fa6eb6072a1c6978168ddea09ac4389 X-VCS-Branch: dev Date: Fri, 1 Dec 2023 10:27:42 +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: a3f07302-13bc-4dea-ad03-a9bb6a44ae6a X-Archives-Hash: a4377617df81421e16aeaebf1917673d commit: 63db8eaf6fa6eb6072a1c6978168ddea09ac4389 Author: Henri Gasc eurecom fr> AuthorDate: Fri Dec 1 10:26:29 2023 +0000 Commit: Henri Gasc eurecom fr> CommitDate: Fri Dec 1 10:27:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63db8eaf dev-python/tempy: add 1.3.0, drop 1.1.0 Signed-off-by: Henri Gasc eurecom.fr> dev-python/tempy/Manifest | 2 +- dev-python/tempy/files/assets.patch | 15 --------------- .../tempy/{tempy-1.1.0.ebuild => tempy-1.3.0.ebuild} | 17 ++++++++--------- 3 files changed, 9 insertions(+), 25 deletions(-) diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest index bea41a5402..8fe4819f46 100644 --- a/dev-python/tempy/Manifest +++ b/dev-python/tempy/Manifest @@ -1 +1 @@ -DIST tempy-1.1.0.tar.gz 1526857 BLAKE2B 9d043db27466bc254bf285687359cb8302c1280e0e3c4aa97bc927931fdd14b28c59407dbf5005c159f292f7594e6a21ae2b374535941cbe771c35244ea31469 SHA512 e2eec6f5763226868634e5865a103ebde09ddc5dde9bca4ecf74dfe53de1efb0a576c765c23b0b2910fdea573320c0bc8df2f892e22bf4f5959afe7c72a44b68 +DIST tempy-1.3.0.gh.tar.gz 1546602 BLAKE2B 19019b7ce5ea74d7dddac1504d81a268df68ae88623892337255312c383af23ebb3399e437e94d150ab13236f846eee017f95a34bf6c55124a77dce8d1f6183e SHA512 2ede021316b9249c0ac8bc58506c3a7d006d242c3d4843ebbe5501532a9dc044e86c8b1228e4cb4dac4e09ae5ffab89731c1f6ca1a683bbfd3b34c6833fc1373 diff --git a/dev-python/tempy/files/assets.patch b/dev-python/tempy/files/assets.patch deleted file mode 100644 index dff32bce66..0000000000 --- a/dev-python/tempy/files/assets.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/setup.py b/setup.py -index f67994f..e62f7c1 100644 ---- a/setup.py -+++ b/setup.py -@@ -23,8 +23,8 @@ setup( - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - ], -- packages=["tempy"], -- package_data={"": ["assets/*.txt", "tempyrc"]}, -+ packages=["tempy", "tempy.assets"], -+ package_data={"": ["tempyrc"]}, - include_package_data=True, - install_requires=["requests", "rich"], - entry_points={"console_scripts": ["tempy=tempy.__main__:main"]}, diff --git a/dev-python/tempy/tempy-1.1.0.ebuild b/dev-python/tempy/tempy-1.3.0.ebuild similarity index 58% rename from dev-python/tempy/tempy-1.1.0.ebuild rename to dev-python/tempy/tempy-1.3.0.ebuild index 49a363a498..3dfa6c1b53 100644 --- a/dev-python/tempy/tempy-1.1.0.ebuild +++ b/dev-python/tempy/tempy-1.3.0.ebuild @@ -1,31 +1,30 @@ -# Copyright 2023 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="A simple, visually pleasing weather report in your terminal" HOMEPAGE="https://github.com/noprobelm/tempy" -SRC_URI="https://github.com/noprobelm/tempy/archive/26f13ed.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/tempy-26f13ed15bc1a4458976572ccdc60399ca5cb123" +SRC_URI="https://github.com/noprobelm/tempy/archive/815893b.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/tempy-815893b1f2020e0ceac6be6d21762155967408be" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +RESTRICT="test" +# We need https://github.com/darrenburns/ward, which is not in GURU, gentoo, or any overlay I could find. +# When I have more time, I will write the ebuild and remove this. RDEPEND=" dev-python/rich[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" -PATCHES=( - "${FILESDIR}/assets.patch" -) - pkg_postinst() { elog By default, tempy is using the API key of the developper by making requests throught their proxy server. elog You can register your own API key at https://www.weatherapi.com, and store it in '$HOME/.config/tempyrc'.