Github messages for voidlinux
 help / color / mirror / Atom feed
From: benalb <benalb@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-dominate: update to 2.8.0.
Date: Thu, 25 May 2023 13:09:34 +0200	[thread overview]
Message-ID: <20230525110934.Tqs1JK2lzgztsx91QLrEakGNtoEduYQVv_WLOtoN1lY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44030@inbox.vuxu.org>

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

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

https://github.com/benalb/void-packages python3-dominate
https://github.com/void-linux/void-packages/pull/44030

python3-dominate: update to 2.8.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, (X86_64-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/44030.patch is attached

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

From 502381790df46cdd3673b43a1cacf500cf2fb43e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjam=C3=ADn=20Albi=C3=B1ana?= <benalb@gmail.com>
Date: Mon, 22 May 2023 13:08:54 +0200
Subject: [PATCH 1/3] python3-dominate: update to 2.8.0.

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

diff --git a/srcpkgs/python3-dominate/template b/srcpkgs/python3-dominate/template
index c38fa2d9d35a..5f4dcc32cf16 100644
--- a/srcpkgs/python3-dominate/template
+++ b/srcpkgs/python3-dominate/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-dominate'
 pkgname=python3-dominate
-version=2.7.0
-revision=2
+version=2.8.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
@@ -11,4 +11,12 @@ maintainer="Benjamín Albiñana <benalb@gmail.com>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/Knio/dominate"
 distfiles="https://github.com/Knio/dominate/archive/${version}.tar.gz"
-checksum=f2bf3f12c10e25b9d632d20f1560fa9a1c91409f47e8f64e0fa0b9e12aedc20f
+checksum=4e55f84b8446fe4338a7acaf60bbb1cb133a81c4c7a46a196b904c9f8387d377
+
+pre_check() {
+	# this fix the failed test in i686
+	# https://github.com/Knio/dominate/issues/175
+	if [ "XBPS_TARGET_MACHINE" == "i686" ]; then
+		vsed -i '/3713141171098444831/i  \\t\t1692341442, # i686' tests/test_dom_tag.py
+	fi
+}

From bee7e5414dfe575be7da8674cde30ddc64a9f3b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjam=C3=ADn=20Albi=C3=B1ana?= <benalb@gmail.com>
Date: Thu, 25 May 2023 12:51:37 +0200
Subject: [PATCH 2/3] fixing the loop, again

---
 srcpkgs/python3-dominate/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python3-dominate/template b/srcpkgs/python3-dominate/template
index 5f4dcc32cf16..5983f13f70ff 100644
--- a/srcpkgs/python3-dominate/template
+++ b/srcpkgs/python3-dominate/template
@@ -16,7 +16,7 @@ checksum=4e55f84b8446fe4338a7acaf60bbb1cb133a81c4c7a46a196b904c9f8387d377
 pre_check() {
 	# this fix the failed test in i686
 	# https://github.com/Knio/dominate/issues/175
-	if [ "XBPS_TARGET_MACHINE" == "i686" ]; then
+	if [ "XBPS_TARGET_MACHINE" = "i686" ]; then
 		vsed -i '/3713141171098444831/i  \\t\t1692341442, # i686' tests/test_dom_tag.py
 	fi
 }

From 5cd89059a6ef0dfd83bccf26a70dbb557dd69ba6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjam=C3=ADn=20Albi=C3=B1ana?= <benalb@gmail.com>
Date: Thu, 25 May 2023 13:09:00 +0200
Subject: [PATCH 3/3] This reverts commit
 bee7e5414dfe575be7da8674cde30ddc64a9f3b9.

---
 srcpkgs/python3-dominate/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python3-dominate/template b/srcpkgs/python3-dominate/template
index 5983f13f70ff..5f4dcc32cf16 100644
--- a/srcpkgs/python3-dominate/template
+++ b/srcpkgs/python3-dominate/template
@@ -16,7 +16,7 @@ checksum=4e55f84b8446fe4338a7acaf60bbb1cb133a81c4c7a46a196b904c9f8387d377
 pre_check() {
 	# this fix the failed test in i686
 	# https://github.com/Knio/dominate/issues/175
-	if [ "XBPS_TARGET_MACHINE" = "i686" ]; then
+	if [ "XBPS_TARGET_MACHINE" == "i686" ]; then
 		vsed -i '/3713141171098444831/i  \\t\t1692341442, # i686' tests/test_dom_tag.py
 	fi
 }

  parent reply	other threads:[~2023-05-25 11:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22 11:09 [PR PATCH] " benalb
2023-05-25  9:19 ` [PR PATCH] [Updated] " benalb
2023-05-25 10:42 ` benalb
2023-05-25 11:09 ` benalb [this message]
2023-05-25 11:13 ` benalb
2023-05-25 11:21 ` benalb
2023-06-03 18:16 ` [PR PATCH] [Merged]: " abenson

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=20230525110934.Tqs1JK2lzgztsx91QLrEakGNtoEduYQVv_WLOtoN1lY@z \
    --to=benalb@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).