Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ytcc: update to 2.6.0.
@ 2022-09-08 16:03 icp1994
  2022-09-10 22:09 ` classabbyamp
  2022-09-10 22:10 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2022-09-08 16:03 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ytcc: update to 2.6.0.
  2022-09-08 16:03 [PR PATCH] ytcc: update to 2.6.0 icp1994
@ 2022-09-10 22:09 ` classabbyamp
  2022-09-10 22:10 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-09-10 22:09 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39171#issuecomment-1242811782

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

yeah that's an issue with how xbps-src does things :/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: ytcc: update to 2.6.0.
  2022-09-08 16:03 [PR PATCH] ytcc: update to 2.6.0 icp1994
  2022-09-10 22:09 ` classabbyamp
@ 2022-09-10 22:10 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-09-10 22:10 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

ytcc: update to 2.6.0.
https://github.com/void-linux/void-packages/pull/39171

Description:
#### 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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-10 22:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 16:03 [PR PATCH] ytcc: update to 2.6.0 icp1994
2022-09-10 22:09 ` classabbyamp
2022-09-10 22:10 ` [PR PATCH] [Merged]: " classabbyamp

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).