commit:     69ff12f7d176ac314957ef4f2e0702e27d90fa60
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jan 20 15:49:54 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Jan 20 15:49:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69ff12f7

net-misc/gdown: add 5.0.0, drop 4.7.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-misc/gdown/Manifest                                  |  2 +-
 .../gdown/{gdown-4.7.1.ebuild => gdown-5.0.0.ebuild}     | 16 ++++++++++++----
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/net-misc/gdown/Manifest b/net-misc/gdown/Manifest
index 8d3638cc86..fcd56eacb9 100644
--- a/net-misc/gdown/Manifest
+++ b/net-misc/gdown/Manifest
@@ -1,2 +1,2 @@
-DIST gdown-4.7.1.gh.tar.gz 238770 BLAKE2B 
3a362eaf98bcd006d02edcefb61a9c2722701c3c05f0997ed78216b630698ac1362554d40663ce1833faa66c6c42623cb119271c299a8ba1bddefd958cd4ce15
 SHA512 
1302fce5c920dc963d0d278c1c295821a30fb5034de3ecd6da8c49871dce85e0d4a2eba00233d3eb5214b49149bd2d5246db1a21aa68241b0ba67fddd2509019
 DIST gdown-4.7.3.gh.tar.gz 239150 BLAKE2B 
bb173137e651b48bb3865d1e6ee74443b43a7a5469a80e0b5d01be78c79dbcd13478f6a65eb6d3b2959505bf9fffb31726d41eb45ca164b0991a23bb50b62aa8
 SHA512 
5becfea76fcab0ad1978f8e812df6400cda28b971a64fe934e1bde5e6de6831527827474a09568b028004762009d789cf722fbc34b259dc6ae2d0b49c1349c82
+DIST gdown-5.0.0.gh.tar.gz 239863 BLAKE2B 
9da7f37ec7fa94ff37e151842d22d4e863ffe697de8d906fc04bef791bf0e688fafb8a30a30e41484fa489570a0db42f70ea39db3a16577a35d0339d4fe154fa
 SHA512 
4187eb9012a0662c8beafabdc8a9e42eb1c1cf40bdd0f4c5168ae079f060bef1b610e2ba5dc3d5f97b94d1793debebb46108591d7c2bdd49451a7193f817f562

diff --git a/net-misc/gdown/gdown-4.7.1.ebuild 
b/net-misc/gdown/gdown-5.0.0.ebuild
similarity index 64%
rename from net-misc/gdown/gdown-4.7.1.ebuild
rename to net-misc/gdown/gdown-5.0.0.ebuild
index d378f23408..eea009025e 100644
--- a/net-misc/gdown/gdown-4.7.1.ebuild
+++ b/net-misc/gdown/gdown-5.0.0.ebuild
@@ -1,13 +1,13 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_USE_PEP517=hatchling
 inherit distutils-r1
 
-DESCRIPTION="Google Drive direct download of big files"
+DESCRIPTION="Google Drive public file/folder downloader"
 HOMEPAGE="
        https://pypi.org/project/gdown/
        https://github.com/wkentaro/gdown
@@ -25,8 +25,16 @@ RDEPEND="
        dev-python/beautifulsoup4[${PYTHON_USEDEP}]
        dev-python/filelock[${PYTHON_USEDEP}]
        dev-python/requests[socks5,${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]
        dev-python/tqdm[${PYTHON_USEDEP}]
 "
+BDEPEND="
+       dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
 
 distutils_enable_tests pytest
+
+src_configure() {
+       export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+       distutils-r1_src_configure
+}

Reply via email to