Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-sh: update to 1.14.3.
@ 2023-01-22  5:57 pfpulux
  2023-02-08 16:36 ` [PR PATCH] [Merged]: " ahesford
  0 siblings, 1 reply; 3+ messages in thread
From: pfpulux @ 2023-01-22  5:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pfpulux/void-packages python3-sh
https://github.com/void-linux/void-packages/pull/41794

python3-sh: update to 1.14.3.
<!-- 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/41794.patch is attached

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

From 65d750766473d4b2cccd8ccf134a282408c77623 Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.eu>
Date: Sun, 22 Jan 2023 06:56:38 +0100
Subject: [PATCH] python3-sh: update to 1.14.3.

---
 ...n-some-systems.-Use-a-random-dir-ins.patch | 46 -------------------
 srcpkgs/python3-sh/template                   |  8 ++--
 2 files changed, 4 insertions(+), 50 deletions(-)
 delete mode 100644 srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch

diff --git a/srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch b/srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch
deleted file mode 100644
index 1c0063a411e0..000000000000
--- a/srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 6b9fc9ace0219fd7199cb0d0261b01e364e96fe2 Mon Sep 17 00:00:00 2001
-From: Erik Cederstrand <erik@cederstrand.dk>
-Date: Mon, 16 Aug 2021 08:18:31 +0200
-Subject: [PATCH] CWD may be /tmp on some systems. Use a random dir instead.
- Fixes #582
-
----
- test.py | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/test.py b/test.py
-index 4e9e8e0..d438e30 100644
---- a/test.py
-+++ b/test.py
-@@ -2261,13 +2261,15 @@ p.wait()
- 
-     def test_pushd(self):
-         """ test basic pushd functionality """
-+        child = realpath(tempfile.mkdtemp())
-+
-         old_wd1 = sh.pwd().strip()
-         old_wd2 = os.getcwd()
- 
-         self.assertEqual(old_wd1, old_wd2)
--        self.assertNotEqual(old_wd1, tempdir)
-+        self.assertNotEqual(old_wd1, child)
- 
--        with sh.pushd(tempdir):
-+        with sh.pushd(child):
-             new_wd1 = sh.pwd().strip()
-             new_wd2 = os.getcwd()
- 
-@@ -2276,8 +2278,8 @@ p.wait()
-         self.assertEqual(old_wd3, old_wd4)
-         self.assertEqual(old_wd1, old_wd3)
- 
--        self.assertEqual(new_wd1, tempdir)
--        self.assertEqual(new_wd2, tempdir)
-+        self.assertEqual(new_wd1, child)
-+        self.assertEqual(new_wd2, child)
- 
-     def test_pushd_cd(self):
-         """ test that pushd works like pushd/popd with built-in cd correctly """
--- 
-2.32.0
-
diff --git a/srcpkgs/python3-sh/template b/srcpkgs/python3-sh/template
index 47e97a175991..a36c8805052b 100644
--- a/srcpkgs/python3-sh/template
+++ b/srcpkgs/python3-sh/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-sh'
 pkgname=python3-sh
-version=1.14.2
-revision=4
+version=1.14.3
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
 checkdepends="python3-Pygments python3-coverage python3-coveralls python3-docopt python3-docutils flake8"
 short_desc="Python subprocess replacement (Python3)"
-maintainer="pulux <pulux@pf4sh.de>"
+maintainer="pulux <pulux@pf4sh.eu>"
 license="MIT"
 homepage="https://github.com/amoffat/sh"
 distfiles="${PYPI_SITE}/s/sh/sh-${version}.tar.gz"
-checksum=9d7bd0334d494b2a4609fe521b2107438cdb21c0e469ffeeb191489883d6fe0d
+checksum=e4045b6c732d9ce75d571c79f5ac2234edd9ae4f5fa9d59b09705082bdca18c7
 
 post_install() {
 	vlicense LICENSE.txt

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

* Re: [PR PATCH] [Merged]: python3-sh: update to 1.14.3.
  2023-01-22  5:57 [PR PATCH] python3-sh: update to 1.14.3 pfpulux
@ 2023-02-08 16:36 ` ahesford
  0 siblings, 0 replies; 3+ messages in thread
From: ahesford @ 2023-02-08 16:36 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

python3-sh: update to 1.14.3.
https://github.com/void-linux/void-packages/pull/41794

