Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ytcc: update to 2.6.0.
Date: Thu, 08 Sep 2022 18:03:09 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39171@inbox.vuxu.org> (raw)

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

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages ytcc
https://github.com/void-linux/void-packages/pull/39171

ytcc: update to 2.6.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

I tried `make_check_args="-m 'not flaky'"` and some other quoting combinations but it just won't work!

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

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

From 4f7cf6055070a58a0dea5e8937a73d7d27e3b0df Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 6 Sep 2022 21:18:24 +0530
Subject: [PATCH] ytcc: update to 2.6.0.

---
 srcpkgs/ytcc/template | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/ytcc/template b/srcpkgs/ytcc/template
index 99a0c9b91122..494070eb7259 100644
--- a/srcpkgs/ytcc/template
+++ b/srcpkgs/ytcc/template
@@ -1,19 +1,26 @@
 # Template file for 'ytcc'
 pkgname=ytcc
-version=1.8.2
-revision=5
+version=2.6.0
+revision=1
 build_style=python3-module
-hostmakedepends="gettext python3-setuptools"
-depends="python3-SQLAlchemy python3-feedparser python3-lxml python3-youtube-dl
- mpv"
+hostmakedepends="python3-setuptools"
+depends="mpv yt-dlp python3-click python3-wcwidth"
+checkdepends="${depends} python3-pytest"
 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=3d69104a20b9a6861a2663a0ffcbd6054fe05a62caccf2126c0b0cf3a446dbec
+
+do_check() {
+	PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -m "not flaky" test
+}
 
 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/bash/ytcc.completion.sh bash
+	vcompletion scripts/completions/fish/ytcc.fish fish
+	vcompletion scripts/completions/zsh/_ytcc zsh
+	mv ${DESTDIR}/usr/bin/ytccf{.sh,}
+	vman doc/ytcc.1
 }

             reply	other threads:[~2022-09-08 16:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08 16:03 icp1994 [this message]
2022-09-10 22:09 ` classabbyamp
2022-09-10 22:10 ` [PR PATCH] [Merged]: " 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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39171@inbox.vuxu.org \
    --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).