diff options
Diffstat (limited to 'net-misc/gallery-dl')
-rw-r--r-- | net-misc/gallery-dl/Manifest | 2 | ||||
-rw-r--r-- | net-misc/gallery-dl/gallery-dl-1.28.2.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index 8316cda76bcd..49b14cf17a1e 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,8 +1,10 @@ DIST gallery-dl-1.27.7.gh.tar.gz 738516 BLAKE2B af29a40de14c392101c50698ae2199f64b458c8e5ab997982625773f21b069d5b3133c1a7897a743255962c5494e0536f36f4c4067872a06761a5a3a333e44ca SHA512 384c5a5c7dfac01ad48dbbe12750e5bec5814620bebd1d49866a9a3b6d64f7aac60e4173f737ed2678c6d57e372b6957cb747d28444981a4ddb7721bd4f9cff9 DIST gallery-dl-1.28.0.gh.tar.gz 766066 BLAKE2B d99cff290ea3b4c1e32a77a1eb3c751b51a8741402a50586edb3d029b36bd7178358fb0541452538cde6fb75029dfb6839d02602a8d869e8ae0406914fa13e90 SHA512 2e1a49ea4db7ba7576ac62a1518d1bb54110720c53ebda3bb9ef272422d7ccbb742b60dd49cd5d5830cb89d67dce849d355f0972030b27d337577d7e622a0998 DIST gallery-dl-1.28.1.gh.tar.gz 768090 BLAKE2B 865f2ab4844202bd7643090783d173637d8eb1c58426074e012e44350a564ee44ff59a034533164306f89ba320bafb81ad91691dfda539c29ea6ab8359ed0d7f SHA512 438e03476dd9f8c551368c1de51911cf26de74e174f34f59579f8293d41112ca269cfd2f44a9eb7c0e012cfbb36beef8bd85aac0415147da518ed14d8009fc69 +DIST gallery-dl-1.28.2.gh.tar.gz 774891 BLAKE2B 4abbcffa26f3ef15abc2385f5d84b7e11075e26751ce6cd2c9ee621530a21d55fe0f3356bcc0c022389f66189051d9baba3cf5e9867488f95bc9a6cb63e739d3 SHA512 4a7b7c11f98e333038640f0fc422aa0148a73f2163ff41f2778000499d33eafe2257ae143198b936627272ee281a3f14e458aa977094f24fea5751de68982251 EBUILD gallery-dl-1.27.7.ebuild 1160 BLAKE2B c172996485c4f69a49874f2bd94d483cfd17678785e3bedd9bbb1c74a7c3ab2c762d6f44b04de9bf3f32a49c32c40c3c0f93eecc3b057331c9a8f1599c0e3962 SHA512 e08ec04f7750f81c5948f5668d37b65ee33505d10db3c8895d67a2ac60144eec3cf7aa65181ca704ca046c429ad5f66399bfd3c435259841d2bfa27087a43cd2 EBUILD gallery-dl-1.28.0.ebuild 1167 BLAKE2B 9dd3c132317169d2e1d91c097399cbc6b70497472d7bba764133e43e81c5f89853779dde55e9dee71dfaa699ab1c79b72c91c27c9134b90cd7b16b8e1942cdd4 SHA512 70f0ed192f07d6cc9ac4bf58bdfeeae52ec16c5b3b7eb53ff435331bad41ccb3d2a968df714ef8ab1558bc78154245b1533063bfdd3a37f97e71c6d6444c9f58 EBUILD gallery-dl-1.28.1.ebuild 1167 BLAKE2B 9dd3c132317169d2e1d91c097399cbc6b70497472d7bba764133e43e81c5f89853779dde55e9dee71dfaa699ab1c79b72c91c27c9134b90cd7b16b8e1942cdd4 SHA512 70f0ed192f07d6cc9ac4bf58bdfeeae52ec16c5b3b7eb53ff435331bad41ccb3d2a968df714ef8ab1558bc78154245b1533063bfdd3a37f97e71c6d6444c9f58 +EBUILD gallery-dl-1.28.2.ebuild 1167 BLAKE2B 9dd3c132317169d2e1d91c097399cbc6b70497472d7bba764133e43e81c5f89853779dde55e9dee71dfaa699ab1c79b72c91c27c9134b90cd7b16b8e1942cdd4 SHA512 70f0ed192f07d6cc9ac4bf58bdfeeae52ec16c5b3b7eb53ff435331bad41ccb3d2a968df714ef8ab1558bc78154245b1533063bfdd3a37f97e71c6d6444c9f58 EBUILD gallery-dl-9999.ebuild 1165 BLAKE2B 51e7568c9f9e34ffdb20055f96ca9b91ce2f6831ea304028c88c43dfd4fbda0ff8bbaa310553e73a1b73408c12c2633af18e09e53e0127034f257ab6d90c7cee SHA512 0948a7989105ff3df14ccb9b71aa3cce1e67e053e9e52ea6823afca40863ea8fd16a50d53fea4b2aff9020bf7db110bbf534a85fca184d730999835b305bcfac MISC metadata.xml 747 BLAKE2B bb63a74ca71891f1e937e6bd41b4cef50f1e1d459ab389f83f881cbfcc5c39bf5c4b8e999ea6cab7406a97f3dca9644380eaf1930d811746c5b893b948085ecd SHA512 302b9f3cde6c404de62347415c1f02d6884a9327c88871ea67b986ac7eaadac6b79018d919f5e6a2d8dde5dfd9e12d6c7c4702120fb08bfbfa291df4d1baecae diff --git a/net-misc/gallery-dl/gallery-dl-1.28.2.ebuild b/net-misc/gallery-dl/gallery-dl-1.28.2.ebuild new file mode 100644 index 000000000000..254956362b1d --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.28.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{12..13} ) +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/" + +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" + + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=dev-python/requests-2.11.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +src_prepare() { + # Tests against real servers, some tests always fail and some are subject to change. + rm test/test_extractor.py test/test_results.py || die + + distutils-r1_src_prepare +} + +python_compile_all() { + emake PYTHON="${EPYTHON}" data/completion/{,_}gallery-dl man +} + +pkg_postinst() { + optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg + optfeature "video downloads" net-misc/yt-dlp +} |