Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
@ 2023-05-07  9:27 paper42
  2023-05-07  9:27 ` [PR PATCH] [Updated] " paper42
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: paper42 @ 2023-05-07  9:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages pep517-absolute-tempdir
https://github.com/void-linux/void-packages/pull/43784

common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
some tests change cwd which causes relative tmpdir to point to a non-existent location, this PR also includes a trustme update which is affected by this

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

cc @ahesford @icp1994 

<!--
#### 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/43784.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pep517-absolute-tempdir-43784.patch --]
[-- Type: text/x-diff, Size: 2335 bytes --]

From 5b0099cb3099e56d64b9a31496fda9d45f388db6 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 7 May 2023 11:23:17 +0200
Subject: [PATCH 1/2] common/build-style/python3-pep517: use absolute path for
 check temp dir

some tests change cwd which causes relative tmpdir to point to a non-existent
location
---
 common/build-style/python3-pep517.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/build-style/python3-pep517.sh b/common/build-style/python3-pep517.sh
index f34b05c2a550..f13046ea1968 100644
--- a/common/build-style/python3-pep517.sh
+++ b/common/build-style/python3-pep517.sh
@@ -20,7 +20,7 @@ do_check() {
 			make_install_target="dist/${wheelbase//-/_}-${version}-*-*-*.whl"
 		fi
 
-		local testdir="tmp/$(date +%s)"
+		local testdir="${wrksrc}/tmp/$(date +%s)"
 		python3 -m installer --destdir "${testdir}" \
 			${make_install_args} ${make_install_target}
 

From 9541bcb005075a1585f600a806c12ec3fbc22eb9 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 7 May 2023 11:24:24 +0200
Subject: [PATCH 2/2] python3-trustme: update to 1.0.0.

---
 srcpkgs/python3-trustme/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-trustme/template b/srcpkgs/python3-trustme/template
index 99143bce7075..f0c672da5b2c 100644
--- a/srcpkgs/python3-trustme/template
+++ b/srcpkgs/python3-trustme/template
@@ -1,14 +1,15 @@
 # Template file for 'python3-trustme'
 pkgname=python3-trustme
-version=0.9.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=1.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
 depends="python3-cryptography python3-idna"
 checkdepends="python3-pytest python3-service_identity python3-openssl $depends"
 short_desc="Fake CA for testing"
 maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="GPL-3.0-or-later"
 homepage="https://trustme.rtfd.io/"
+changelog="https://github.com/python-trio/trustme/blob/master/docs/source/index.rst#change-history"
 distfiles="https://github.com/python-trio/trustme/archive/refs/tags/v$version.tar.gz"
-checksum=e9f2544bcc39583a62b5d39d9f0ce3da8528ee448911035a679f7ddb1edeab5e
+checksum=2cdfdd50081cb959a20d4878b631e7174593e926b9f8b87f2d5cabc3ca21c1ab

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

* Re: [PR PATCH] [Updated] common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
  2023-05-07  9:27 [PR PATCH] common/build-style/python3-pep517: use absolute path for check temp dir + trustme update paper42
@ 2023-05-07  9:27 ` paper42
  2023-05-07 11:57 ` ahesford
  2023-05-07 14:28 ` [PR PATCH] [Merged]: " paper42
  2 siblings, 0 replies; 4+ messages in thread
From: paper42 @ 2023-05-07  9:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages pep517-absolute-tempdir
https://github.com/void-linux/void-packages/pull/43784

common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
some tests change cwd which causes relative tmpdir to point to a non-existent location, this PR also includes a trustme update which is affected by this

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

cc @ahesford @icp1994 

<!--
#### 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/43784.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pep517-absolute-tempdir-43784.patch --]
[-- Type: text/x-diff, Size: 2335 bytes --]

From f104f25eec56b79eda63faeb74066d3fe5e28a82 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 7 May 2023 11:23:17 +0200
Subject: [PATCH 1/2] common/build-style/python3-pep517: use absolute path for
 check temp dir

some tests change cwd which causes relative tmpdir to point to a non-existent
location
---
 common/build-style/python3-pep517.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/build-style/python3-pep517.sh b/common/build-style/python3-pep517.sh
index f34b05c2a550..f13046ea1968 100644
--- a/common/build-style/python3-pep517.sh
+++ b/common/build-style/python3-pep517.sh
@@ -20,7 +20,7 @@ do_check() {
 			make_install_target="dist/${wheelbase//-/_}-${version}-*-*-*.whl"
 		fi
 
-		local testdir="tmp/$(date +%s)"
+		local testdir="${wrksrc}/tmp/$(date +%s)"
 		python3 -m installer --destdir "${testdir}" \
 			${make_install_args} ${make_install_target}
 

From 34f67fdeb7c834e2254435eb47f7bd15be5545e5 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 7 May 2023 11:24:24 +0200
Subject: [PATCH 2/2] python3-trustme: update to 1.0.0.

---
 srcpkgs/python3-trustme/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-trustme/template b/srcpkgs/python3-trustme/template
index 99143bce7075..f0c672da5b2c 100644
--- a/srcpkgs/python3-trustme/template
+++ b/srcpkgs/python3-trustme/template
@@ -1,14 +1,15 @@
 # Template file for 'python3-trustme'
 pkgname=python3-trustme
-version=0.9.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=1.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
 depends="python3-cryptography python3-idna"
 checkdepends="python3-pytest python3-service_identity python3-openssl $depends"
 short_desc="Fake CA for testing"
 maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="GPL-3.0-or-later"
 homepage="https://trustme.rtfd.io/"
+changelog="https://github.com/python-trio/trustme/blob/master/docs/source/index.rst#change-history"
 distfiles="https://github.com/python-trio/trustme/archive/refs/tags/v$version.tar.gz"
-checksum=e9f2544bcc39583a62b5d39d9f0ce3da8528ee448911035a679f7ddb1edeab5e
+checksum=2cdfdd50081cb959a20d4878b631e7174593e926b9f8b87f2d5cabc3ca21c1ab

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

* Re: common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
  2023-05-07  9:27 [PR PATCH] common/build-style/python3-pep517: use absolute path for check temp dir + trustme update paper42
  2023-05-07  9:27 ` [PR PATCH] [Updated] " paper42
@ 2023-05-07 11:57 ` ahesford
  2023-05-07 14:28 ` [PR PATCH] [Merged]: " paper42
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2023-05-07 11:57 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/43784#issuecomment-1537421919

Comment:
Looks good to me

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

* Re: [PR PATCH] [Merged]: common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
  2023-05-07  9:27 [PR PATCH] common/build-style/python3-pep517: use absolute path for check temp dir + trustme update paper42
  2023-05-07  9:27 ` [PR PATCH] [Updated] " paper42
  2023-05-07 11:57 ` ahesford
@ 2023-05-07 14:28 ` paper42
  2 siblings, 0 replies; 4+ messages in thread
From: paper42 @ 2023-05-07 14:28 UTC (permalink / raw)
  To: ml

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

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

common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
https://github.com/void-linux/void-packages/pull/43784

Description:
some tests change cwd which causes relative tmpdir to point to a non-existent location, this PR also includes a trustme update which is affected by this

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

cc @ahesford @icp1994 

<!--
#### 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] 4+ messages in thread

end of thread, other threads:[~2023-05-07 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-07  9:27 [PR PATCH] common/build-style/python3-pep517: use absolute path for check temp dir + trustme update paper42
2023-05-07  9:27 ` [PR PATCH] [Updated] " paper42
2023-05-07 11:57 ` ahesford
2023-05-07 14:28 ` [PR PATCH] [Merged]: " paper42

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