summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-12-06 23:45:54 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-12-06 23:47:14 +0100
commit652acb7270bb8b0baf36f404f48263c54910e534 (patch)
treeec5a990051b2182fefd223f2757e99efba8793c6 /net-misc
parentdev-dotnet/cake: bump to 4.0.0 (diff)
downloadgentoo-652acb7270bb8b0baf36f404f48263c54910e534.tar.gz
gentoo-652acb7270bb8b0baf36f404f48263c54910e534.tar.bz2
gentoo-652acb7270bb8b0baf36f404f48263c54910e534.zip
net-misc/gallery-dl: live ebuild tweaks
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/gallery-dl/gallery-dl-9999.ebuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/net-misc/gallery-dl/gallery-dl-9999.ebuild b/net-misc/gallery-dl/gallery-dl-9999.ebuild
index b3da2a9c870f..b8a8623c53a8 100644
--- a/net-misc/gallery-dl/gallery-dl-9999.ebuild
+++ b/net-misc/gallery-dl/gallery-dl-9999.ebuild
@@ -4,34 +4,38 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="sqlite,ssl,xml(+)"
inherit distutils-r1 optfeature
DESCRIPTION="Download image galleries and collections from several image hosting sites"
-HOMEPAGE="https://github.com/mikf/gallery-dl"
+HOMEPAGE="https://github.com/mikf/gallery-dl/"
-if [[ ${PV} == 9999 ]]; then
+if [[ "${PV}" == *9999* ]]; then
inherit git-r3
+
EGIT_REPO_URI="https://github.com/mikf/${PN}.git"
else
- SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+ SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
-# Tests require network access.
-PROPERTIES="test_network"
+PROPERTIES="test_network" # Tests require network access.
RESTRICT="test"
-RDEPEND=">=dev-python/requests-2.11.0[${PYTHON_USEDEP}]"
+RDEPEND="
+ >=dev-python/requests-2.11.0[${PYTHON_USEDEP}]
+"
distutils_enable_tests setup.py
python_compile_all() {
- emake PYTHON=${EPYTHON} data/completion/{,_}gallery-dl man
+ emake PYTHON="${EPYTHON}" data/completion/{,_}gallery-dl man
}
pkg_postinst() {