[arch-commits] Commit in python-sympy/repos/community-any (4 files)

Antonio Rojas arojas at gemini.archlinux.org
Tue Aug 30 19:48:38 UTC 2022


    Date: Tuesday, August 30, 2022 @ 19:48:37
  Author: arojas
Revision: 1288989

archrelease: copy trunk to community-any

Added:
  python-sympy/repos/community-any/PKGBUILD
    (from rev 1288987, python-sympy/trunk/PKGBUILD)
  python-sympy/repos/community-any/sympy-python-3.10.patch
    (from rev 1288987, 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-08-30 19:48:35 UTC (rev 1288988)
+++ PKGBUILD	2022-08-30 19:48:37 UTC (rev 1288989)
@@ -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.11
-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=('4ecebe3ed363c0ccc365df0b7ffbafdde7d8a3012feda4e9c4b54b77f4b73b46cac949070d0e7ddd2ec350c18eb54a11f6abd6cd40e476eed0f1ded18c99fc09')
-
-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 1288987, python-sympy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 19:48:37 UTC (rev 1288989)
@@ -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.11.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=('6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a')
+
+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-08-30 19:48:35 UTC (rev 1288988)
+++ sympy-python-3.10.patch	2022-08-30 19:48:37 UTC (rev 1288989)
@@ -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 1288987, python-sympy/trunk/sympy-python-3.10.patch)
===================================================================
--- sympy-python-3.10.patch	                        (rev 0)
+++ sympy-python-3.10.patch	2022-08-30 19:48:37 UTC (rev 1288989)
@@ -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