commit: 75797eebf77a7eec3a0064b0f34cdc5a831aed6a Author: Henri Gasc <gasc <AT> eurecom <DOT> fr> AuthorDate: Fri Jan 20 09:33:58 2023 +0000 Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr> CommitDate: Fri Jan 20 09:34:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75797eeb
dev-python/tempy: add 1.0.8, drop 9999 Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr> dev-python/tempy/Manifest | 2 +- dev-python/tempy/files/assets.patch | 10 +++++----- dev-python/tempy/{tempy-9999.ebuild => tempy-1.0.8.ebuild} | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest index e25e0d9ec..f22f04677 100644 --- a/dev-python/tempy/Manifest +++ b/dev-python/tempy/Manifest @@ -1 +1 @@ -DIST tempy-9999.zip 1553322 BLAKE2B 777b0a3248fc5ed50f8f3ac1d9e7ad9c05106b276352f4c1473ce48e83e0cbab77e4889742165d54df7f7fe44b023629455ed749811828d29380c294df333284 SHA512 23aa2ceb008799120ea1734041b0e73ad5f5ebf5a89cff7fdd8d63d4346d2aad2134637a1b5febf2987cadd82ffe3fd1c6c6709696dd500c9ca8d27ba61426a7 +DIST tempy-1.0.8.tar.gz 1526803 BLAKE2B da6a8417ec90f2f3a7b167e8b4a38310d8729e281a57d9e05e72b7a315fb59cf308df55e8f7d380a49a191b6d20c51b95b481b33468f92b634ede23aa21678e9 SHA512 e2a43d978fae111a7dababa541fcc59eb25c22e548ea965af2a1072cc4d095e12235657a96300f37a1f92c040c6797100b7150ab80945252cc28b4e0bab29182 diff --git a/dev-python/tempy/files/assets.patch b/dev-python/tempy/files/assets.patch index 42a65328f..dff32bce6 100644 --- a/dev-python/tempy/files/assets.patch +++ b/dev-python/tempy/files/assets.patch @@ -1,15 +1,15 @@ diff --git a/setup.py b/setup.py -index 8911137..89122c4 100644 +index f67994f..e62f7c1 100644 --- a/setup.py +++ b/setup.py -@@ -23,9 +23,7 @@ setup( +@@ -23,8 +23,8 @@ setup( "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], - packages=["tempy"], -- package_data={"": ["assets/*.txt"]}, -- include_package_data=True, +- 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"]}, - python_requires=">=3.6", diff --git a/dev-python/tempy/tempy-9999.ebuild b/dev-python/tempy/tempy-1.0.8.ebuild similarity index 64% rename from dev-python/tempy/tempy-9999.ebuild rename to dev-python/tempy/tempy-1.0.8.ebuild index ab048545e..06fb258dd 100644 --- a/dev-python/tempy/tempy-9999.ebuild +++ b/dev-python/tempy/tempy-1.0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,8 +10,8 @@ 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/refs/heads/main.zip -> ${P}.zip" -S="${WORKDIR}/tempy-main" +SRC_URI="https://github.com/noprobelm/tempy/archive/0af52d8.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/tempy-0af52d8c18399cd19e2f162539e4869dbc46107a" LICENSE="MIT" SLOT="0" @@ -31,6 +31,6 @@ PATCHES=( distutils_enable_tests pytest pkg_postinst() { - elog By default, tempy is using the API key of the developper by making requests trhought their proxy server. - elog If you do no want this to be the case, you can register your own API key at https://www.weatherapi.com, and store it in '$HOME/.config/tempyrc'. + 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'. }