Github messages for voidlinux
 help / color / mirror / Atom feed
From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ytcc: update to 2.0.1.
Date: Thu, 03 Dec 2020 23:13:09 +0100	[thread overview]
Message-ID: <20201203221309.UyGzyl-u-mtf6XZC0y-iw65nTopz368SZKXatptTbDs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26930@inbox.vuxu.org>

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

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

https://github.com/ndowens/void-packages ytcc
https://github.com/void-linux/void-packages/pull/26930

ytcc: update to 2.0.1.
Update youtube-dl as older source is no longer found. Add python3-click as ytcc dep as it is now needed to run.

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

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

From c7237a2800534dfb769465ea7db1f612f9d4c177 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 3 Dec 2020 14:45:44 -0600
Subject: [PATCH 1/2] ytcc: update to 2.0.1.

---
 srcpkgs/ytcc/template | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/ytcc/template b/srcpkgs/ytcc/template
index 4e6979b3e2f..6b537f5c0e8 100644
--- a/srcpkgs/ytcc/template
+++ b/srcpkgs/ytcc/template
@@ -1,19 +1,33 @@
 # Template file for 'ytcc'
 pkgname=ytcc
-version=1.8.2
-revision=4
+version=2.0.1
+revision=1
 build_style=python3-module
 hostmakedepends="gettext python3-setuptools"
-depends="python3-SQLAlchemy python3-feedparser python3-lxml python3-youtube-dl
- mpv"
+depends="mpv python3-SQLAlchemy python3-click python3-feedparser python3-lxml
+ python3-youtube-dl"
+checkdepends="python3-pytest python3-click youtube-dl ffmpeg mpv"
 short_desc="Cmdline tool to track your youtube channels"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/woefe/ytcc"
 distfiles="https://github.com/woefe/ytcc/archive/v${version}.tar.gz"
-checksum=360db561bb0278b7f326fe3da9b012e738e1eceec9031c66b3749207f8091283
+checksum=edb5367209a8c465c6b6f4f01705430602f25ca29b318dc18e42c139d2fe1efc
+
+pre_check() {
+	# Needs XDG_RUNTIME_DIR variable
+	#vsed -e '/test_play_video/,/assert len/d' -i test/test_cli.py
+	:
+}
+
+do_check() {
+	export XDG_RUNTIME_DIR=$(mktemp -d)
+	pytest test
+	rm -rf $XDG_RUNTIME_DIR
+}
 
 post_install() {
-	vinstall completions/fish/ytcc.fish 0644 usr/share/fish/vendor_completions.d
-	vinstall completions/zsh/_ytcc 0644 usr/share/zsh/site-functions
+	vcompletion scripts/completions/fish/ytcc.fish fish
+	vcompletion scripts/completions/zsh/_ytcc zsh
+	vcompletion scripts/completions/bash/ytcc.completion.sh bash
 }

From a6d90ffc15a6af21b2e897762bc918e335cf0923 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 3 Dec 2020 14:49:53 -0600
Subject: [PATCH 2/2] youtube-dl: update to 2020.12.02.

---
 srcpkgs/youtube-dl/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/youtube-dl/template b/srcpkgs/youtube-dl/template
index a1f0c32b5db..88dabdec37d 100644
--- a/srcpkgs/youtube-dl/template
+++ b/srcpkgs/youtube-dl/template
@@ -1,6 +1,6 @@
 # Template file for 'youtube-dl'
 pkgname=youtube-dl
-version=2020.11.26
+version=2020.12.02
 revision=1
 wrksrc="${pkgname}"
 build_style=python3-module
@@ -12,8 +12,8 @@ maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
 license="Unlicense"
 homepage="https://yt-dl.org"
 changelog="https://raw.githubusercontent.com/ytdl-org/youtube-dl/master/ChangeLog"
-distfiles="${homepage}/downloads/latest/${pkgname}-${version}.tar.gz"
-checksum=fb106cd60f94fe00afee46d4e028cdca8ebff171ddfa9d4ff2a2fd5956586f7f
+distfiles="https://github.com/ytdl-org/youtube-dl/releases/download/${version}/${pkgname}-${version}.tar.gz"
+checksum=7161b2e3f3c09ade59fb6e3a4160a224a3b04e39c7744e14cd9f361f71a57a72
 
 do_check() {
 	PYTHON=/usr/bin/python3 make offlinetest

  parent reply	other threads:[~2020-12-03 22:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 21:06 [PR PATCH] " ndowens
2020-12-03 21:40 ` [PR REVIEW] " ericonr
2020-12-03 21:40 ` ericonr
2020-12-03 21:40 ` ericonr
2020-12-03 22:12 ` ndowens
2020-12-03 22:13 ` ndowens [this message]
2020-12-03 22:14 ` [PR PATCH] [Updated] " ndowens
2020-12-03 22:20 ` [PR REVIEW] " ndowens
2020-12-03 22:24 ` [PR PATCH] [Updated] " ndowens
2020-12-03 22:25 ` [PR PATCH] [Closed]: " ndowens
2020-12-03 22:26 ` ndowens

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=20201203221309.UyGzyl-u-mtf6XZC0y-iw65nTopz368SZKXatptTbDs@z \
    --to=ndowens@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).