Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] primecount: update to 7.7.
@ 2023-03-26 23:14 tornaria
  2023-03-27 22:28 ` classabbyamp
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tornaria @ 2023-03-26 23:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tornaria/void-packages primecount
https://github.com/void-linux/void-packages/pull/43040

primecount: update to 7.7.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

This is a very minor update to fix the following:
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(-1))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "primecountpy/primecount.pyx", line 25, in primecountpy.primecount.prime_pi
  File "primecountpy/primecount.pyx", line 47, in primecountpy.primecount.prime_pi
cysignals.signals.SignalError: Bus error
```

After the update
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(-1))'
0
```

We can now sleep in the comfort that such an important calculation can be done in void linux with success.

As expected, other values of `π(x)` are still ok and quick:
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(1_000_000_000_000))'
37607912018
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(1_000_000_000_000_000))'
29844570422669
```

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

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

From 1d1dc7d6b2a42d4318213bc6da56a63771070562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 26 Mar 2023 20:02:30 -0300
Subject: [PATCH] primecount: update to 7.7.

---
 srcpkgs/primecount/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/primecount/template b/srcpkgs/primecount/template
index edb32b61d1c9..52b84774ad83 100644
--- a/srcpkgs/primecount/template
+++ b/srcpkgs/primecount/template
@@ -1,6 +1,6 @@
 # Template file for 'primecount'
 pkgname=primecount
-version=7.6
+version=7.7
 revision=1
 build_style=cmake
 configure_args="-DBUILD_TESTS=ON -DBUILD_LIBPRIMESIEVE=OFF
@@ -12,7 +12,7 @@ license="BSD-2-Clause"
 homepage="https://github.com/kimwalisch/primecount/"
 changelog="https://raw.githubusercontent.com/kimwalisch/primecount/master/ChangeLog"
 distfiles="https://github.com/kimwalisch/primecount/archive/refs/tags/v${version}.tar.gz"
-checksum=e9a1fa2c41b9a7b84f2bead21b53cc9f7e2a5a0a34ddd818431a4e789aa44230
+checksum=b12ca96f9ad89b4fa328d1495bcb121a6320d2eda51108b71eefce7547a11a1a
 
 build_options="native_build"
 

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

* Re: primecount: update to 7.7.
  2023-03-26 23:14 [PR PATCH] primecount: update to 7.7 tornaria
@ 2023-03-27 22:28 ` classabbyamp
  2023-03-28 13:34 ` [PR PATCH] [Updated] " tornaria
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-03-27 22:28 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/43040#issuecomment-1485945158

Comment:
7.8 is available

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

* Re: [PR PATCH] [Updated] primecount: update to 7.7.
  2023-03-26 23:14 [PR PATCH] primecount: update to 7.7 tornaria
  2023-03-27 22:28 ` classabbyamp
@ 2023-03-28 13:34 ` tornaria
  2023-03-28 14:41 ` primecount: update to 7.8 tornaria
  2023-03-28 15:30 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: tornaria @ 2023-03-28 13:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tornaria/void-packages primecount
https://github.com/void-linux/void-packages/pull/43040

primecount: update to 7.7.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

This is a very minor update to fix the following:
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(-1))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "primecountpy/primecount.pyx", line 25, in primecountpy.primecount.prime_pi
  File "primecountpy/primecount.pyx", line 47, in primecountpy.primecount.prime_pi
cysignals.signals.SignalError: Bus error
```

After the update
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(-1))'
0
```

We can now sleep in the comfort that such an important calculation can be done in void linux with success.

As expected, other values of `π(x)` are still ok and quick:
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(1_000_000_000_000))'
37607912018
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(1_000_000_000_000_000))'
29844570422669
```

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

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

From 14555f1ca0eed7720378ba7c2d7107e059868ff0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 26 Mar 2023 20:02:30 -0300
Subject: [PATCH] primecount: update to 7.8.

---
 srcpkgs/primecount/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/primecount/template b/srcpkgs/primecount/template
index edb32b61d1c9..4f698b1e2169 100644
--- a/srcpkgs/primecount/template
+++ b/srcpkgs/primecount/template
@@ -1,6 +1,6 @@
 # Template file for 'primecount'
 pkgname=primecount
-version=7.6
+version=7.8
 revision=1
 build_style=cmake
 configure_args="-DBUILD_TESTS=ON -DBUILD_LIBPRIMESIEVE=OFF
@@ -12,7 +12,7 @@ license="BSD-2-Clause"
 homepage="https://github.com/kimwalisch/primecount/"
 changelog="https://raw.githubusercontent.com/kimwalisch/primecount/master/ChangeLog"
 distfiles="https://github.com/kimwalisch/primecount/archive/refs/tags/v${version}.tar.gz"
-checksum=e9a1fa2c41b9a7b84f2bead21b53cc9f7e2a5a0a34ddd818431a4e789aa44230
+checksum=7588b241cd268f4cc6c836135088a143ca65c181278ee0ba3b3309ac055d5ae8
 
 build_options="native_build"
 

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

* Re: primecount: update to 7.8.
  2023-03-26 23:14 [PR PATCH] primecount: update to 7.7 tornaria
  2023-03-27 22:28 ` classabbyamp
  2023-03-28 13:34 ` [PR PATCH] [Updated] " tornaria
@ 2023-03-28 14:41 ` tornaria
  2023-03-28 15:30 ` [PR PATCH] [Merged]: " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: tornaria @ 2023-03-28 14:41 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/43040#issuecomment-1487023805

Comment:
> 7.8 is available

It's ready now, thanks.

They fixed the same bug for `int128_t`. I didn't try it but they added tests so I assume it's ok.


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

* Re: [PR PATCH] [Merged]: primecount: update to 7.8.
  2023-03-26 23:14 [PR PATCH] primecount: update to 7.7 tornaria
                   ` (2 preceding siblings ...)
  2023-03-28 14:41 ` primecount: update to 7.8 tornaria
@ 2023-03-28 15:30 ` classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-03-28 15:30 UTC (permalink / raw)
  To: ml

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

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

primecount: update to 7.8.
https://github.com/void-linux/void-packages/pull/43040

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

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

This is a very minor update to fix the following:
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(-1))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "primecountpy/primecount.pyx", line 25, in primecountpy.primecount.prime_pi
  File "primecountpy/primecount.pyx", line 47, in primecountpy.primecount.prime_pi
cysignals.signals.SignalError: Bus error
```

After the update
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(-1))'
0
```

We can now sleep in the comfort that such an important calculation can be done in void linux with success.

As expected, other values of `π(x)` are still ok and quick:
```
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(1_000_000_000_000))'
37607912018
$ python -c 'from primecountpy.primecount import prime_pi ; print(prime_pi(1_000_000_000_000_000))'
29844570422669
```

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

end of thread, other threads:[~2023-03-28 15:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-26 23:14 [PR PATCH] primecount: update to 7.7 tornaria
2023-03-27 22:28 ` classabbyamp
2023-03-28 13:34 ` [PR PATCH] [Updated] " tornaria
2023-03-28 14:41 ` primecount: update to 7.8 tornaria
2023-03-28 15:30 ` [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).