From 69352eb8785bcca1d5dbd4dbf6fb52310dfb5c41 Mon Sep 17 00:00:00 2001 From: Eloi Torrents 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 " +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 +}