Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] etckeeper: update to 1.18.20, support xbps, run tests
Date: Fri, 26 Jan 2024 18:48:43 +0100	[thread overview]
Message-ID: <20240126174843.0A031238B1@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42192@inbox.vuxu.org>

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

There is an updated 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
- I built this PR locally for my native architecture, (`x86_64-musl`)

A couple of tests fail, likely due to `fakeroot` or similar.

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: 1696 bytes --]

From 3df48abdf54d8d859fb4b70606cce403dcaebb9d 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.21, support xbps, run tests

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

diff --git a/srcpkgs/etckeeper/template b/srcpkgs/etckeeper/template
index 54dea0890c2b1..563d59f1863e7 100644
--- a/srcpkgs/etckeeper/template
+++ b/srcpkgs/etckeeper/template
@@ -1,23 +1,31 @@
 # Template file for 'etckeeper'
 pkgname=etckeeper
-version=1.18.14
-revision=2
+version=1.18.21
+revision=1
 build_style=gnu-makefile
 conf_files="/etc/etckeeper/etckeeper.conf"
+make_check_target=test
 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=a87c5e9c847c29f761da933c1cd907779545c7ddf92fb75de8ef692b90fc9e5d
+make_check=ci-skip # due to not detecting chroot
 
 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
 }

  parent reply	other threads:[~2024-01-26 17:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-10 16:56 [PR PATCH] " 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 ` dkwo [this message]
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

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=20240126174843.0A031238B1@inbox.vuxu.org \
    --to=dkwo@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).