Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python3-zstandard-0.15.0
@ 2021-12-31  0:23 unspecd
  2021-12-31  0:43 ` unspecd
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: unspecd @ 2021-12-31  0:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/unspecd/void-packages pkg/python3-zstandard
https://github.com/void-linux/void-packages/pull/34777

New package: python3-zstandard-0.15.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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/34777.patch is attached

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

From 6706ef432021c609dcf7df511ec6f7b1d2fd46cc Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH] New package: python3-zstandard-0.15.0

---
 srcpkgs/python3-zstandard/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..116839ff76fe
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.0
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+# TODO: build error
+# make_build_args="--system-zstd"
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel libzstd-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5d5a2908e329d599933e3a6d3437506a7141bffbfdca98d8734fc9f1d5314bde
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: python3-zstandard-0.15.0
  2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
@ 2021-12-31  0:43 ` unspecd
  2021-12-31 11:18 ` Johnnynator
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: unspecd @ 2021-12-31  0:43 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34777#issuecomment-1003224941

Comment:
Here is the error when building with `make_build_args="--system-zstd"`:
```
c-ext/constants.c:78:50: error: 'ZSTD_HASHLOG3_MAX' undeclared (first use in this function); did you mean 'ZSTD_HASHLOG_MAX'?
   78 |     PyModule_AddIntConstant(mod, "HASHLOG3_MAX", ZSTD_HASHLOG3_MAX);
      |                                                  ^~~~~~~~~~~~~~~~~
      |                                                  ZSTD_HASHLOG_MAX
```
```console
$ grep ZSTD_HASHLOG3_MAX /usr/include/z*
(empty)
```

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

* Re: New package: python3-zstandard-0.15.0
  2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
  2021-12-31  0:43 ` unspecd
@ 2021-12-31 11:18 ` Johnnynator
  2021-12-31 16:04 ` [PR PATCH] [Updated] " unspecd
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2021-12-31 11:18 UTC (permalink / raw)
  To: ml

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

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/34777#issuecomment-1003349877

Comment:
`ZSTD_HASHLOG3_MAX` was moved to private namespace with the release of 1.5.1 https://github.com/facebook/zstd/commit/2de42174bb8a5d22b427368b991c2dc07e5042bf 

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

* Re: [PR PATCH] [Updated] New package: python3-zstandard-0.15.0
  2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
  2021-12-31  0:43 ` unspecd
  2021-12-31 11:18 ` Johnnynator
@ 2021-12-31 16:04 ` unspecd
  2021-12-31 17:16 ` [PR PATCH] [Updated] New package: python3-zstandard-0.15.2 unspecd
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: unspecd @ 2021-12-31 16:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/unspecd/void-packages pkg/python3-zstandard
https://github.com/void-linux/void-packages/pull/34777

New package: python3-zstandard-0.15.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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/34777.patch is attached

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

From ba3a362adbeacd5ac00027804271c3e072589ca5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..516df45b15ef
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+# TODO: build error
+# make_build_args="--system-zstd"
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel libzstd-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: python3-zstandard-0.15.2
  2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
                   ` (2 preceding siblings ...)
  2021-12-31 16:04 ` [PR PATCH] [Updated] " unspecd
@ 2021-12-31 17:16 ` unspecd
  2021-12-31 17:39 ` unspecd
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: unspecd @ 2021-12-31 17:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/unspecd/void-packages pkg/python3-zstandard
https://github.com/void-linux/void-packages/pull/34777

New package: python3-zstandard-0.15.2
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/34777.patch is attached

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

From 5c1b6f2081c8b00849f07c5df84a3c6c0b432fc4 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..842402b29e1d
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis python3-pytest"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+	# Ths skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	make_check_args+=" -k not(test_estimated_compression_context_size)"
+fi
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: python3-zstandard-0.15.2
  2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
                   ` (3 preceding siblings ...)
  2021-12-31 17:16 ` [PR PATCH] [Updated] New package: python3-zstandard-0.15.2 unspecd
@ 2021-12-31 17:39 ` unspecd
  2021-12-31 17:49 ` unspecd
  2022-01-01 21:14 ` [PR PATCH] [Closed]: " unspecd
  6 siblings, 0 replies; 8+ messages in thread
From: unspecd @ 2021-12-31 17:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/unspecd/void-packages pkg/python3-zstandard
https://github.com/void-linux/void-packages/pull/34777

New package: python3-zstandard-0.15.2
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/34777.patch is attached

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

From 1d9c2c78cddac6ea421fa6ca441475d48fefce1d Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..d3cd173b53e1
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: python3-zstandard-0.15.2
  2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
                   ` (4 preceding siblings ...)
  2021-12-31 17:39 ` unspecd
@ 2021-12-31 17:49 ` unspecd
  2022-01-01 21:14 ` [PR PATCH] [Closed]: " unspecd
  6 siblings, 0 replies; 8+ messages in thread
From: unspecd @ 2021-12-31 17:49 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34777#issuecomment-1003426293

Comment:
> python-zstandard is only guaranteed to work with the bundled of zstd

https://github.com/indygreg/python-zstandard/blob/0.15.2/c-ext/backend_c.c#L137-L151.

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

* Re: [PR PATCH] [Closed]: New package: python3-zstandard-0.15.2
  2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
                   ` (5 preceding siblings ...)
  2021-12-31 17:49 ` unspecd
@ 2022-01-01 21:14 ` unspecd
  6 siblings, 0 replies; 8+ messages in thread
From: unspecd @ 2022-01-01 21:14 UTC (permalink / raw)
  To: ml

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

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

New package: python3-zstandard-0.15.2
https://github.com/void-linux/void-packages/pull/34777

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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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] 8+ messages in thread

end of thread, other threads:[~2022-01-01 21:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31  0:23 [PR PATCH] New package: python3-zstandard-0.15.0 unspecd
2021-12-31  0:43 ` unspecd
2021-12-31 11:18 ` Johnnynator
2021-12-31 16:04 ` [PR PATCH] [Updated] " unspecd
2021-12-31 17:16 ` [PR PATCH] [Updated] New package: python3-zstandard-0.15.2 unspecd
2021-12-31 17:39 ` unspecd
2021-12-31 17:49 ` unspecd
2022-01-01 21:14 ` [PR PATCH] [Closed]: " unspecd

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