On 12.03.2021 00:32, baggins wrote:
commit a7afb2642f193eb728569b130fd57bdc8acadd02
Author: Jan Rękorajski <bagg...@pld-linux.org>
Date:   Thu Mar 11 23:32:30 2021 +0100

     - up to 1.7.1, python 2 no longer supported

  python-sympy-nodisplay.patch | 25 -------------------------
  python-sympy.spec            |  8 +++-----
  2 files changed, 3 insertions(+), 30 deletions(-)
---
diff --git a/python-sympy.spec b/python-sympy.spec
index cb6d2e4..6c9214c 100644
--- a/python-sympy.spec
+++ b/python-sympy.spec
@@ -2,20 +2,19 @@
  # Conditional build:
  %bcond_without        doc     # HTML and PDF documentation
  %bcond_without        tests   # unit tests
-%bcond_without python2 # CPython 2.x module
+%bcond_with    python2 # CPython 2.x module
  %bcond_without        python3 # CPython 3.x module

i agree with what qboosh has been doing in this cases:

1. git ssh copy python-foo to python3-foo

2. update python3-foo to be python3 only

3. update python3-foo to new version, stb

4. disable python3 from python-foo, relup, stb


it takes extra steps to do that, but i think it's worth the effort in long term.

it's weird to have python-foo to build python3-foo,
and the python3-foo will be cleaner without having to support two python versions.


ps;

git ssh seems to be my alias in git config:


```

[alias]
    ssh = !ssh g...@git.pld-linux.org

```


_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to