Commit Graph

14 Commits

Author SHA256 Message Date
Ana Guerrero
9092a1f7ae Accepting request 1141363 from devel:languages:python:numeric
- Add patch support-python-312.patch:
  * Support Python 3.12 changes.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1141363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=8
2024-01-25 17:41:22 +00:00
Steve Kowalik
90ccb37cc9 - Add patch support-python-312.patch:
* Support Python 3.12 changes.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gmpy2?expand=0&rev=14
2024-01-25 01:42:28 +00:00
Ana Guerrero
8316bd4b3e Accepting request 1114012 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1114012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=7
2023-10-01 19:22:14 +00:00
caf35f280d Accepting request 1113864 from home:ecsos:python
- Fix build error "patch defined multiple times" for Leap.

OBS-URL: https://build.opensuse.org/request/show/1113864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gmpy2?expand=0&rev=12
2023-09-28 07:41:25 +00:00
Dominique Leuenberger
617ccba342 Accepting request 1112318 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1112318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=6
2023-09-20 11:30:19 +00:00
836e8461e7 Accepting request 1112207 from home:mcalabkova:branches:devel:languages:python:numeric
- Add upstream mpfr421.patch and gmpy2_cache.c.diff to fix build
  with mpfr 4.2.1

OBS-URL: https://build.opensuse.org/request/show/1112207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gmpy2?expand=0&rev=10
2023-09-19 14:34:13 +00:00
Dominique Leuenberger
7d7882775e Accepting request 1092254 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1092254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=5
2023-06-11 17:55:58 +00:00
31f9570d48 Accepting request 1092098 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gmpy2?expand=0&rev=8
2023-06-11 11:43:55 +00:00
Dominique Leuenberger
f7d54f82e1 Accepting request 1078563 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1078563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=4
2023-04-12 10:52:22 +00:00
Steve Kowalik
7b491a6522 Accepting request 1077928 from home:jengelh:branches:devel:languages:python:numeric
- Remove unused build dependency on mpir (gmp was used anyway)

OBS-URL: https://build.opensuse.org/request/show/1077928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gmpy2?expand=0&rev=6
2023-04-12 05:57:09 +00:00
Dominique Leuenberger
d1b642b1d8 Accepting request 1056281 from devel:languages:python:numeric
- update to gmpy2-2.1.5:
  * Final (?) release of the 2.1.x series. No code changes since 2.1.3.
    Fixes to build Apple Silicon binary builds are the only changes since
  * Latest release with minor bug fixes and support for Python 3.11

OBS-URL: https://build.opensuse.org/request/show/1056281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=3
2023-01-06 16:05:48 +00:00
10246b9204 - update to gmpy2-2.1.5:
* Final (?) release of the 2.1.x series. No code changes since 2.1.3.
    Fixes to build Apple Silicon binary builds are the only changes since
  * Latest release with minor bug fixes and support for Python 3.11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-gmpy2?expand=0&rev=4
2023-01-05 21:06:11 +00:00
Dominique Leuenberger
fade7abf5c Accepting request 956270 from devel:languages:python:numeric
- Update to 2.1.2: 
  * Allow GIL release for mpz/xmpz/mpq types only.
  * Improve argument type processing by saving type information to
    decrease the number of type check calls. Especially helpful for mpfr and mpc types.
  * Avoid MPFR bug in mfr_fac_ui (gmpy2.factorial) on platforms where
        long is 32-bits and argument is >= 44787929.
  * Adjust test suite to reflect changes in output in MPFR 4.1.0.
  * Added cmp() and cmp_abs().
  * Improved compatibility with _numbers_ protocol.
  * Initial support for MPFR4
    + Add nrandom()
    + grandom() now calls nrandom twice; may return different values versus MPFR3
    + Add rootn(); same as root() except different sign when taking even root of -0.0
  * Thread-safe contexts are now supported. Properly integrating thread-safe contexts required
    an extensive rewrite of almost all internal functions.
  * MPFR and MPC are now required. It is no longer possible to build a version of gmpy2 that
    only supports the GMP library.
  * The function inverse() now raises an exception if the inverse does not exist.
  * Context methods have been added for MPFR/MPC related functions.
  * A new context option (rational_division) has been added that changes the behavior of
    integer division involving mpz instances to return a rational result instead of a
    floating point result.
  * gmpy2 types are now registered in the numeric tower.
- Remove unzip BuildRequires, as upstream has switched to tarballs.

OBS-URL: https://build.opensuse.org/request/show/956270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=2
2022-02-21 16:46:39 +00:00
Dominique Leuenberger
e9d45451fe Accepting request 612069 from devel:languages:python
GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3x

OBS-URL: https://build.opensuse.org/request/show/612069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gmpy2?expand=0&rev=1
2018-06-02 10:03:49 +00:00