[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/

2024-03-11 Thread Henri Gasc
commit: b9cf027a711432f4c44971a014aac36bb093e7d2
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sun Mar 10 22:14:32 2024 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Mon Mar 11 08:42:06 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9cf027a

dev-python/tempy: add 1.4.0, drop 1.3.0

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/tempy/Manifest   | 2 +-
 dev-python/tempy/{tempy-1.3.0.ebuild => tempy-1.4.0.ebuild} | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest
index 8fe4819f46..7e51b01e07 100644
--- a/dev-python/tempy/Manifest
+++ b/dev-python/tempy/Manifest
@@ -1 +1 @@
-DIST tempy-1.3.0.gh.tar.gz 1546602 BLAKE2B 
19019b7ce5ea74d7dddac1504d81a268df68ae88623892337255312c383af23ebb3399e437e94d150ab13236f846eee017f95a34bf6c55124a77dce8d1f6183e
 SHA512 
2ede021316b9249c0ac8bc58506c3a7d006d242c3d4843ebbe5501532a9dc044e86c8b1228e4cb4dac4e09ae5ffab89731c1f6ca1a683bbfd3b34c6833fc1373
+DIST tempy-1.4.0.gh.tar.gz 1546608 BLAKE2B 
c99d18b4b2ef5d78728cb12f4c0d532b4b51b39bd270aac25a1760ff16db2b91d0da2f8f3f5037d18ea8370ce391e1d1c5e6f5a2dbf10e99afe908eca958c10b
 SHA512 
242ce3a3d3d9cbc65b51b855f80470dd3a3c22e13f6ecef38ee77a53d621a79671b2901344c7cc93b95f370ec78b2b136281f292fb49a1f8528d016025154db0

diff --git a/dev-python/tempy/tempy-1.3.0.ebuild 
b/dev-python/tempy/tempy-1.4.0.ebuild
similarity index 84%
rename from dev-python/tempy/tempy-1.3.0.ebuild
rename to dev-python/tempy/tempy-1.4.0.ebuild
index 3dfa6c1b53..4c061a3fcd 100644
--- a/dev-python/tempy/tempy-1.3.0.ebuild
+++ b/dev-python/tempy/tempy-1.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 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/815893b.tar.gz -> 
${P}.gh.tar.gz"
-S="${WORKDIR}/tempy-815893b1f2020e0ceac6be6d21762155967408be"
+SRC_URI="https://github.com/noprobelm/tempy/archive/fb0db08.tar.gz -> 
${P}.gh.tar.gz"
+S="${WORKDIR}/tempy-fb0db0841e097de4ed819066a45933748172e02a"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/files/, dev-python/tempy/

2023-12-01 Thread Henri Gasc
commit: 63db8eaf6fa6eb6072a1c6978168ddea09ac4389
Author: Henri Gasc  eurecom  fr>
AuthorDate: Fri Dec  1 10:26:29 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Fri Dec  1 10:27:34 2023 +
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..00
--- 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'.



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/

2023-04-15 Thread Henri Gasc
commit: d6f4416bff25a460363a3ee6cdbf22be30cfbc3f
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sat Apr 15 20:04:57 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Sat Apr 15 20:04:57 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6f4416b

dev-python/tempy: add 1.1.0, drop 1.0.9

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/tempy/Manifest   | 2 +-
 dev-python/tempy/{tempy-1.0.9.ebuild => tempy-1.1.0.ebuild} | 7 +++
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest
index 1e7e337e2..bea41a540 100644
--- a/dev-python/tempy/Manifest
+++ b/dev-python/tempy/Manifest
@@ -1 +1 @@
-DIST tempy-1.0.9.tar.gz 1526849 BLAKE2B 
8cdfebb70079ad84813a5281363935e3a26179149933927f6815be0dc50b4661e969e5e2fcdfb6d0cd42d5a4f65fa91cc33750d5151a7f3f281b25f6cf7f518c
 SHA512 
62acfa7dd27358bfed2ccb99c04d6b3b5ccde775a9c4708a1f86694d257812a6a51674977a3ea95ad1e829238303fb737d9968b7b93492e32bdfad0f8cae76f3
+DIST tempy-1.1.0.tar.gz 1526857 BLAKE2B 
9d043db27466bc254bf285687359cb8302c1280e0e3c4aa97bc927931fdd14b28c59407dbf5005c159f292f7594e6a21ae2b374535941cbe771c35244ea31469
 SHA512 
e2eec6f5763226868634e5865a103ebde09ddc5dde9bca4ecf74dfe53de1efb0a576c765c23b0b2910fdea573320c0bc8df2f892e22bf4f5959afe7c72a44b68

diff --git a/dev-python/tempy/tempy-1.0.9.ebuild 
b/dev-python/tempy/tempy-1.1.0.ebuild
similarity index 82%
rename from dev-python/tempy/tempy-1.0.9.ebuild
rename to dev-python/tempy/tempy-1.1.0.ebuild
index c403cc0f9..5729441c3 100644
--- a/dev-python/tempy/tempy-1.0.9.ebuild
+++ b/dev-python/tempy/tempy-1.1.0.ebuild
@@ -10,17 +10,16 @@ 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/7a597ee.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/tempy-7a597ee78fc7ba2c4ced041780470f568998f3c1"
+SRC_URI="https://github.com/noprobelm/tempy/archive/26f13ed.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/tempy-26f13ed15bc1a4458976572ccdc60399ca5cb123"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
-BDEPEND=""
 DEPEND="${RDEPEND}"
 
 PATCHES=(



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/

2023-02-04 Thread Henri Gasc
commit: ca6a84856a43822e2c12d180521ecc6722d10215
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sat Feb  4 17:54:09 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Sat Feb  4 21:30:47 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca6a8485

dev-python/tempy: Disable tests phase

Closes: https://bugs.gentoo.org/891725
Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/tempy/tempy-1.0.9.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-python/tempy/tempy-1.0.9.ebuild 
b/dev-python/tempy/tempy-1.0.9.ebuild
index ec7ebe54e..c403cc0f9 100644
--- a/dev-python/tempy/tempy-1.0.9.ebuild
+++ b/dev-python/tempy/tempy-1.0.9.ebuild
@@ -16,7 +16,6 @@ S="${WORKDIR}/tempy-7a597ee78fc7ba2c4ced041780470f568998f3c1"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
 
 RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
@@ -28,8 +27,6 @@ PATCHES=(
"${FILESDIR}/assets.patch"
 )
 
-distutils_enable_tests pytest
-
 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'.



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/

2023-01-30 Thread Henri Gasc
commit: 48d4334ba793959eaa9fa7523ac59414b09388b2
Author: Henri Gasc  eurecom  fr>
AuthorDate: Mon Jan 30 17:33:45 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Mon Jan 30 17:34:12 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48d4334b

dev-python/tempy: add 1.0.9, drop 1.0.8

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/tempy/Manifest   | 2 +-
 dev-python/tempy/{tempy-1.0.8.ebuild => tempy-1.0.9.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest
index f22f04677..1e7e337e2 100644
--- a/dev-python/tempy/Manifest
+++ b/dev-python/tempy/Manifest
@@ -1 +1 @@
-DIST tempy-1.0.8.tar.gz 1526803 BLAKE2B 
da6a8417ec90f2f3a7b167e8b4a38310d8729e281a57d9e05e72b7a315fb59cf308df55e8f7d380a49a191b6d20c51b95b481b33468f92b634ede23aa21678e9
 SHA512 
e2a43d978fae111a7dababa541fcc59eb25c22e548ea965af2a1072cc4d095e12235657a96300f37a1f92c040c6797100b7150ab80945252cc28b4e0bab29182
+DIST tempy-1.0.9.tar.gz 1526849 BLAKE2B 
8cdfebb70079ad84813a5281363935e3a26179149933927f6815be0dc50b4661e969e5e2fcdfb6d0cd42d5a4f65fa91cc33750d5151a7f3f281b25f6cf7f518c
 SHA512 
62acfa7dd27358bfed2ccb99c04d6b3b5ccde775a9c4708a1f86694d257812a6a51674977a3ea95ad1e829238303fb737d9968b7b93492e32bdfad0f8cae76f3

diff --git a/dev-python/tempy/tempy-1.0.8.ebuild 
b/dev-python/tempy/tempy-1.0.9.ebuild
similarity index 86%
rename from dev-python/tempy/tempy-1.0.8.ebuild
rename to dev-python/tempy/tempy-1.0.9.ebuild
index 06fb258dd..ec7ebe54e 100644
--- a/dev-python/tempy/tempy-1.0.8.ebuild
+++ b/dev-python/tempy/tempy-1.0.9.ebuild
@@ -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/0af52d8.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/tempy-0af52d8c18399cd19e2f162539e4869dbc46107a"
+SRC_URI="https://github.com/noprobelm/tempy/archive/7a597ee.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/tempy-7a597ee78fc7ba2c4ced041780470f568998f3c1"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/files/, dev-python/tempy/

2023-01-20 Thread Henri Gasc
commit: 75797eebf77a7eec3a0064b0f34cdc5a831aed6a
Author: Henri Gasc  eurecom  fr>
AuthorDate: Fri Jan 20 09:33:58 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Fri Jan 20 09:34:23 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75797eeb

dev-python/tempy: add 1.0.8, drop 

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/tempy/Manifest  |  2 +-
 dev-python/tempy/files/assets.patch| 10 +-
 dev-python/tempy/{tempy-.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-.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-.ebuild 
b/dev-python/tempy/tempy-1.0.8.ebuild
similarity index 64%
rename from dev-python/tempy/tempy-.ebuild
rename to dev-python/tempy/tempy-1.0.8.ebuild
index ab048545e..06fb258dd 100644
--- a/dev-python/tempy/tempy-.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'.
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/tempy/, dev-python/tempy/files/

2023-01-18 Thread Henri Gasc
commit: ee05812918b1109f11d17ca3755c112cce63e9cb
Author: Henri Gasc  eurecom  fr>
AuthorDate: Wed Jan 18 10:22:19 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Wed Jan 18 10:43:10 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee058129

dev-python/tempy: new package, add 

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/tempy/Manifest   |  1 +
 dev-python/tempy/files/assets.patch | 15 +++
 dev-python/tempy/metadata.xml   | 11 +++
 dev-python/tempy/tempy-.ebuild  | 36 
 4 files changed, 63 insertions(+)

diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest
new file mode 100644
index 0..e25e0d9ec
--- /dev/null
+++ b/dev-python/tempy/Manifest
@@ -0,0 +1 @@
+DIST tempy-.zip 1553322 BLAKE2B 
777b0a3248fc5ed50f8f3ac1d9e7ad9c05106b276352f4c1473ce48e83e0cbab77e4889742165d54df7f7fe44b023629455ed749811828d29380c294df333284
 SHA512 
23aa2ceb008799120ea1734041b0e73ad5f5ebf5a89cff7fdd8d63d4346d2aad2134637a1b5febf2987cadd82ffe3fd1c6c6709696dd500c9ca8d27ba61426a7

diff --git a/dev-python/tempy/files/assets.patch 
b/dev-python/tempy/files/assets.patch
new file mode 100644
index 0..42a65328f
--- /dev/null
+++ b/dev-python/tempy/files/assets.patch
@@ -0,0 +1,15 @@
+diff --git a/setup.py b/setup.py
+index 8911137..89122c4 100644
+--- a/setup.py
 b/setup.py
+@@ -23,9 +23,7 @@ setup(
+ "License :: OSI Approved :: MIT License",
+ "Operating System :: OS Independent",
+ ],
+-packages=["tempy"],
+-package_data={"": ["assets/*.txt"]},
+-include_package_data=True,
++packages=["tempy", "tempy.assets"],
+ install_requires=["requests", "rich"],
+ entry_points={"console_scripts": ["tempy=tempy.__main__:main"]},
+ python_requires=">=3.6",

diff --git a/dev-python/tempy/metadata.xml b/dev-python/tempy/metadata.xml
new file mode 100644
index 0..9793a2282
--- /dev/null
+++ b/dev-python/tempy/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   g...@eurecom.fr
+   Gasc Henri
+   
+   
+   noprobelm/tempy
+   
+

diff --git a/dev-python/tempy/tempy-.ebuild 
b/dev-python/tempy/tempy-.ebuild
new file mode 100644
index 0..ab048545e
--- /dev/null
+++ b/dev-python/tempy/tempy-.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+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"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-python/rich[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]"
+BDEPEND=""
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/assets.patch"
+)
+
+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'.
+}