Github messages for voidlinux
 help / color / mirror / Atom feed
From: travankor <travankor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] dtrx: update to 8.5.0.
Date: Sat, 31 Dec 2022 03:21:31 +0100	[thread overview]
Message-ID: <20221231022131.kaAsuoxFoJkq6qaY18yh0fYp0TtcQbgDOKeRLvM8Y40@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41368@inbox.vuxu.org>

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

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

https://github.com/travankor/void-packages dtrx
https://github.com/void-linux/void-packages/pull/41368

dtrx: update to 8.5.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

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

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

From 926b0b7808882b257128cbefbf8aa8cebd5078e7 Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Fri, 30 Dec 2022 18:04:38 -0700
Subject: [PATCH 1/2] dtrx: update to 8.5.0.

---
 srcpkgs/dtrx/template | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/dtrx/template b/srcpkgs/dtrx/template
index c9054b42638a..62f5f5388bb7 100644
--- a/srcpkgs/dtrx/template
+++ b/srcpkgs/dtrx/template
@@ -1,16 +1,14 @@
 # Template file for 'dtrx'
 pkgname=dtrx
-version=8.2.2
+version=8.5.0
 revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-invoke"
 short_desc="Tool that takes all the hassle out of extracting archives"
 maintainer="travankor <travankor@tuta.io>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/dtrx-py/dtrx/"
 distfiles="https://github.com/dtrx-py/dtrx/archive/${version}.tar.gz"
-checksum=2d1d5bc5576d9a4793a4daceb5a0af7ec6430ed5a4e305f46c53542592d6babb
-python_version=3
-
-do_install() {
-	vbin scripts/dtrx
-}
+checksum=fb57a3cf334b2d03b4ab723c04f21c4a102cbbaeb179cf443eafb325e59a47e4

From 12983f15b2b32d60ad19220a00a6f3fc18d254ae Mon Sep 17 00:00:00 2001
From: travankor <travankor@tuta.io>
Date: Fri, 30 Dec 2022 18:56:01 -0700
Subject: [PATCH 2/2] New package: python3-invoke-1.7.3

---
 srcpkgs/python3-invoke/patches/python311.diff | 36 +++++++++++++++++++
 srcpkgs/python3-invoke/template               | 19 ++++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/python3-invoke/patches/python311.diff
 create mode 100644 srcpkgs/python3-invoke/template

diff --git a/srcpkgs/python3-invoke/patches/python311.diff b/srcpkgs/python3-invoke/patches/python311.diff
new file mode 100644
index 000000000000..ab121a560f0e
--- /dev/null
+++ b/srcpkgs/python3-invoke/patches/python311.diff
@@ -0,0 +1,36 @@
+diff --git a/invoke/_version.py b/invoke/_version.py
+index 17f4ce42..98f13cbc 100644
+--- a/invoke/_version.py
++++ b/invoke/_version.py
+@@ -1,2 +1,2 @@
+-__version_info__ = (1, 7, 3)
++__version_info__ = (1, 7, 6)
+ __version__ = ".".join(map(str, __version_info__))
+diff --git a/invoke/tasks.py b/invoke/tasks.py
+index f2069916..3ddf0bfe 100644
+--- a/invoke/tasks.py
++++ b/invoke/tasks.py
+@@ -4,12 +4,12 @@
+ """
+ 
+ from copy import deepcopy
+-import inspect
+ import types
+ 
+ from .context import Context
+ from .parser import Argument, translate_underscores
+ from .util import six
++from .vendor.decorator import getargspec
+ 
+ if six.PY3:
+     from itertools import zip_longest
+@@ -150,7 +150,7 @@ def argspec(self, body):
+         # TODO: __call__ exhibits the 'self' arg; do we manually nix 1st result
+         # in argspec, or is there a way to get the "really callable" spec?
+         func = body if isinstance(body, types.FunctionType) else body.__call__
+-        spec = inspect.getargspec(func)
++        spec = getargspec(func)
+         arg_names = spec.args[:]
+         matched_args = [reversed(x) for x in [spec.args, spec.defaults or []]]
+         spec_dict = dict(zip_longest(*matched_args, fillvalue=NO_DEFAULT))
+
diff --git a/srcpkgs/python3-invoke/template b/srcpkgs/python3-invoke/template
new file mode 100644
index 000000000000..c40f39619c99
--- /dev/null
+++ b/srcpkgs/python3-invoke/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-invoke'
+pkgname=python3-invoke
+version=1.7.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-yaml"
+short_desc="Pythonic task management & command execution"
+maintainer="travankor <travankor@tuta.io>"
+license="BSD-2-Clause"
+homepage="https://www.pyinvoke.org/"
+changelog="https://www.pyinvoke.org/changelog.html"
+distfiles="${PYPI_SITE}/i/invoke/invoke-${version}.tar.gz"
+checksum=41b428342d466a82135d5ab37119685a989713742be46e42a3a399d685579314
+make_check=no # Broken on Python 3.11 https://github.com/pyinvoke/invoke/issues/891
+
+post_install() {
+	vlicense LICENSE
+}

  parent reply	other threads:[~2022-12-31  2:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-31  1:05 [PR PATCH] " travankor
2022-12-31  1:14 ` [PR PATCH] [Updated] " travankor
2022-12-31  1:29 ` travankor
2022-12-31  2:00 ` travankor
2022-12-31  2:09 ` travankor
2022-12-31  2:21 ` travankor [this message]
2022-12-31  6:23 ` icp1994
2022-12-31  9:02 ` [PR PATCH] [Updated] " travankor
2022-12-31  9:12 ` travankor
2022-12-31  9:26 ` travankor
2022-12-31  9:36 ` travankor
2022-12-31  9:39 ` [PR PATCH] [Updated] " travankor
2022-12-31  9:41 ` travankor
2022-12-31 17:24 ` [PR PATCH] [Merged]: " paper42

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=20221231022131.kaAsuoxFoJkq6qaY18yh0fYp0TtcQbgDOKeRLvM8Y40@z \
    --to=travankor@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).