]> git.pld-linux.org Git - packages/eric6.git/blobdiff - eric6.spec
- drop bad python3 detection
[packages/eric6.git] / eric6.spec
index c0a08cfde13c80bfdb4dbb445b8a2caadbd7ae50..f4477c578cf4dd664934df188204b257330b85c8 100644 (file)
@@ -1,16 +1,20 @@
 %bcond_with    python2 # Use python2 (NOTE: as for 17.03.1 it has issuses in PLD)
 
-%define        module  eric6
+# NOTE: Detlev Offenbach <detlev@die-offenbachs.de> (author) 2017/04/13 wrote:
+# "eric6 can be used with  Python2 or Python3 and with PyQt5 or PyQt4. 
+# However, the recommended combination is PyQt5 on Python3.
+
+%define                module  eric6
 Summary:       Eric6 - a full featured Python IDE
 Summary(pl.UTF-8):     Eric6 - pełnowartościowe IDE dla Pythona
-# Name must match the python module/package name (as on pypi or in 'import' statement)
 Name:          eric6
-Version:       17.03.1
-Release:       1.1
+Version:       17.07
+Release:       7
 License:       GPL v3
 Group:         Libraries/Python
 Source0:       https://sourceforge.net/projects/eric-ide/files/eric6/stable/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 4e56a985387cceed981db1ba2579183b
+# Source0-md5: c21c097bf36259ff61187e2698b7c50d
+Patch0:                python3.patch
 URL:           http://eric-ide.python-projects.org/index.html
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -18,7 +22,7 @@ BuildRequires:        rpmbuild(macros) >= 1.714
 BuildRequires: python-modules
 BuildRequires: python-setuptools
 # NOTE: As for 6.1.8  eric6 still tries to import PyQt5 while having PyQt4 leading to crash
-#      http://die-offenbachs.homelinux.org:48888/issues/issue204
+#      http://die-offenbachs.homelinux.org:48888/issues/issue204
 # for --pyqt=4
 # BuildRequires:       python-PyQt4-qscintilla2
 # BuildRequires:       python-PyQt4-uic
@@ -55,6 +59,7 @@ używającym PyQt i QScintilla.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
This page took 0.056318 seconds and 4 git commands to generate.