[arch-commits] Commit in python-sympy/repos/community-any (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Mar 19 23:52:07 UTC 2022
Date: Saturday, March 19, 2022 @ 23:52:07
Author: arojas
Revision: 1162968
archrelease: copy trunk to community-any
Added:
python-sympy/repos/community-any/PKGBUILD
(from rev 1162967, python-sympy/trunk/PKGBUILD)
python-sympy/repos/community-any/sympy-python-3.10.patch
(from rev 1162967, python-sympy/trunk/sympy-python-3.10.patch)
Deleted:
python-sympy/repos/community-any/PKGBUILD
python-sympy/repos/community-any/sympy-python-3.10.patch
-------------------------+
PKGBUILD | 74 +++++++++++++++++++++++-----------------------
sympy-python-3.10.patch | 52 ++++++++++++++++----------------
2 files changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-19 23:51:54 UTC (rev 1162967)
+++ PKGBUILD 2022-03-19 23:52:07 UTC (rev 1162968)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-# Contributor: Peter Garceau <RockyChimp at gmail.com>
-
-pkgname=python-sympy
-pkgver=1.10
-pkgrel=1
-arch=('any')
-pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
-url='https://sympy.org/en/index.html'
-license=('BSD')
-depends=('python-mpmath')
-optdepends=('ipython: user friendly interface for isympy'
- 'python-symengine: optimized backend, set USE_SYMENGINE=1 to use')
-makedepends=('python-setuptools')
-source=("https://github.com/sympy/sympy/archive/sympy-$pkgver/sympy-$pkgver.tar.gz")
-sha512sums=('0107c68b38809fbcec597339447fa830a9cb3c55863799c41dfb5d122ac7564fdf7c685fe2eedaaa3b8d5c9160b196ef2484fff4c7e99aa17a5a562f3fb73be5')
-
-build() {
- cd sympy-sympy-$pkgver
- python setup.py build
-}
-
-check() {
- cd sympy-sympy-$pkgver
- python bin/test
-}
-
-package() {
- cd sympy-sympy-$pkgver
-
- python setup.py install --root "$pkgdir" --optimize=1
-
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-sympy/repos/community-any/PKGBUILD (from rev 1162967, python-sympy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-19 23:52:07 UTC (rev 1162968)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: Peter Garceau <RockyChimp at gmail.com>
+
+pkgname=python-sympy
+pkgver=1.10.1
+pkgrel=1
+arch=('any')
+pkgdesc='Symbolic manipulation package (Computer Algebra System), written in pure Python'
+url='https://sympy.org/en/index.html'
+license=('BSD')
+depends=('python-mpmath')
+optdepends=('ipython: user friendly interface for isympy'
+ 'python-symengine: optimized backend, set USE_SYMENGINE=1 to use')
+makedepends=('python-setuptools')
+source=("https://github.com/sympy/sympy/archive/sympy-$pkgver/sympy-$pkgver.tar.gz")
+sha512sums=('7b6d5718826951bb1e477a78c3de8b95b8edda103981ad03c9f0da125ad35d72d8e5b5716d478ac4f00810939f1dc35786cc2e0a6b75cffb098cc1be9d8f7168')
+
+build() {
+ cd sympy-sympy-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd sympy-sympy-$pkgver
+ python bin/test
+}
+
+package() {
+ cd sympy-sympy-$pkgver
+
+ python setup.py install --root "$pkgdir" --optimize=1
+
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Deleted: sympy-python-3.10.patch
===================================================================
--- sympy-python-3.10.patch 2022-03-19 23:51:54 UTC (rev 1162967)
+++ sympy-python-3.10.patch 2022-03-19 23:52:07 UTC (rev 1162968)
@@ -1,26 +0,0 @@
---- a/sympy/external/tests/test_pythonmpq.py 2021-09-30 16:23:28.000000000 -0600
-+++ b/sympy/external/tests/test_pythonmpq.py 2021-10-08 11:06:59.453830335 -0600
-@@ -42,7 +42,7 @@ def test_PythonMPQ():
- assert check_Q(Q(Q(3, 5))) == (3, 5)
- assert check_Q(Q(0.5)) == (1, 2)
- assert check_Q(Q('0.5')) == (1, 2)
-- assert check_Q(Q(Decimal('0.6'))) == (3, 5)
-+ assert check_Q(Q(str(Decimal('0.6')))) == (3, 5)
- assert check_Q(Q(Fraction(3, 5))) == (3, 5)
-
- # Invalid types
---- a/sympy/polys/ring_series.py 2021-09-30 16:23:28.000000000 -0600
-+++ b/sympy/polys/ring_series.py 2021-10-08 13:43:30.746068783 -0600
-@@ -989,6 +989,11 @@ def rs_nth_root(p, n, x, prec):
- except ValueError: # as exponent
- raise DomainError("The given series can't be expanded in "
- "this domain.")
-+ except TypeError:
-+ try:
-+ const = R(c**QQ(1, n))
-+ except ValueError:
-+ raise DomainError("The given series can't be expanded in this domain.")
- res = rs_nth_root(p/c, n, x, prec)*const
- else:
- res = _nth_root1(p, n, x, prec)
-
Copied: python-sympy/repos/community-any/sympy-python-3.10.patch (from rev 1162967, python-sympy/trunk/sympy-python-3.10.patch)
===================================================================
--- sympy-python-3.10.patch (rev 0)
+++ sympy-python-3.10.patch 2022-03-19 23:52:07 UTC (rev 1162968)
@@ -0,0 +1,26 @@
+--- a/sympy/external/tests/test_pythonmpq.py 2021-09-30 16:23:28.000000000 -0600
++++ b/sympy/external/tests/test_pythonmpq.py 2021-10-08 11:06:59.453830335 -0600
+@@ -42,7 +42,7 @@ def test_PythonMPQ():
+ assert check_Q(Q(Q(3, 5))) == (3, 5)
+ assert check_Q(Q(0.5)) == (1, 2)
+ assert check_Q(Q('0.5')) == (1, 2)
+- assert check_Q(Q(Decimal('0.6'))) == (3, 5)
++ assert check_Q(Q(str(Decimal('0.6')))) == (3, 5)
+ assert check_Q(Q(Fraction(3, 5))) == (3, 5)
+
+ # Invalid types
+--- a/sympy/polys/ring_series.py 2021-09-30 16:23:28.000000000 -0600
++++ b/sympy/polys/ring_series.py 2021-10-08 13:43:30.746068783 -0600
+@@ -989,6 +989,11 @@ def rs_nth_root(p, n, x, prec):
+ except ValueError: # as exponent
+ raise DomainError("The given series can't be expanded in "
+ "this domain.")
++ except TypeError:
++ try:
++ const = R(c**QQ(1, n))
++ except ValueError:
++ raise DomainError("The given series can't be expanded in this domain.")
+ res = rs_nth_root(p/c, n, x, prec)*const
+ else:
+ res = _nth_root1(p, n, x, prec)
+
More information about the arch-commits
mailing list