From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4044158232 for ; Sat, 7 Dec 2024 18:11:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1AECE11BB; Sat, 7 Dec 2024 18:11:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE01BE11BB for ; Sat, 7 Dec 2024 18:10:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B8E6343113 for ; Sat, 7 Dec 2024 18:10:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A9F21E15 for ; Sat, 7 Dec 2024 18:10:46 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1733595042.01d79dab69c4bb4389fdeccddc9ad381deb976cf.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gallery-dl/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gallery-dl/Manifest net-misc/gallery-dl/gallery-dl-1.28.1.ebuild X-VCS-Directories: net-misc/gallery-dl/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 01d79dab69c4bb4389fdeccddc9ad381deb976cf X-VCS-Branch: master Date: Sat, 7 Dec 2024 18:10:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b76987ad-a01b-44c9-938d-ba2037b5d746 X-Archives-Hash: db7ddde451525c1932285f73edc66b4c commit: 01d79dab69c4bb4389fdeccddc9ad381deb976cf Author: Maciej Barć gentoo org> AuthorDate: Sat Dec 7 17:54:06 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Dec 7 18:10:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d79dab net-misc/gallery-dl: bump to 1.28.1 Signed-off-by: Maciej Barć gentoo.org> net-misc/gallery-dl/Manifest | 1 + net-misc/gallery-dl/gallery-dl-1.28.1.ebuild | 49 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index 247150ac0706..014787106114 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/net-misc/gallery-dl/gallery-dl-1.28.1.ebuild b/net-misc/gallery-dl/gallery-dl-1.28.1.ebuild new file mode 100644 index 000000000000..254956362b1d --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.28.1.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 +}