Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tokei: update to v13.0.0-alpha.1
@ 2024-03-11 18:09 terminaldweller
  2024-03-11 18:10 ` classabbyamp
  2024-03-11 19:19 ` [PR PATCH] [Closed]: " terminaldweller
  0 siblings, 2 replies; 3+ messages in thread
From: terminaldweller @ 2024-03-11 18:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/terminaldweller/void-packages tokei_v13_update
https://github.com/void-linux/void-packages/pull/49239

tokei: update to v13.0.0-alpha.1
#### 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-glibc)

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

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

From 4a759d3ee82d60f3f360fb4cfd8ccbf9cd6f1426 Mon Sep 17 00:00:00 2001
From: terminaldweller <devi@terminaldweller.com>
Date: Mon, 11 Mar 2024 14:00:50 -0400
Subject: [PATCH] tokei: update to v13.0.0-alpha.1

---
 ...c4487ef2a8f53c29124b0aa3e9e793bfaadc.patch | 25 -------------------
 srcpkgs/tokei/template                        |  9 ++++---
 2 files changed, 5 insertions(+), 29 deletions(-)
 delete mode 100644 srcpkgs/tokei/patches/067fc4487ef2a8f53c29124b0aa3e9e793bfaadc.patch

diff --git a/srcpkgs/tokei/patches/067fc4487ef2a8f53c29124b0aa3e9e793bfaadc.patch b/srcpkgs/tokei/patches/067fc4487ef2a8f53c29124b0aa3e9e793bfaadc.patch
deleted file mode 100644
index 46415c14aebaec..00000000000000
--- a/srcpkgs/tokei/patches/067fc4487ef2a8f53c29124b0aa3e9e793bfaadc.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Upstream: yes
-
-From 067fc4487ef2a8f53c29124b0aa3e9e793bfaadc Mon Sep 17 00:00:00 2001
-From: Max Sharnoff <github@max.sharnoff.org>
-Date: Mon, 4 Apr 2022 12:06:32 +0100
-Subject: [PATCH] Summarise language before adding to total (#903)
-
----
- src/language/languages.rs | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/language/languages.rs b/src/language/languages.rs
-index 141cae28..2b0fc584 100644
---- a/src/language/languages.rs
-+++ b/src/language/languages.rs
-@@ -102,7 +102,8 @@ impl Languages {
-     #[must_use]
-     pub fn total(self: &Languages) -> Language {
-         let mut total = Language::new();
--        for (ty, language) in self {
-+        for (ty, l) in self {
-+            let language = l.summarise();
-             total.comments += language.comments;
-             total.blanks += language.blanks;
-             total.code += language.code;
diff --git a/srcpkgs/tokei/template b/srcpkgs/tokei/template
index ef99d76777e745..6d616ff54e0f9e 100644
--- a/srcpkgs/tokei/template
+++ b/srcpkgs/tokei/template
@@ -1,15 +1,16 @@
 # Template file for 'tokei'
 pkgname=tokei
-version=12.1.2
-revision=4
+_rev=alpha.1
+version=13.0.0
+revision=1
 build_style=cargo
 configure_args="--features all"
 short_desc="Count lines of code"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="Apache-2.0, MIT"
 homepage="https://github.com/XAMPPRocky/tokei"
-distfiles="https://github.com/XAMPPRocky/tokei/archive/v$version.tar.gz"
-checksum=81ef14ab8eaa70a68249a299f26f26eba22f342fb8e22fca463b08080f436e50
+distfiles="https://github.com/XAMPPRocky/tokei/archive/v${version}-${_rev}.tar.gz"
+checksum=637c6e3d905089f74cf8195666304ac98273cee609541c8a2d87ba438ba08c6e
 
 # on i686 LLVM has problems with compiling doctests
 case "$XBPS_TARGET_MACHINE" in

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

* Re: tokei: update to v13.0.0-alpha.1
  2024-03-11 18:09 [PR PATCH] tokei: update to v13.0.0-alpha.1 terminaldweller
@ 2024-03-11 18:10 ` classabbyamp
  2024-03-11 19:19 ` [PR PATCH] [Closed]: " terminaldweller
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-03-11 18:10 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/49239#issuecomment-1989122697

Comment:
alpha/beta releases are not accepted

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

* Re: [PR PATCH] [Closed]: tokei: update to v13.0.0-alpha.1
  2024-03-11 18:09 [PR PATCH] tokei: update to v13.0.0-alpha.1 terminaldweller
  2024-03-11 18:10 ` classabbyamp
@ 2024-03-11 19:19 ` terminaldweller
  1 sibling, 0 replies; 3+ messages in thread
From: terminaldweller @ 2024-03-11 19:19 UTC (permalink / raw)
  To: ml

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

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

tokei: update to v13.0.0-alpha.1
https://github.com/void-linux/void-packages/pull/49239

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

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

end of thread, other threads:[~2024-03-11 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-11 18:09 [PR PATCH] tokei: update to v13.0.0-alpha.1 terminaldweller
2024-03-11 18:10 ` classabbyamp
2024-03-11 19:19 ` [PR PATCH] [Closed]: " terminaldweller

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