diff --git a/net-misc/gdown/Manifest b/net-misc/gdown/Manifest index 7ebb4f9ad8..6201d05b7a 100644 --- a/net-misc/gdown/Manifest +++ b/net-misc/gdown/Manifest @@ -1 +1,2 @@ DIST gdown-5.0.0.gh.tar.gz 239863 BLAKE2B 9da7f37ec7fa94ff37e151842d22d4e863ffe697de8d906fc04bef791bf0e688fafb8a30a30e41484fa489570a0db42f70ea39db3a16577a35d0339d4fe154fa SHA512 4187eb9012a0662c8beafabdc8a9e42eb1c1cf40bdd0f4c5168ae079f060bef1b610e2ba5dc3d5f97b94d1793debebb46108591d7c2bdd49451a7193f817f562 +DIST gdown-5.0.1.gh.tar.gz 239977 BLAKE2B 52228a0e3fabde70306a2b52153fe9d323418d5ecaa35b1334d197b9e97e204cc3cbd69f54ec305c9874d0c86fb8d167ee4e11c9edd9191a1abcf90cc6e3a668 SHA512 f4437c6aadf1f4e79b4059bb8d9529d3fad34d95ee90feda3bfbd4b7db161969c726aaf44a54b90361f388ab570bdb5a7f82874eb270943a87a2e8c8285d6b42 diff --git a/net-misc/gdown/gdown-5.0.1.ebuild b/net-misc/gdown/gdown-5.0.1.ebuild new file mode 100644 index 0000000000..eea009025e --- /dev/null +++ b/net-misc/gdown/gdown-5.0.1.ebuild @@ -0,0 +1,40 @@ +# 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=hatchling +inherit distutils-r1 + +DESCRIPTION="Google Drive public file/folder downloader" +HOMEPAGE=" + https://pypi.org/project/gdown/ + https://github.com/wkentaro/gdown +" +SRC_URI="https://github.com/wkentaro/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" +PROPERTIES="test_network" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/requests[socks5,${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 +}