Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] etckeeper: update to 1.18.20, support xbps, run tests
@ 2023-02-10 16:56 dkwo
  2023-02-10 16:59 ` [PR PATCH] [Updated] " dkwo
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: dkwo @ 2023-02-10 16:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dkwo/void-packages etck
https://github.com/void-linux/void-packages/pull/42192

etckeeper: update to 1.18.20, support xbps, run tests
- I tested the changes in this PR: **YES**|**briefly**|**NO**
- I built this PR locally for my native architecture, (x86_64-musl)

If I include `fakeroot` in `checkdepends`, then a couple of tests fail.

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

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

From 9c5b0a98815e910701c9c92b5fd54af7cc435991 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 10 Feb 2023 11:52:09 -0500
Subject: [PATCH] etckeeper: update to 1.18.20, support xbps, run tests

---
 srcpkgs/etckeeper/template | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/etckeeper/template b/srcpkgs/etckeeper/template
index 54dea0890c2b..777b61755363 100644
--- a/srcpkgs/etckeeper/template
+++ b/srcpkgs/etckeeper/template
@@ -1,23 +1,32 @@
 # Template file for 'etckeeper'
 pkgname=etckeeper
-version=1.18.14
-revision=2
+version=1.18.20
+revision=1
 build_style=gnu-makefile
 conf_files="/etc/etckeeper/etckeeper.conf"
 hostmakedepends="perl"
 depends="git perl"
+checkdepends="bats git"
 short_desc="Tools to store /etc in a git, mercurial, or darcs repository"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://etckeeper.branchable.com"
 distfiles="https://git.joeyh.name/index.cgi/etckeeper.git/snapshot/${pkgname}-${version}.tar.gz"
-checksum=15924673fa3f15e4b172f9f0111a442ed3f0ee99dcf9ad3c5107736ffb8c1089
+checksum=0bb856e96f59cf582a92361294f0fc32e0a8bbc02fac3aacae0a735d11b3addd
+make_check_target=test
 
 pre_install() {
 	sed -ni '/systemddir/!p' Makefile
 	sed -ni '/apt.conf/!p' Makefile
+	sed -i 's|^PYTHON=python$|PYTHON=/bin/false|' Makefile
+
+	sed -i -e "/^LOWLEVEL_PACKAGE_MANAGER/c LOWLEVEL_PACKAGE_MANAGER=xbps" etckeeper.conf
+	sed -i -e "/^HIGHLEVEL_PACKAGE_MANAGER/c HIGHLEVEL_PACKAGE_MANAGER=xbps" etckeeper.conf
 }
 
 post_install() {
 	vdoc doc/README.mdwn
+
+	rm -rf lib/systemd
+	rm -rf etc/apt
 }

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

end of thread, other threads:[~2024-02-01 21:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-10 16:56 [PR PATCH] etckeeper: update to 1.18.20, support xbps, run tests dkwo
2023-02-10 16:59 ` [PR PATCH] [Updated] " dkwo
2023-02-10 17:01 ` dkwo
2023-02-10 17:04 ` dkwo
2023-05-16  1:55 ` github-actions
2023-05-16 15:05 ` [PR PATCH] [Updated] " dkwo
2023-05-16 20:15 ` dkwo
2023-08-16  1:44 ` github-actions
2023-08-16  2:38 ` zevweiss
2023-08-16  6:06 ` [PR PATCH] [Updated] " dkwo
2023-10-27 20:43 ` dkwo
2023-10-27 20:51 ` dkwo
2024-01-26  1:45 ` github-actions
2024-01-26 17:33 ` zevweiss
2024-01-26 17:48 ` [PR PATCH] [Updated] " dkwo
2024-01-31 21:19 ` etckeeper: update to 1.18.21, " dkwo
2024-02-01 15:37 ` [PR PATCH] [Merged]: " leahneukirchen
2024-02-01 21:41 ` zevweiss

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