Date: Thursday, May 11, 2023 @ 07:34:46
  Author: arojas
Revision: 1459888

archrelease: copy trunk to community-any

Added:
  python-sympy/repos/community-any/PKGBUILD
    (from rev 1459887, python-sympy/trunk/PKGBUILD)
Deleted:
  python-sympy/repos/community-any/PKGBUILD
  python-sympy/repos/community-any/sympy-python-3.10.patch

-------------------------+
 PKGBUILD                |   74 +++++++++++++++++++++++-----------------------
 sympy-python-3.10.patch |   26 ----------------
 2 files changed, 37 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-11 07:34:36 UTC (rev 1459887)
+++ PKGBUILD    2023-05-11 07:34:46 UTC (rev 1459888)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Stéphane Gaudreault <[email protected]>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>  
-# Contributor: Peter Garceau <[email protected]>
-
-pkgname=python-sympy
-pkgver=1.11.1
-pkgrel=2
-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
-}

Copied: python-sympy/repos/community-any/PKGBUILD (from rev 1459887, 
python-sympy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-11 07:34:46 UTC (rev 1459888)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Stéphane Gaudreault <[email protected]>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>  
+# Contributor: Peter Garceau <[email protected]>
+
+pkgname=python-sympy
+pkgver=1.12
+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=('96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360')
+
+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     2023-05-11 07:34:36 UTC (rev 1459887)
+++ sympy-python-3.10.patch     2023-05-11 07:34:46 UTC (rev 1459888)
@@ -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)
-

Reply via email to