Github messages for voidlinux
 help / color / mirror / Atom feed
From: bhepple <bhepple@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: src-1.32
Date: Thu, 17 Aug 2023 23:44:19 +0200	[thread overview]
Message-ID: <20230817214419.JwkDbCBur6YTSbL1Jawj0O6kH3uxwnhDHyiHvbiQWTw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45594@inbox.vuxu.org>

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

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

https://github.com/bhepple/void-packages src-1.32
https://github.com/void-linux/void-packages/pull/45594

New package: src-1.32
- I tested the changes in this PR: **YES**

- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

- I built this PR locally for my native architecture, x86_64-glibc


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

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

From 76a4edf6453930349ef7fb02ef77995ed775f7cd Mon Sep 17 00:00:00 2001
From: Bob Hepple <bob.hepple@gmail.com>
Date: Mon, 14 Aug 2023 10:26:28 +1000
Subject: [PATCH 1/3] New package: src-1.32

---
 srcpkgs/src/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/src/template

diff --git a/srcpkgs/src/template b/srcpkgs/src/template
new file mode 100644
index 0000000000000..613ca6ea7b90f
--- /dev/null
+++ b/srcpkgs/src/template
@@ -0,0 +1,18 @@
+# Template file for 'src'
+pkgname=src
+version=1.32
+revision=1
+archs="x86_64"
+build_style=gnu-makefile
+hostmakedepends="asciidoc rcs"
+makedepends="python3-devel"
+depends="rcs git python3"
+short_desc="RCS reloaded with a modern UI, designed to manage single-file projects"
+maintainer="Bob Hepple <bob.hepple@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://gitlab.com/esr/src"
+distfiles="https://gitlab.com/esr/src/-/archive/${version}/src-${version}.tar.gz"
+checksum=d2011a60e88ea40959266f47f1e1ec7a24149f4b98df2bb234bfc92d048e977b
+post_install() {
+	vlicense COPYING
+}

From c617bd8cf3e9ed4aa035ba124df89dcd0c67b141 Mon Sep 17 00:00:00 2001
From: Bob Hepple <bob.hepple@gmail.com>
Date: Mon, 14 Aug 2023 17:33:01 +1000
Subject: [PATCH 2/3] New package: src-1.32

---
 srcpkgs/src/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/src/template b/srcpkgs/src/template
index 613ca6ea7b90f..9f5b67c2f9088 100644
--- a/srcpkgs/src/template
+++ b/srcpkgs/src/template
@@ -5,7 +5,7 @@ revision=1
 archs="x86_64"
 build_style=gnu-makefile
 hostmakedepends="asciidoc rcs"
-makedepends="python3-devel"
+makedepends="python3-devel pylint shellcheck"
 depends="rcs git python3"
 short_desc="RCS reloaded with a modern UI, designed to manage single-file projects"
 maintainer="Bob Hepple <bob.hepple@gmail.com>"

From 8be3edae1d1bb66f684c81a2b2d9d4746e7dc02f Mon Sep 17 00:00:00 2001
From: Bob Hepple <bob.hepple@gmail.com>
Date: Thu, 17 Aug 2023 18:28:59 +1000
Subject: [PATCH 3/3] Add a patch to reduce pylint's severity

---
 .../src/patches/reduce-pylint-severity.patch  | 58 +++++++++++++++++++
 srcpkgs/src/template                          |  2 +-
 2 files changed, 59 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/src/patches/reduce-pylint-severity.patch

