Package Details: pidcat-git 2.1.0.r14.0cb1c2c-1

Git Clone URL: https://aur.archlinux.org/pidcat-git.git (read-only, click to copy)
Package Base: pidcat-git
Description: Pidcat is a colored logcat script with improved readability that only shows log entries for a specific Android package.
Upstream URL: https://github.com/JakeWharton/pidcat
Licenses: Apache
Submitter: pedronveloso
Maintainer: pedronveloso (jzacsh)
Last Packager: jzacsh
Votes: 1
Popularity: 0.000000
First Submitted: 2017-06-04 17:58 (UTC)
Last Updated: 2021-11-29 02:05 (UTC)

Latest Comments

joern_h commented on 2024-09-26 09:40 (UTC) (edited on 2024-09-26 09:40 (UTC) by joern_h)

Package with python3 support: pidcat-python3-git

bpierre commented on 2024-08-17 17:11 (UTC)

Diff for Python 3 support:

 PKGBUILD     |  9 ++++++---
 pidcat.patch | 16 +++++++++-------
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git i/PKGBUILD w/PKGBUILD
index ae59e50..7429395 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -2,16 +2,19 @@
 # Maintainer: Jonathan Zacsh <[email protected]>

 pkgname=pidcat-git
-pkgver=2.1.0.r14.0cb1c2c
+pkgver=2.1.0.r16.61cd1ee
 pkgrel=1
 pkgdesc="Pidcat is a colored logcat script with improved readability that only shows log entries for a specific Android package."
 arch=('any')
 url="https://github.com/JakeWharton/pidcat"
 license=('Apache')
-depends=(android-tools python2)
+depends=(android-tools python)

 source=("git+$url.git" "pidcat.patch")
-md5sums=('SKIP' "c9bfb27615710b5ddaaf74cef0042a17")
+sha256sums=(
+  SKIP
+  13833416efb9dc327a9fb182d8325bdc0b6c8a01e9177f4c117413b6249dcbde
+)

 build() {
   cd "$srcdir/${pkgname%-git}"
diff --git i/pidcat.patch w/pidcat.patch
index 9aa3934..d3eb581 100644
--- i/pidcat.patch
+++ w/pidcat.patch
@@ -1,8 +1,10 @@
---- pidcat.py  2021-11-25 14:45:02.836580689 -0600
---- pidcat.new 2021-11-25 14:45:43.012328690 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env -S python -u
-+#!/usr/bin/env -S python2 -u
+diff --git a/pidcat.py b/pidcat.py
+index 6a23786..4a2b42f 100755
+--- a/pidcat.py
++++ b/pidcat.py
+@@ -359,4 +359,4 @@ def tag_in_tags_regex(tag, tags):
+     message = matcher.sub(replace, message)

- '''
- Copyright 2009, The Android Open Source Project
+   linebuf += indent_wrap(message)
+-  print(linebuf.encode('utf-8'))
++  print(linebuf)

carstene1ns commented on 2022-11-20 22:46 (UTC)

Nowadays pidcat works with python3, please update.