diff --git a/net-misc/gdown/Manifest b/net-misc/gdown/Manifest index c8aeb9f446..e8f0025d0e 100644 --- a/net-misc/gdown/Manifest +++ b/net-misc/gdown/Manifest @@ -1 +1,2 @@ DIST gdown-5.2.0.gh.tar.gz 283710 BLAKE2B f15efe0e4ed947b11c12606156c9223b87ff8997aa4ff3b28b2d4cb9252d8bf4026d2f1c4f607190212dfb749d665494bd509b2ec391410280a5b8d682224a75 SHA512 fe030d70d01d3565b94c9d20bd7944df7615e93c43c0b22ffde4dd9cfc9ca365378221062076ca3fb3c93c24d3001d56b2271207a1bab73f73f2a847d45ced7c +DIST gdown-5.2.1.gh.tar.gz 283713 BLAKE2B 9f447113c5452b0fa64df84977a4e9ca2e80ae10dd3b87222f7a65a9385baa3b65355db1fc5b8809610d7cef696adec6f8a4152df8a5a02a9223ef83c76bed75 SHA512 9f95f572f0c1d215f530a07f27b351c5675c8e166a3c110e5734a4492e70e1f396cabe70dc0bea379d1d3495e7ded269d29206462b59651937fc4612a6a6187e diff --git a/net-misc/gdown/gdown-5.2.1.ebuild b/net-misc/gdown/gdown-5.2.1.ebuild new file mode 100644 index 0000000000..67c8534bbd --- /dev/null +++ b/net-misc/gdown/gdown-5.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +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" + +# Tests are extremely flaky. Reason: Google. +#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}] +" + +EPYTEST_PLUGINS=( ) + +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + distutils-r1_src_configure +}