diff --git a/srcpkgs/src/patches/reduce-pylint-severity.patch b/srcpkgs/src/patches/reduce-pylint-severity.patch
new file mode 100644
index 0000000000000..a76670424a0dd
--- /dev/null
+++ b/srcpkgs/src/patches/reduce-pylint-severity.patch
@@ -0,0 +1,58 @@
+Only in src-1.32: __pycache__
+diff -c src-1.32-orig/src src-1.32/src
+*** src-1.32-orig/src	2023-04-24 23:14:32.000000000 +1000
+--- src-1.32/src	2023-08-17 18:22:48.922724966 +1000
+***************
+*** 78,84 ****
+  
+  from __future__ import print_function
+  
+! # pylint: disable=fixme,line-too-long,too-many-lines,invalid-name,no-value-for-parameter,no-self-use,no-else-break,no-else-return,no-else-continue,missing-function-docstring,comparison-with-callable,consider-using-f-string,too-many-public-methods,too-many-nested-blocks,consider-using-with,too-many-locals.too-many-branches
+  
+  # pylint: disable=multiple-imports
+  import sys, os, subprocess, datetime, time, calendar, stat, glob
+--- 78,84 ----
+  
+  from __future__ import print_function
+  
+! # pylint: disable=fixme,line-too-long,too-many-lines,invalid-name,no-value-for-parameter,no-else-break,no-else-return,no-else-continue,missing-function-docstring,comparison-with-callable,consider-using-f-string,too-many-public-methods,too-many-nested-blocks,consider-using-with,too-many-locals.too-many-branches
+  
+  # pylint: disable=multiple-imports
+  import sys, os, subprocess, datetime, time, calendar, stat, glob
+***************
+*** 120,125 ****
+--- 120,126 ----
+  
+  if str is bytes:  # Python 2
+  
++     # pylint: disable=deprecated-module
+      import cgi
+      # pylint: disable=no-member
+      htmlescape = cgi.escape
+***************
+*** 1276,1281 ****
+--- 1277,1283 ----
+              return metadata.native_to_revno(part)
+          self.lo = subresolve(self.start)
+          self.hi = subresolve(self.end)
++         # pylint: disable=superfluous-parens
+          mreversed = (self.lo > self.hi)
+          if mreversed:
+              swapme = self.hi
+***************
+*** 1485,1491 ****
+      if differ == difflib.unified_diff:
+          colorizer = colorize_unified
+      else:
+!         colorizer = lambda x: x
+      with backend.lifter(metadata.name):
+          for line in compute_diff(metadata, lo, hi, differ, ignore_ws):
+              sys.stdout.write(colorizer(line) + "\n")
+--- 1487,1493 ----
+      if differ == difflib.unified_diff:
+          colorizer = colorize_unified
+      else:
+!         colorizer = lambda x: x # pylint: disable=unnecessary-lambda-assignment
+      with backend.lifter(metadata.name):
+          for line in compute_diff(metadata, lo, hi, differ, ignore_ws):
+              sys.stdout.write(colorizer(line) + "\n")
diff --git a/srcpkgs/src/template b/srcpkgs/src/template
index 9f5b67c2f9088..4172eea40d3c9 100644
--- a/srcpkgs/src/template
+++ b/srcpkgs/src/template
@@ -4,7 +4,7 @@ version=1.32
 revision=1
 archs="x86_64"
 build_style=gnu-makefile
-hostmakedepends="asciidoc rcs"
+hostmakedepends="asciidoc rcs sccs git"
 makedepends="python3-devel pylint shellcheck"
 depends="rcs git python3"
 short_desc="RCS reloaded with a modern UI, designed to manage single-file projects"

  parent reply	other threads:[~2023-08-17 21:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14  0:32 [PR PATCH] " bhepple
2023-08-14  7:18 ` bhepple
2023-08-14  7:19 ` bhepple
2023-08-14  7:31 ` bhepple
2023-08-17  8:31 ` [PR PATCH] [Updated] " bhepple
2023-08-17 21:44 ` bhepple [this message]
2023-11-16  1:46 ` github-actions
2023-12-01  1:50 ` [PR PATCH] [Closed]: " github-actions
  -- strict thread matches above, loose matches on Subject: below --
2023-08-13 18:30 [PR PATCH] " bhepple
2023-08-13 18:34 ` [PR PATCH] [Updated] " bhepple

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=20230817214419.JwkDbCBur6YTSbL1Jawj0O6kH3uxwnhDHyiHvbiQWTw@z \
    --to=bhepple@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).