From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] common/build-style/python3-pep517: use absolute path for check temp dir + trustme update
Date: Sun, 07 May 2023 11:27:57 +0200 [thread overview]
Message-ID: <20230507092757.mk4XMqAtPmUh7znQODknSlm4CoucQfJp2dXps_iVaj4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43784@inbox.vuxu.org>
[-- 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
next prev parent reply other threads:[~2023-05-07 9:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-07 9:27 [PR PATCH] " paper42
2023-05-07 9:27 ` paper42 [this message]
2023-05-07 11:57 ` ahesford
2023-05-07 14:28 ` [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=20230507092757.mk4XMqAtPmUh7znQODknSlm4CoucQfJp2dXps_iVaj4@z \
--to=paper42@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).