Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-bcrypt: update to 4.0.1.
@ 2023-07-07 12:49 Bnyro
  2023-07-07 12:57 ` [PR PATCH] [Updated] " Bnyro
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bnyro @ 2023-07-07 12:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Bnyro/void-packages python3-bcrypt
https://github.com/void-linux/void-packages/pull/44911

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl



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

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

From 60c5064b734c453b7185ef1be143f2928d33fb0b Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Fri, 7 Jul 2023 14:48:32 +0200
Subject: [PATCH] python3-bcrypt: update to 4.0.1.

---
 srcpkgs/python3-bcrypt/template | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-bcrypt/template b/srcpkgs/python3-bcrypt/template
index 869fe684ce2f..9be291ba9955 100644
--- a/srcpkgs/python3-bcrypt/template
+++ b/srcpkgs/python3-bcrypt/template
@@ -1,10 +1,11 @@
 # Template file for 'python3-bcrypt'
 pkgname=python3-bcrypt
-version=3.2.2
+version=4.0.1
 revision=1
 build_style=python3-pep517
-hostmakedepends="python3-setuptools python3-wheel python3-cffi"
-makedepends="python3-devel"
+build_helper="rust"
+hostmakedepends="python3-setuptools python3-setuptools-rust python3-wheel python3-cffi rust cargo"
+makedepends="python3-devel rust-std"
 depends="python3-cffi"
 checkdepends="python3-pytest $depends"
 short_desc="Modern password hashing for software and servers"
@@ -13,4 +14,10 @@ license="Apache-2.0"
 homepage="https://github.com/pyca/bcrypt"
 changelog="https://github.com/pyca/bcrypt/blob/main/README.rst#changelog"
 distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
-checksum=433c410c2177057705da2a9f2cd01dd157493b2a7ac14c8593a16b3dab6b6bfb
+checksum=27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" rust-std"
+	export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+	export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+fi

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

* Re: [PR PATCH] [Updated] python3-bcrypt: update to 4.0.1.
  2023-07-07 12:49 [PR PATCH] python3-bcrypt: update to 4.0.1 Bnyro
@ 2023-07-07 12:57 ` Bnyro
  2023-07-07 19:26 ` [PR REVIEW] " icp1994
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Bnyro @ 2023-07-07 12:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Bnyro/void-packages python3-bcrypt
https://github.com/void-linux/void-packages/pull/44911

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl



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

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

From 8d3584959f2920bbb10a023c671e3c9cd658143b Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Fri, 7 Jul 2023 14:57:48 +0200
Subject: [PATCH] python3-bcrypt: update to 4.0.1.

---
 srcpkgs/python3-bcrypt/template | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-bcrypt/template b/srcpkgs/python3-bcrypt/template
index 869fe684ce2f..526475773fe7 100644
--- a/srcpkgs/python3-bcrypt/template
+++ b/srcpkgs/python3-bcrypt/template
@@ -1,9 +1,10 @@
 # Template file for 'python3-bcrypt'
 pkgname=python3-bcrypt
-version=3.2.2
+version=4.0.1
 revision=1
 build_style=python3-pep517
-hostmakedepends="python3-setuptools python3-wheel python3-cffi"
+build_helper="rust"
+hostmakedepends="python3-setuptools python3-setuptools-rust python3-wheel python3-cffi rust cargo"
 makedepends="python3-devel"
 depends="python3-cffi"
 checkdepends="python3-pytest $depends"
@@ -13,4 +14,10 @@ license="Apache-2.0"
 homepage="https://github.com/pyca/bcrypt"
 changelog="https://github.com/pyca/bcrypt/blob/main/README.rst#changelog"
 distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
-checksum=433c410c2177057705da2a9f2cd01dd157493b2a7ac14c8593a16b3dab6b6bfb
+checksum=27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" rust-std"
+	export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+	export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+fi

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

* Re: [PR REVIEW] python3-bcrypt: update to 4.0.1.
  2023-07-07 12:49 [PR PATCH] python3-bcrypt: update to 4.0.1 Bnyro
  2023-07-07 12:57 ` [PR PATCH] [Updated] " Bnyro
@ 2023-07-07 19:26 ` icp1994
  2023-07-08 11:42 ` [PR PATCH] [Updated] " Bnyro
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: icp1994 @ 2023-07-07 19:26 UTC (permalink / raw)
  To: ml

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

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/44911#discussion_r1256352627