Description:
<!-- 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
-->


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

* [PR PATCH] python3-sh: update to 1.14.3.
@ 2022-08-10  5:16 pfpulux
  0 siblings, 0 replies; 3+ messages in thread
From: pfpulux @ 2022-08-10  5:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pfpulux/void-packages python3-sh
https://github.com/void-linux/void-packages/pull/38578

python3-sh: update to 1.14.3.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

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

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

From a852426039be21236b3dd1e25022881bb0f4f90c Mon Sep 17 00:00:00 2001
From: Pulux <pulux@pf4sh.eu>
Date: Wed, 10 Aug 2022 07:16:08 +0200
Subject: [PATCH] python3-sh: update to 1.14.3.

---
 ...n-some-systems.-Use-a-random-dir-ins.patch | 46 -------------------
 srcpkgs/python3-sh/template                   |  6 +--
 2 files changed, 3 insertions(+), 49 deletions(-)
 delete mode 100644 srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch

diff --git a/srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch b/srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch
deleted file mode 100644
index 1c0063a411e0..000000000000
--- a/srcpkgs/python3-sh/patches/0001-CWD-may-be-tmp-on-some-systems.-Use-a-random-dir-ins.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 6b9fc9ace0219fd7199cb0d0261b01e364e96fe2 Mon Sep 17 00:00:00 2001
-From: Erik Cederstrand <erik@cederstrand.dk>
-Date: Mon, 16 Aug 2021 08:18:31 +0200
-Subject: [PATCH] CWD may be /tmp on some systems. Use a random dir instead.
- Fixes #582
-
----
- test.py | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/test.py b/test.py
-index 4e9e8e0..d438e30 100644
---- a/test.py
-+++ b/test.py
-@@ -2261,13 +2261,15 @@ p.wait()
- 
-     def test_pushd(self):
-         """ test basic pushd functionality """
-+        child = realpath(tempfile.mkdtemp())
-+
-         old_wd1 = sh.pwd().strip()
-         old_wd2 = os.getcwd()
- 
-         self.assertEqual(old_wd1, old_wd2)
--        self.assertNotEqual(old_wd1, tempdir)
-+        self.assertNotEqual(old_wd1, child)
- 
--        with sh.pushd(tempdir):
-+        with sh.pushd(child):
-             new_wd1 = sh.pwd().strip()
-             new_wd2 = os.getcwd()
- 
-@@ -2276,8 +2278,8 @@ p.wait()
-         self.assertEqual(old_wd3, old_wd4)
-         self.assertEqual(old_wd1, old_wd3)
- 
--        self.assertEqual(new_wd1, tempdir)
--        self.assertEqual(new_wd2, tempdir)
-+        self.assertEqual(new_wd1, child)
-+        self.assertEqual(new_wd2, child)
- 
-     def test_pushd_cd(self):
-         """ test that pushd works like pushd/popd with built-in cd correctly """
--- 
-2.32.0
-
diff --git a/srcpkgs/python3-sh/template b/srcpkgs/python3-sh/template
index 440c03cee0cc..a75148f0352c 100644
--- a/srcpkgs/python3-sh/template
+++ b/srcpkgs/python3-sh/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-sh'
 pkgname=python3-sh
-version=1.14.2
-revision=3
+version=1.14.3
+revision=1
 wrksrc="${pkgname#*-}-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -12,7 +12,7 @@ maintainer="pulux <pulux@pf4sh.de>"
 license="MIT"
 homepage="https://github.com/amoffat/sh"
 distfiles="${PYPI_SITE}/s/sh/sh-${version}.tar.gz"
-checksum=9d7bd0334d494b2a4609fe521b2107438cdb21c0e469ffeeb191489883d6fe0d
+checksum=e4045b6c732d9ce75d571c79f5ac2234edd9ae4f5fa9d59b09705082bdca18c7
 
 post_install() {
 	vlicense LICENSE.txt

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

end of thread, other threads:[~2023-02-08 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22  5:57 [PR PATCH] python3-sh: update to 1.14.3 pfpulux
2023-02-08 16:36 ` [PR PATCH] [Merged]: " ahesford
  -- strict thread matches above, loose matches on Subject: below --
2022-08-10  5:16 [PR PATCH] " pfpulux

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