Github messages for voidlinux
 help / color / mirror / Atom feed
From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] deheader: update to 1.7
Date: Tue, 24 Nov 2020 20:50:20 +0100	[thread overview]
Message-ID: <20201124195020.t2zf25MAJmQ0XmMPKTahbjY3ajALGdeogSQy6kI_yME@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26648@inbox.vuxu.org>

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

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

https://github.com/ndowens/void-packages deheader
https://github.com/void-linux/void-packages/pull/26648

deheader: update to 1.7
Change from python2 to python3

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

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

From 9b686f69f4b0b85c0e041c242ea284a3499c622a Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Mon, 23 Nov 2020 10:58:13 -0600
Subject: [PATCH] deheader: update to 1.7

Change from python2 to python3
---
 srcpkgs/deheader/template | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/deheader/template b/srcpkgs/deheader/template
index 6b3a54eaf11..8b763179efd 100644
--- a/srcpkgs/deheader/template
+++ b/srcpkgs/deheader/template
@@ -1,26 +1,15 @@
 # Template file for 'deheader'
 pkgname=deheader
-version=1.6
-revision=4
-create_wrksrc=yes
-hostmakedepends="tar"
-depends="python"
+version=1.7
+revision=1
+depends="python3"
 short_desc="C and C++ header analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="http://www.catb.org/~esr/deheader/"
 distfiles="http://www.catb.org/~esr/deheader/${pkgname}-${version}.tar.gz"
-checksum=3b99665c4f0dfda31d200bf2528540d6898cb846499ee91effa2e8f72aff3a60
-skip_extraction="${pkgname}-${version}.tar.gz"
-python_version=2
-
-do_extract() {
-	# bsdtar fails to extract version 1.6 tarball which
-	# contains a hard link from the man page to itself.
-	tar --strip-components 1 --no-same-owner --extract --file \
-		${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz \
-		--directory ${wrksrc}
-}
+checksum=6856e4fa3efa664a0444b81c2e1f0209103be3b058455625c79abe65cf8db70d
+python_version=3
 
 do_install() {
 	vbin deheader

  parent reply	other threads:[~2020-11-24 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-23 16:58 [PR PATCH] " ndowens
2020-11-24 15:57 ` [PR REVIEW] " ahesford
2020-11-24 19:49 ` ndowens
2020-11-24 19:50 ` ndowens [this message]
2020-11-24 19:56 ` [PR PATCH] [Merged]: " ahesford

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=20201124195020.t2zf25MAJmQ0XmMPKTahbjY3ajALGdeogSQy6kI_yME@z \
    --to=ndowens@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).