summaryrefslogtreecommitdiff
path: root/dev-python/tempy
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-01 18:26:53 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-01 18:26:53 +0000
commitcfd1744f9e0477d2132218bb1caeccdec38e5570 (patch)
treef49b834fdff56a01ad2c58872414f77a7adcdfa6 /dev-python/tempy
parentfef9649facf9cd074103ca19e15bbf10a76fa55f (diff)
downloadbaldeagleos-repo-cfd1744f9e0477d2132218bb1caeccdec38e5570.tar.gz
baldeagleos-repo-cfd1744f9e0477d2132218bb1caeccdec38e5570.tar.xz
baldeagleos-repo-cfd1744f9e0477d2132218bb1caeccdec38e5570.zip
Adding metadata
Diffstat (limited to 'dev-python/tempy')
-rw-r--r--dev-python/tempy/Manifest2
-rw-r--r--dev-python/tempy/files/assets.patch15
-rw-r--r--dev-python/tempy/tempy-1.3.0.ebuild (renamed from dev-python/tempy/tempy-1.1.0.ebuild)15
3 files changed, 8 insertions, 24 deletions
diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest
index bea41a5402a4..8fe4819f46fd 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 dff32bce66fa..000000000000
--- 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
index d37b00af93b2..3ae0723a1998 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
+DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{8,9,10,11,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'.