Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: src-1.38
Date: Mon, 11 Mar 2024 16:58:01 +0100	[thread overview]
Message-ID: <20240311155801.E02402BD14@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49204@inbox.vuxu.org>

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

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

https://github.com/Eloitor/void-packages simple-revision-control
https://github.com/void-linux/void-packages/pull/49204

[WIP] New package: src-1.38
#### Testing the changes
- I tested the changes in this PR: **YES**

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

#### 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/49204.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-simple-revision-control-49204.patch --]
[-- Type: text/x-diff, Size: 2574 bytes --]

From 69352eb8785bcca1d5dbd4dbf6fb52310dfb5c41 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Sat, 9 Mar 2024 12:52:40 +0100
Subject: [PATCH] New package: src-1.38

---
 srcpkgs/src/patches/fix_test.patch    | 11 +++++++++++
 srcpkgs/src/patches/rcs_version.patch | 10 ++++++++++
 srcpkgs/src/template                  | 19 +++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/src/patches/fix_test.patch
 create mode 100644 srcpkgs/src/patches/rcs_version.patch
 create mode 100644 srcpkgs/src/template

diff --git a/srcpkgs/src/patches/fix_test.patch b/srcpkgs/src/patches/fix_test.patch
new file mode 100644
index 00000000000000..d577b0a61adaba
--- /dev/null
+++ b/srcpkgs/src/patches/fix_test.patch
@@ -0,0 +1,11 @@
+--- a/srctest
++++ b/srctest
+@@ -108,7 +108,7 @@ fi
+ 
+ # If you want to change where command captures and diffs live, modifying
+ # this variable will do it.
+-tap_capture="/tmp/tap$$"
++tap_capture="tmp/tap$$"
+ 
+ # Set this to add a fixed preamble to every TAP message
+ tap_preamble=""
diff --git a/srcpkgs/src/patches/rcs_version.patch b/srcpkgs/src/patches/rcs_version.patch
new file mode 100644
index 00000000000000..67d69c1eda15b2
--- /dev/null
+++ b/srcpkgs/src/patches/rcs_version.patch
@@ -0,0 +1,10 @@
+--- a/src
++++ b/src
+@@ -3103,7 +3103,7 @@ class RCS(RevisionMixin):
+         # rcs --version fails under OS X
+         # rcs -V throws an obsolescence warning under GNU RCS 5.9.4
+         # We choose the more portable option here.
+-        rawversion = capture_or_die("rcs -V 2>/dev/null")
++        rawversion = capture_or_die("rcs --version 2>/dev/null")
+         m = re.search(r"[0-9]+\.[0-9]+\.[0-9]+".encode("ascii"), rawversion)
+         return m and polystr(m.group(0))
diff --git a/srcpkgs/src/template b/srcpkgs/src/template
new file mode 100644
index 00000000000000..82c60459daf7ec
--- /dev/null
+++ b/srcpkgs/src/template
@@ -0,0 +1,19 @@
+# Template file for 'src'
+pkgname=src
+version=1.38
+revision=1
+build_style=gnu-makefile
+hostmakedepends="python3 rcs sccs ruby-asciidoctor"
+depends="python3 rcs"
+checkdepends="python3 python pylint shellcheck diffutils grep sed git"
+short_desc="Simple Revision Control"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-2-Clause"
+homepage="http://www.catb.org/~esr/src"
+changelog="http://www.catb.org/~esr/src/NEWS.html"
+distfiles="http://www.catb.org/~esr/src/src-${version}.tar.gz"
+checksum=229ef5ff0949fd502ca57d3f275eafd96979581c44632321604d2fa6536a35bd
+
+post_install() {
+	vlicense COPYING
+}

  parent reply	other threads:[~2024-03-11 15:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-09 18:26 [PR PATCH] New package: src-1.37 Eloitor
2024-03-09 18:32 ` [PR PATCH] [Updated] " Eloitor
2024-03-09 18:37 ` Eloitor
2024-03-09 18:38 ` Eloitor
2024-03-10  8:06 ` [PR REVIEW] " meator
2024-03-10  9:22 ` [PR PATCH] [Updated] " Eloitor
2024-03-10  9:22 ` [PR REVIEW] " Eloitor
2024-03-10  9:49 ` [PR PATCH] [Updated] [Waiting 1.38] " Eloitor
2024-03-10 16:36 ` [PR REVIEW] " meator
2024-03-10 17:12 ` [PR PATCH] [Updated] " Eloitor
2024-03-10 17:17 ` Eloitor
2024-03-10 17:18 ` [PR REVIEW] " Eloitor
2024-03-11 15:10 ` [PR PATCH] [Updated] " Eloitor
2024-03-11 15:22 ` [PR PATCH] [Updated] [WIP] New package: src-1.38 Eloitor
2024-03-11 15:27 ` Eloitor
2024-03-11 15:40 ` Eloitor
2024-03-11 15:58 ` Eloitor [this message]
2024-03-11 16:05 ` Eloitor
2024-06-10  1:50 ` github-actions
2024-06-10 10:48 ` [PR PATCH] [Updated] " Eloitor

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=20240311155801.E02402BD14@inbox.vuxu.org \
    --to=eloitor@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).