diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 54319 -> 54333 bytes | |||
-rw-r--r-- | net-misc/gallery-dl/Manifest | 4 | ||||
-rw-r--r-- | net-misc/gallery-dl/gallery-dl-1.27.5.ebuild (renamed from net-misc/gallery-dl/gallery-dl-1.27.1.ebuild) | 6 | ||||
-rw-r--r-- | net-misc/rclone/Manifest | 2 | ||||
-rw-r--r-- | net-misc/rclone/rclone-1.68.1.ebuild | 67 | ||||
-rw-r--r-- | net-misc/smb4k/Manifest | 2 | ||||
-rw-r--r-- | net-misc/smb4k/smb4k-3.2.81.ebuild | 2 | ||||
-rw-r--r-- | net-misc/tuba/Manifest | 4 | ||||
-rw-r--r-- | net-misc/tuba/tuba-0.8.3.ebuild | 75 | ||||
-rw-r--r-- | net-misc/tuba/tuba-0.8.4.ebuild | 2 | ||||
-rw-r--r-- | net-misc/yt-dlp/Manifest | 2 | ||||
-rw-r--r-- | net-misc/yt-dlp/yt-dlp-2024.09.27.ebuild | 79 |
12 files changed, 159 insertions, 86 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex 6667665b004b..21ed5b7f4387 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index 6af6eb30d7a0..518b3c65f4e8 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,8 +1,8 @@ -DIST gallery-dl-1.27.1.gh.tar.gz 686087 BLAKE2B c80f37d314671637f435957abf9d79d01d421e48c89e90a3290e6fbf6e32f89d4b7495deeaf2ce0528750b65d4b404108fe78bc42f0e39dda4bcfd4267aa9dff SHA512 d3243bd23e7a743d98b9745d78b653546a49a97dd8468b60014fa6ba74071de8057c8b479dc3d74854b4c194034b027fe15bc530a60dea34dcc6221b105c285c DIST gallery-dl-1.27.3.gh.tar.gz 699804 BLAKE2B e1ded03fe94abcc442f4010e7e4cf51fbe1724543544761ccd318e61eb33146dbf25229d50123b9d0018b30dc6bffb895b022b61f6f5937dd77ea85f689206f2 SHA512 3fdee99af361364f7f1a207378c07efc24b3090f721da1dca3391972bdac4f31823e6711ac69ca6afca8de23fe276758af910179d511f739ec43b4408bbab6e6 DIST gallery-dl-1.27.4.gh.tar.gz 707554 BLAKE2B 09868291bf01db3db9bf4521a39a2443c6fe82cbd68f5840ff0d14a911bee56a649d89fcec3d2e705b0cabc54c18a0f04eee2fc8bb40e3b99803ea393e5d35f8 SHA512 7e22abbe77929ee4ef420f586b018796c00b8dc18b7ea709fe85bc51ac9fc467ba8763fcec4ab2afe108fd0fbb9002980970e037e1af2408e9c6504db1891220 -EBUILD gallery-dl-1.27.1.ebuild 1135 BLAKE2B 6e723f8f07315caca81761ee50766967dddb9de138ed0abdbedb1478b1f2185546b8d9b5eeb2a57fde4f039c901291227a700d18a605b101e44d782b33239ac2 SHA512 204d46d1265b23c1674de3bd1e234d98e705c9a156ca85d775f916def176ac4371b868c94e4d76d9b26c3aa0fb26bf6200259ec934b62687f9c329e335de46cf +DIST gallery-dl-1.27.5.gh.tar.gz 722422 BLAKE2B cd15c00549e9ed9605b39b76b271932ce3beae24b58e60c6fdd549f50d15cd949b14c19634067a24db2056c773be4e4811e9872a811cf6043a9e1edcdfec37dd SHA512 fb5895f4845582bc04bb3fe354bbd4f7611d5fde3caba723139e9bf5bd49796c82a2e6eed1ceca8e19d65136caf187eb6a64f9e93d4c64b89aa46e639e384852 EBUILD gallery-dl-1.27.3.ebuild 1135 BLAKE2B 6e723f8f07315caca81761ee50766967dddb9de138ed0abdbedb1478b1f2185546b8d9b5eeb2a57fde4f039c901291227a700d18a605b101e44d782b33239ac2 SHA512 204d46d1265b23c1674de3bd1e234d98e705c9a156ca85d775f916def176ac4371b868c94e4d76d9b26c3aa0fb26bf6200259ec934b62687f9c329e335de46cf EBUILD gallery-dl-1.27.4.ebuild 1144 BLAKE2B 84d46b3e519dd2ca869d9f979da376069078907790a923232e31b825745b6fabf6a7837e18db16fdbb077fd9f249935e1ec112c059b5306bbb1b7dc97d1d3cef SHA512 358b61ac38465502dfb9f611586ac7a000012b540a4893caf96510db30adb4173349bbb0d07f5fd6b62d8a61bf5caa0480d4ae62093deebfc63e0cc14a4a3d3c +EBUILD gallery-dl-1.27.5.ebuild 1144 BLAKE2B 8ae03c0e61632d87295dfff8aa25382716fd107415260bf3142a6ec0c5c9601cd219c03696e0e97bb9d0efe4e26dccad3be782473122f68f6fa9186332cb66d3 SHA512 f5761a87af190e6e5e259ea4c4fdb3eae2762c09632016842e5a5a10147510b6960f34255cc3c5aa175b6fecaf2e74bc89ceb7c6beb853c05696457f0a8a7668 EBUILD gallery-dl-9999.ebuild 1142 BLAKE2B e0b7b410c71ec272bf5c02ba6489c84f7bc9251c64e35774f599a130b356ce2c7bd2e51c345defa812664d0c7e2381ebed78edb5b087c741ef7d42fcc11afa58 SHA512 357e03c77c606d5c98b98b1a97226180c752efe086800c95c9e5d89e442985c8875add96714443960005b969ddab640ef84ef6383cf169e46f1940f418ee0ee4 MISC metadata.xml 747 BLAKE2B bb63a74ca71891f1e937e6bd41b4cef50f1e1d459ab389f83f881cbfcc5c39bf5c4b8e999ea6cab7406a97f3dca9644380eaf1930d811746c5b893b948085ecd SHA512 302b9f3cde6c404de62347415c1f02d6884a9327c88871ea67b986ac7eaadac6b79018d919f5e6a2d8dde5dfd9e12d6c7c4702120fb08bfbfa291df4d1baecae diff --git a/net-misc/gallery-dl/gallery-dl-1.27.1.ebuild b/net-misc/gallery-dl/gallery-dl-1.27.5.ebuild index 64a17799c780..c785e9eeb31f 100644 --- a/net-misc/gallery-dl/gallery-dl-1.27.1.ebuild +++ b/net-misc/gallery-dl/gallery-dl-1.27.5.ebuild @@ -3,8 +3,8 @@ EAPI=8 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{12..13} ) PYTHON_REQ_USE="sqlite,ssl,xml(+)" inherit distutils-r1 optfeature @@ -20,7 +20,7 @@ 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" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" fi LICENSE="GPL-2" diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest index 45b0d2a1d69e..d71203f698ed 100644 --- a/net-misc/rclone/Manifest +++ b/net-misc/rclone/Manifest @@ -2,6 +2,8 @@ DIST rclone-1.67.0-deps.tar.xz 367523832 BLAKE2B 45e33614658aa619f0abe4cb48ae8eb DIST rclone-1.67.0.tar.gz 17232236 BLAKE2B 8241234a970335bb67a5f51b11fdc79afe4a3894c1df2409d141cc8662fec669c1d273e7e67383291703cf66a4168a0ff3c3f8e28d569b0df340c0e7b4a4c324 SHA512 9d336c6a03ba7711f88fbd6ff019b4ce02825467b9656bba8811e9c27fe857ba5d64d863e1f5f3129cbcc89509891615d911794376c90775901a7de1b0741448 DIST rclone-1.68.0-deps.tar.xz 313382892 BLAKE2B 5dbf928d1a9ee4eccd796c5d083da1fefc115af9b087072708fa5a9e98a5bc74f824e922c1cad8f132c2549d4c335877c4fa78f8842a1732972bbe862b0bba28 SHA512 e32a8489ab822648f26b47e58ef7a7a1f3776ee08b585a642a21e02b31095ddef22b068e97cf21545e6a806b467d4d5e79eab4ae31da9ccf238d7735ca6dc35f DIST rclone-1.68.0.tar.gz 17441116 BLAKE2B 445cd8607950b25cf973350a62d884c3b786eadd6e781d36a1886e085871accc6743672f993f6da8a15a1af7e0146110ff931fe169d6f8a4586cf772e6e17fc9 SHA512 899255f6a22c53b7ab5b59c0f3532bc64b9b3b2691e7202a97fea5047cc8cdf042c2e235cdac67c8cf18e3d68ca2b2ca1eb4d871bffcba8c97514c7ef8db0e13 +DIST rclone-1.68.1.tar.gz 17452992 BLAKE2B 34e16868cc84b80becd4403ceae925c3c20d0989383c563b58a46190fec983f1949572643843509a060afefa4808c3b8865335681529203a91c3bb5201d9888d SHA512 8f98e569c0959dfa407621d35acb552e6a5f5b409d2f1d89efd116d746f2a6a742e0bebf8f298ba189d7f187fc4c79d285e7db28e52d5d9e7517d5e0a6aa7fc9 EBUILD rclone-1.67.0.ebuild 1481 BLAKE2B 5ef10483275adc5c1528f671142d9d7ed5815af544850052c57343057ba965c001967e11a8cad63eb5704e187643c6a7a1e5fcdeae756fcc17273f72e35db9dd SHA512 06356bb6db628ab899b3946795c4b5687f7d32ffb1ae85c5f718828502659257b050861e720f084cc4221c6cfb7e95023ea08dc64750866a3617109a50579e33 EBUILD rclone-1.68.0.ebuild 1483 BLAKE2B 635fbf54022fa9243854913d12f696431ca6dc93f75cc223cc687dbd6ee40dd6d27de8bde28a478abff82244954fc6d25794ff9e4a86e5311876c64f07df6a5d SHA512 56a80fee745ba534f32b1bb6f0306ff01406c977f8eaf2c7acc5eb4b4df6e07a16aed8cf3cc20341283c2313216da182b27328c27351c496ca5011b547787dd4 +EBUILD rclone-1.68.1.ebuild 1491 BLAKE2B a2bcbfd4916a69e80cc400a596c4fc43e7f56f62d7830b4b6e2a1dc4d3c214bac36f58640355f7fa2653da4626e18ca7bd89fef84c6ed9a8dd12a0f60208f61e SHA512 042e5818a9577e3813b6112e9c12c449d81f281ece0ebd04b02c201d31728ce699a14c73fff3d41ca59696c73a65d4f1e0d0fbc7b6b4e8936499e5fc8f1e57aa MISC metadata.xml 492 BLAKE2B cec7693bf30b3780ce77094c6ac87d0874a92220d2179f41aedfe65557a3238c65bac28fd467fadc537cb1c814500b1855545d3e31aa9ccbda7838be373b561f SHA512 5312b6a481ee70027653ee271d9e08576c09b4e48a0d0848479cc8a2a8d22a47fc2c14b446fb4fe2f26e4636b4eec20b0f5cba6ed4fa89712a95fd0d235671e8 diff --git a/net-misc/rclone/rclone-1.68.1.ebuild b/net-misc/rclone/rclone-1.68.1.ebuild new file mode 100644 index 000000000000..4e1b0243c823 --- /dev/null +++ b/net-misc/rclone/rclone-1.68.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 check-reqs edo go-module + +DESCRIPTION="A program to sync files to and from various cloud storage providers" +HOMEPAGE="https://rclone.org/ + https://github.com/rclone/rclone/" +SRC_URI=" + https://github.com/rclone/rclone/archive/v${PV}.tar.gz + -> ${P}.tar.gz + https://dev.gentoo.org/~xgqt/distfiles/deps/${PN}-1.68.0-deps.tar.xz +" + +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + sys-fs/fuse:3 +" + +CHECKREQS_DISK_BUILD="2500M" + +pkg_setup() { + check-reqs_pkg_setup +} + +src_compile() { + local go_ldflags=" + -X github.com/rclone/rclone/fs.Version=${PV} + " + local -a go_buildargs=( + -ldflags "${go_ldflags}" + -mod=readonly + -o ./ + ) + ego build "${go_buildargs[@]}" . + + edob ./rclone genautocomplete bash "${PN}.bash" + edob ./rclone genautocomplete zsh "${PN}.zsh" +} + +src_test() { + # Setting CI skips unreliable tests, see "fstest/testy/testy.go" + # "TestAddPlugin" and "TestRemovePlugin" fail. + local -x CI="true" + local -x RCLONE_CONFIG="/not_found" + + edob go test -mod=readonly -v -run "!Test.*Plugin" ./... +} + +src_install() { + exeinto /usr/bin + doexe "${PN}" + dosym -r "/usr/bin/${PN}" /usr/bin/mount.rclone + dosym -r "/usr/bin/${PN}" /usr/bin/rclonefs + + newbashcomp "${PN}.bash" "${PN}" + insinto /usr/share/zsh/site-functions + newins "${PN}.zsh" "_${PN}" + + doman "${PN}.1" + einstalldocs +} diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest index 11d5d0f32355..1732213f8e76 100644 --- a/net-misc/smb4k/Manifest +++ b/net-misc/smb4k/Manifest @@ -1,5 +1,5 @@ DIST smb4k-3.2.80.tar.xz 4345084 BLAKE2B 117074e852c6393ba07f71ab0561c61a41d0a45128aad402a5baa3a41efefb8e2b2e984d69f04e44a1940678ea404003685fe83c2cd36bddc1cbe756e78e6833 SHA512 46acd2adad4b7e8278d6fdf4ee31691a75b88222188271975adf5391d7767af8e7617695a51c2536e621f57db97627e4ab3db1953cdc6cc475dd462b5da2836a DIST smb4k-3.2.81.tar.xz 4449776 BLAKE2B 729c304644cdbeed92b308062b27e1b0de14187b95c730cc288d919b620e8a437e0c1536fec9d5d20bad028c09527dd9b7421d2003a30902d96772bab29d5512 SHA512 a5c6aae11472184abc45863600de059e6cff2ed94bf263738c34d3aaa78023da4a4e43609da12abf3ba7249d3d93443622d5a0a07dc9128387931f389406dafe EBUILD smb4k-3.2.80.ebuild 2085 BLAKE2B fc5828fdee91672222f4dfcc460e6848f3681152f7b59b8545d3a0a4114866075b20deb2ad953b3fe1b65342b50547379b1f0601582dbb7f4a45924e88fd196b SHA512 72b83adf0f068742b7de8679d32eac17d1c6faae7b549fa64369145497e7ee75f1d4c21dadb4e415e9e7a3cbdb9af9ae6401d3bb441a632e6cbce6a7282b83f7 -EBUILD smb4k-3.2.81.ebuild 2093 BLAKE2B edcd17a283183d1633c3bfec3bdf5a9fe62672f4d0ad9f7ff079a2d49a3bd4f13fce0277fc91ab0e2439548b19c9d1dcc6febef0d86c14fa2f49711744dbb2b0 SHA512 0377c2e14fee898a3d7323c8d173c15d69c5fa23c4e8071150a7dc0ec1bf3b6398fa8ce61dd621f6b41f3f7bd51825f987613abbca6770061e8e4b54ae87e904 +EBUILD smb4k-3.2.81.ebuild 2092 BLAKE2B acde9e18f7207237c980b70cb3d4d0956fa929b18139b5f9cdc9430b7b148355b886265a107ea43209a92254b79cdeef449a424d531e95e113e2d53ea0eda105 SHA512 55a1b64f86236a421e857dbb73f1f0adaa5b0db2083ef42bd4b633108cd9a922ea7ea85c45e43e5f4f540f5487b26c4500b83ba781714d4ae2edb531173f90e9 MISC metadata.xml 593 BLAKE2B 087dedf151163d8d8f02f41a9aa08117219c50556e3e60c97bf3bf3175fbe41fe9cdc1f0ada27aacc660095b41edfcb9502d02568bcd9eea26e8cecdbceaebe9 SHA512 f090b6f9b968087c912cc88187089a0eb891e77713fd5aabed03931b9da6f2f6673e48b37edf57de5da3a421f25d82371f9568db302e9e35e64f5f8200a2418e diff --git a/net-misc/smb4k/smb4k-3.2.81.ebuild b/net-misc/smb4k/smb4k-3.2.81.ebuild index 6ef6c2969e89..506812594cad 100644 --- a/net-misc/smb4k/smb4k-3.2.81.ebuild +++ b/net-misc/smb4k/smb4k-3.2.81.ebuild @@ -14,7 +14,7 @@ https://sourceforge.net/p/smb4k/home/Home/" if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="https://downloads.sourceforge.net/${PN}/Development/${P}.tar.xz" - KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 arm64 ~riscv ~x86" fi LICENSE="GPL-2" diff --git a/net-misc/tuba/Manifest b/net-misc/tuba/Manifest index a0e77381819a..f1aa00ad1228 100644 --- a/net-misc/tuba/Manifest +++ b/net-misc/tuba/Manifest @@ -1,5 +1,3 @@ -DIST Tuba-0.8.3.gh.tar.gz 1783840 BLAKE2B 11f98de167107bdc53f42aa6e33af14d946b7745e530623b174832bc7ce363ca7b63f83ed2d58f9b179144ebf0499d6773f5be54c2f8fa0f8897b6a2ae020fe8 SHA512 29082a84e0b5149f8a8610575965d252826d564f28eb128a9db3c215a2c1edda23a3b6316f8b62c22a37ab9d340f94e571ea8be96719a3ff714a6b26da90a314 DIST Tuba-0.8.4.gh.tar.gz 1803987 BLAKE2B 9ec1647bc255a3cef37293fc86f81eed534f4a313e3ec0ab81318766972ed01100b30afcc05448f5344637da08962bb72dc2eb5d44fc0561ce1a61c48b9b8b5d SHA512 8484cdb898174958c1e79ddfd6fab9e74693bca19d1eddde504679d1074cac986580dcf2e2c98fa13ab54fec2a4ffc25b1977bc6e62f1b3a524a6810b2ac268f -EBUILD tuba-0.8.3.ebuild 1485 BLAKE2B 086983f0f203ccd28029a0e7f9f7181bbcc9400f1f32f08c877f3a138da74bfa14d969e6006e9540bf8a3ea73f1091e4d5c11bd7620d29539cf2c023d2af0049 SHA512 7e2e5f094c2922ad9cab185df380d492ac833e55fc0d058685eef197e8a08a76dfa589b97df5dcc9bf4729add269b9816add99fba68a26b6bcb462a41f54d14b -EBUILD tuba-0.8.4.ebuild 1487 BLAKE2B b0d2e08a400365b2fc2c6a29f91e16276b971af0e346eb28498cbe57db6810fe73efc24bacdc4f6a96aba79441ace01fae498966741c7fc37c88f15a7edc2161 SHA512 058fd60ea34ee787967cfbb667475a6e8d904489a50eac361fc9a75f31c74edd60b9804c168539ef097f16f311133b0148728c242512c7eba82fbade8b21716d +EBUILD tuba-0.8.4.ebuild 1485 BLAKE2B 086983f0f203ccd28029a0e7f9f7181bbcc9400f1f32f08c877f3a138da74bfa14d969e6006e9540bf8a3ea73f1091e4d5c11bd7620d29539cf2c023d2af0049 SHA512 7e2e5f094c2922ad9cab185df380d492ac833e55fc0d058685eef197e8a08a76dfa589b97df5dcc9bf4729add269b9816add99fba68a26b6bcb462a41f54d14b MISC metadata.xml 324 BLAKE2B b9364b6c365bfaeda33ec6e0600582271501e80f0af0c075545a9d577e823bc4ce35ec37903f2f7f1f22c016b6bb0e7c40ef7d9ba8882fb924a865491bbb8dc7 SHA512 867574ad6665a12cb09aa75c525de101955dabdea5b744e688ab0b7214482ca5d151ed2007c5b050fbc69c48205fdbe5784aea0cb7ebce455d785200048b0a41 diff --git a/net-misc/tuba/tuba-0.8.3.ebuild b/net-misc/tuba/tuba-0.8.3.ebuild deleted file mode 100644 index 9d6611efb92d..000000000000 --- a/net-misc/tuba/tuba-0.8.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit gnome2-utils meson optfeature vala - -MY_P=${P^} -DESCRIPTION="Browse the Fediverse (GTK client)" -HOMEPAGE=" - https://tuba.geopjr.dev/ - https://github.com/GeopJr/Tuba/ -" -SRC_URI=" - https://github.com/GeopJr/Tuba/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-3 CC-BY-SA-4.0" -SLOT="0" -KEYWORDS="amd64 arm64" - -# TODO: optional dep on libspelling-1 -DEPEND=" - app-crypt/libsecret[introspection,vala] - >=dev-libs/glib-2.76.0:2 - dev-libs/icu:= - >=dev-libs/json-glib-1.4.4[introspection] - >=dev-libs/libgee-0.8.5:0.8[introspection] - dev-libs/libxml2 - >=gui-libs/gtk-4.13.4:4[gstreamer,introspection] - >=gui-libs/libadwaita-1.5:1[introspection,vala] - >=gui-libs/gtksourceview-5.6.0:5[introspection,vala] - net-libs/libsoup:3.0[introspection,vala] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - $(vala_depend) - sys-devel/gettext - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - # disable calling updaters (see pkg_post*) - -Ddistro=true - # not packaged - -Dclapper=false - ) - - vala_setup - meson_src_configure -} - -src_install() { - meson_src_install - dosym dev.geopjr.Tuba /usr/bin/tuba -} - -pkg_postinst() { - optfeature "WebP image support" gui-libs/gdk-pixbuf-loader-webp - - gnome2_schemas_update - xdg_desktop_database_update - xdg_icon_cache_update -} - -pkg_postrm() { - gnome2_schemas_update - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/net-misc/tuba/tuba-0.8.4.ebuild b/net-misc/tuba/tuba-0.8.4.ebuild index e75bb85f2c86..9d6611efb92d 100644 --- a/net-misc/tuba/tuba-0.8.4.ebuild +++ b/net-misc/tuba/tuba-0.8.4.ebuild @@ -19,7 +19,7 @@ S=${WORKDIR}/${MY_P} LICENSE="GPL-3 CC-BY-SA-4.0" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 arm64" # TODO: optional dep on libspelling-1 DEPEND=" diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest index 046c22bad93d..ba2d40c9318c 100644 --- a/net-misc/yt-dlp/Manifest +++ b/net-misc/yt-dlp/Manifest @@ -1,4 +1,6 @@ DIST yt-dlp-2024.08.06.tar.gz 5710396 BLAKE2B ba657ddd054fc814adfc9644378ab51e50f980a8ce9d9589d0e69d4242fc68a22314a230135c54737a1b453d853d811a48d1737b05c2e04d3494ca580a6937b0 SHA512 5db3ceeb217148755e31492d490bfeb69879400873274dec4320ce58b49dce9ce93d1e32714d6b7433364780e269087fc55acb94ef4fca0d998c504f2efac41f +DIST yt-dlp-2024.09.27.tar.gz 5750902 BLAKE2B 22c36dc45fd8f0b059542edf721757d50f4f4df640dfb2415ef0143e287e7ae6535e868705faa738ad1be3dd07bede85660ecc47f133c2eba2d13abc40e99c71 SHA512 9440eafd8c68bc4cc9d34edf616dbb34e0810556d21bd2276198359e653d155586cc398ebedc1088fb238dae78f62f2443463e4a63f90b323aec4ca53d3211e1 EBUILD yt-dlp-2024.08.06.ebuild 2424 BLAKE2B f603a94c2207389f9541e684df31fedb31c7dca93c7ea02b5e5debe35d17cf4d4ae9c2c274f6a858dece8d9a57ee70b57df4127135ae72abe11968699bbeba7c SHA512 2a4d340022f2120e3de35208b1657ca6484482a6930fc60960d899edf74bfe96b08089fa974968e0ff9f7fa2a0b7c4a93fa8074f44507e5c82d578523f4b4327 +EBUILD yt-dlp-2024.09.27.ebuild 2422 BLAKE2B 50c668d85da9dab582c8ba0a9a52b4bf80efedc4bead010de178d3c8763fcc22a406c538982d3ae2849db8572649a80cac339a4f7f30cbfe40a569b319aa3798 SHA512 bee00fae0f0ac28ee3af28e44caa37f61f6e9386b296d62484d22e4e72b64af4e3517b17bc6990ef76b21fe3ab3cf17862f495a748c215aa844ebb1374321f04 EBUILD yt-dlp-9999.ebuild 2442 BLAKE2B 6923dbb9824c38ce22a3c627cf82ae24c25e0787a74eee4381007c31d9649c058913985a14bd33bce50dbf3f2bdd5f78b6014f81c5e9d4ad5c0ddd5f9060397d SHA512 7554088ec62ca5b8335052c6651150ea2943e9933c3f8a3b4fc8bc4fb8e23ce4cbda13289d9be4da016a040c0ad7347b89a75a0353b59f022d8c26cd4f895238 MISC metadata.xml 392 BLAKE2B d2aa6fc43f7f9038d320197a18107f15e56ed5e242e6c3cdc1b7111184580ab14fae8cbd16776794d207dd39ea0ca65975c08a54449f4cf90370ea95a66083d9 SHA512 867c61c1e41d7594decd5e10a2b45d934313cb751ba22356fc1ab61e0a40b2543847b195d20c7a39ba92370d8b3908e6f90d690915579b55808872efe8d3cebe diff --git a/net-misc/yt-dlp/yt-dlp-2024.09.27.ebuild b/net-misc/yt-dlp/yt-dlp-2024.09.27.ebuild new file mode 100644 index 000000000000..b41167626f69 --- /dev/null +++ b/net-misc/yt-dlp/yt-dlp-2024.09.27.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +inherit bash-completion-r1 distutils-r1 optfeature wrapper + +DESCRIPTION="youtube-dl fork with additional features and fixes" +HOMEPAGE="https://github.com/yt-dlp/yt-dlp/" +SRC_URI=" + https://github.com/yt-dlp/yt-dlp/releases/download/${PV}/${PN}.tar.gz + -> ${P}.tar.gz +" +S=${WORKDIR}/${PN} + +LICENSE="Unlicense" +SLOT="0" +# note that yt-dlp bumps are typically done straight-to-stable (unless there +# was major/breaking changes) given website changes breaks it on a whim +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/pycryptodome[${PYTHON_USEDEP}] + !net-misc/youtube-dl[-yt-dlp(-)] +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # adjust pycryptodome and drop optional dependencies (bug #828466) + sed -Ei pyproject.toml \ + -e 's/("pycryptodome)x/\1/' \ + -e '/"(brotli.*|certifi|mutagen|requests|urllib3|websockets)/d' || die +} + +python_test() { + local EPYTEST_DESELECT=( + # fails with FEATURES=network-sandbox + test/test_networking.py::TestHTTPRequestHandler::test_connect_timeout + # fails with FEATURES=distcc, bug #915614 + test/test_networking.py::TestYoutubeDLNetworking::test_proxy\[None-expected2\] + ) + + epytest -m 'not download' +} + +python_install_all() { + dodoc README.md Changelog.md supportedsites.md + doman yt-dlp.1 + + dobashcomp completions/bash/yt-dlp + + insinto /usr/share/fish/vendor_completions.d + doins completions/fish/yt-dlp.fish + + insinto /usr/share/zsh/site-functions + doins completions/zsh/_yt-dlp + + rm -r "${ED}"/usr/share/doc/yt_dlp || die + + make_wrapper youtube-dl "yt-dlp --compat-options youtube-dl" +} + +pkg_postinst() { + optfeature "various features (merging tracks, streamed content)" media-video/ffmpeg + has_version media-video/atomicparsley || # allow fallback but don't advertise + optfeature "embedding metadata thumbnails in MP4/M4A files" media-libs/mutagen + optfeature "decrypting cookies from Chromium-based browsers" dev-python/secretstorage + + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog 'A wrapper using "yt-dlp --compat-options youtube-dl" was installed' + elog 'as "youtube-dl". This is strictly for compatibility and it is' + elog 'recommended to use "yt-dlp" directly, it may be removed in the future.' + fi +} |