Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mps-youtube: rename to yewtube, update to 2.10.2.
Date: Wed, 28 Jun 2023 08:41:00 +0200	[thread overview]
Message-ID: <20230628064100.h8yfgg3mQzQ5YHmoIj0WMW2QG1rBUOkRXR_VA0Yt83o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42662@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages mps-youtube
https://github.com/void-linux/void-packages/pull/42662

mps-youtube: rename to yewtube, update to 2.10.2.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

Seems like mps-youtube has been rebranded in upstream a while ago. There is a couple of hiccups while trying to test it though. The first one is that it complained yt-dlp requires brotli which I fixed in https://github.com/void-linux/void-packages/pull/42661. Now it says httpx requires rfc3986[idna2008]<2,>=1.3 which is also [true](https://github.com/encode/httpx/blob/0.23.3/pyproject.toml#L33) but the version in our repo is already 2.0 so I don't know how to fix that.

A patch file from https://github.com/void-linux/void-packages/pull/42662.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mps-youtube-42662.patch --]
[-- Type: text/x-diff, Size: 2715 bytes --]

From 08f50d90f5605e9d850be47109c82208593cbb34 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 9 Mar 2023 00:42:46 +0530
Subject: [PATCH] mps-youtube: rename to yewtube, update to 2.10.4.

---
 srcpkgs/mps-youtube          |  1 +
 srcpkgs/mps-youtube/template | 14 --------------
 srcpkgs/yewtube/template     | 26 ++++++++++++++++++++++++++
 3 files changed, 27 insertions(+), 14 deletions(-)
 create mode 120000 srcpkgs/mps-youtube
 delete mode 100644 srcpkgs/mps-youtube/template
 create mode 100644 srcpkgs/yewtube/template

diff --git a/srcpkgs/mps-youtube b/srcpkgs/mps-youtube
new file mode 120000
index 000000000000..9223c39c3000
--- /dev/null
+++ b/srcpkgs/mps-youtube
@@ -0,0 +1 @@
+yewtube
\ No newline at end of file
diff --git a/srcpkgs/mps-youtube/template b/srcpkgs/mps-youtube/template
deleted file mode 100644
index 92b190949861..000000000000
--- a/srcpkgs/mps-youtube/template
+++ /dev/null
@@ -1,14 +0,0 @@
-# Template file for 'mps-youtube'
-pkgname=mps-youtube
-version=0.2.8
-revision=6
-build_style=python3-module
-pycompile_module="mps_youtube"
-hostmakedepends="python3-setuptools"
-depends="python3-pafy python3-setuptools"
-short_desc="Terminal based YouTube player and downloader"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/mps-youtube/mps-youtube/"
-distfiles="https://github.com/mps-youtube/${pkgname}/archive/v${version}.tar.gz"
-checksum=d5f2c4bc1f57f0566242c4a0a721a5ceaa6d6d407f9d6dd29009a714a0abec74
diff --git a/srcpkgs/yewtube/template b/srcpkgs/yewtube/template
new file mode 100644
index 000000000000..b8d240443863
--- /dev/null
+++ b/srcpkgs/yewtube/template
@@ -0,0 +1,26 @@
+# Template file for 'yewtube'
+pkgname=yewtube
+version=2.10.4
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-requests python3-pyperclip python3-youtubesearch python3-pylast yt-dlp
+ python3-mutagen python3-pycryptodomex python3-websockets python3-Brotli python3-certifi"
+checkdepends="${depends} python3-pip python3-dbus python3-gobject python3-pytest-xdist"
+short_desc="Terminal based YouTube player and downloader"
+maintainer="icp <pangolin@vivaldi.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mps-youtube/yewtube"
+changelog="https://raw.githubusercontent.com/mps-youtube/yewtube/master/CHANGELOG.md"
+distfiles="https://github.com/mps-youtube/yewtube/archive/refs/tags/v${version}.tar.gz"
+checksum=e7b93f3929f9266ecb32317d0c23acdd8966626f83015e361ef44cff1089fa32
+
+post_install() {
+	vbin yt
+}
+
+mps-youtube_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}

  parent reply	other threads:[~2023-06-28  6:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 19:44 [PR PATCH] mps-youtube: rename to yewtube, update to 2.9.4 icp1994
2023-03-09  1:14 ` sgn
2023-03-09  1:14 ` sgn
2023-03-09 20:14 ` icp1994
2023-05-09  3:37 ` sgn
2023-05-09  7:53 ` [PR PATCH] [Updated] " icp1994
2023-06-27 22:38 ` mps-youtube: rename to yewtube, update to 2.10.2 classabbyamp
2023-06-28  6:41 ` icp1994 [this message]
2023-06-28  6:41 ` icp1994
2023-06-28  8:12 ` [PR PATCH] [Merged]: mps-youtube: rename to yewtube, update to 2.10.4 classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230628064100.h8yfgg3mQzQ5YHmoIj0WMW2QG1rBUOkRXR_VA0Yt83o@z \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).