Comment:
```suggestion
hostmakedepends="python3-setuptools-rust python3-wheel python3-cffi cargo"
```
these two are transitively included via setuptools-rust & cargo respectively.

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

* Re: [PR PATCH] [Updated] python3-bcrypt: update to 4.0.1.
  2023-07-07 12:49 [PR PATCH] python3-bcrypt: update to 4.0.1 Bnyro
  2023-07-07 12:57 ` [PR PATCH] [Updated] " Bnyro
  2023-07-07 19:26 ` [PR REVIEW] " icp1994
@ 2023-07-08 11:42 ` Bnyro
  2023-07-08 11:42 ` [PR REVIEW] " Bnyro
  2023-07-09  7:21 ` [PR PATCH] [Merged]: " classabbyamp
  4 siblings, 0 replies; 6+ messages in thread
From: Bnyro @ 2023-07-08 11:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Bnyro/void-packages python3-bcrypt
https://github.com/void-linux/void-packages/pull/44911

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl



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

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

From f98a9d8a41554e51e8f2e5425e835dbf61b33fcd Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Sat, 8 Jul 2023 13:42:44 +0200
Subject: [PATCH] python3-bcrypt: update to 4.0.1.

---
 srcpkgs/python3-bcrypt/template | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-bcrypt/template b/srcpkgs/python3-bcrypt/template
index 869fe684ce2f..f70c39db3e28 100644
--- a/srcpkgs/python3-bcrypt/template
+++ b/srcpkgs/python3-bcrypt/template
@@ -1,9 +1,10 @@
 # Template file for 'python3-bcrypt'
 pkgname=python3-bcrypt
-version=3.2.2
+version=4.0.1
 revision=1
 build_style=python3-pep517
-hostmakedepends="python3-setuptools python3-wheel python3-cffi"
+build_helper="rust"
+hostmakedepends="python3-setuptools-rust python3-wheel python3-cffi cargo"
 makedepends="python3-devel"
 depends="python3-cffi"
 checkdepends="python3-pytest $depends"
@@ -13,4 +14,10 @@ license="Apache-2.0"
 homepage="https://github.com/pyca/bcrypt"
 changelog="https://github.com/pyca/bcrypt/blob/main/README.rst#changelog"
 distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
-checksum=433c410c2177057705da2a9f2cd01dd157493b2a7ac14c8593a16b3dab6b6bfb
+checksum=27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" rust-std"
+	export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+	export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+fi

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

* Re: [PR REVIEW] python3-bcrypt: update to 4.0.1.
  2023-07-07 12:49 [PR PATCH] python3-bcrypt: update to 4.0.1 Bnyro
                   ` (2 preceding siblings ...)
  2023-07-08 11:42 ` [PR PATCH] [Updated] " Bnyro
@ 2023-07-08 11:42 ` Bnyro
  2023-07-09  7:21 ` [PR PATCH] [Merged]: " classabbyamp
  4 siblings, 0 replies; 6+ messages in thread
From: Bnyro @ 2023-07-08 11:42 UTC (permalink / raw)
  To: ml

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

New review comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/44911#discussion_r1257241171

Comment:
makes sense, thanks

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

* Re: [PR PATCH] [Merged]: python3-bcrypt: update to 4.0.1.
  2023-07-07 12:49 [PR PATCH] python3-bcrypt: update to 4.0.1 Bnyro
                   ` (3 preceding siblings ...)
  2023-07-08 11:42 ` [PR REVIEW] " Bnyro
@ 2023-07-09  7:21 ` classabbyamp
  4 siblings, 0 replies; 6+ messages in thread
From: classabbyamp @ 2023-07-09  7:21 UTC (permalink / raw)
  To: ml

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

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

python3-bcrypt: update to 4.0.1.
https://github.com/void-linux/void-packages/pull/44911

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl



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

end of thread, other threads:[~2023-07-09  7:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-07 12:49 [PR PATCH] python3-bcrypt: update to 4.0.1 Bnyro
2023-07-07 12:57 ` [PR PATCH] [Updated] " Bnyro
2023-07-07 19:26 ` [PR REVIEW] " icp1994
2023-07-08 11:42 ` [PR PATCH] [Updated] " Bnyro
2023-07-08 11:42 ` [PR REVIEW] " Bnyro
2023-07-09  7:21 ` [PR PATCH] [Merged]: " classabbyamp

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