public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kdevelop-python] f43: update to 1.7.0-py3
@ 2026-07-04 11:13 Kevin Kofler
  0 siblings, 0 replies; only message in thread
From: Kevin Kofler @ 2026-07-04 11:13 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kdevelop-python
            Branch : f43
            Commit : 4905506ab74f7870b8013066ab384447401ec455
            Author : Kevin Kofler <Kevin@tigcc.ticalc.org>
            Date   : 2014-09-26T17:53:11+02:00
            Stats  : +23/-83 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/kdevelop-python/c/4905506ab74f7870b8013066ab384447401ec455?branch=f43

            Log:
            update to 1.7.0-py3

* Fri Sep 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.7.0-1.py3
- update to 1.7.0-py3
- specfile cleanups

---
diff --git a/.gitignore b/.gitignore
index b5e83b2..eda0eef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /kdev-python-v1.4.1.tar.bz2
+/kdev-python-1.7.0-py3.tar.xz

diff --git a/kdevelop-python-documentation-files.patch b/kdevelop-python-documentation-files.patch
deleted file mode 100644
index 73787bb..0000000
--- a/kdevelop-python-documentation-files.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-# This patch must be needed because Fedora Package builder tries to compile all of python files
-# into byte codes. There are some syntax errors in these files, so the package building process
-# will be failed without this patch.
---- documentation_files/__builtin_constants__.py	2012-11-25 11:03:33.000000000 +0200
-+++ documentation_files/__builtin_constants__.py	2012-12-02 13:31:01.041354577 +0200
-@@ -23,7 +23,7 @@ represent the absence of a value, as whe
- function.
- 
- """
--None = None
-+None
- """
- Special value which can be returned by the "rich comparison" special methods
- (:meth:`__eq__`, :meth:`__lt__`, and friends), to indicate that the comparison
-@@ -44,7 +44,7 @@ See also the :keyword:`assert` statement
- 
- 
- """
--__debug__ = None
-+__debug__ 
- """exit([code=None])
- 
- Objects that when printed, print a message like "Use quit() or Ctrl-D
-@@ -52,4 +52,4 @@ Objects that when printed, print a messa
- specified exit code.
- 
- """
--quitcode=None = None
-+quitcode = None
---- documentation_files/__builtin_types__.py	2012-11-25 11:03:33.000000000 +0200
-+++ documentation_files/__builtin_types__.py	2012-12-02 12:25:42.672213467 +0200
-@@ -44,7 +44,7 @@ class set:
- 		"""
- 		pass
- 		
--	def set"other(self, ():
-+	def set(self, other):
- 		"""
- 		Test whether the set is a true subset of *other*, that is,
- 		``set <= other and set != other``.
-@@ -60,7 +60,7 @@ class set:
- 		"""
- 		pass
- 		
--	def set"other(self, ():
-+	def set(self, other):
- 		"""
- 		Test whether the set is a true superset of *other*, that is, ``set >=
- 		other and set != other``.
---- documentation_files/subprocess.py	2012-11-25 11:03:33.000000000 +0200
-+++ documentation_files/subprocess.py	2012-12-02 13:42:02.566662067 +0200
-@@ -484,7 +484,7 @@ def check_call(ls=None, _l=None):
-        """
-   pass
- 
--def check_output(ls=None, _l=None, /dev/null=None):
-+def check_output(ls=None, _l=None, dev_null=None):
-   """ Run command with arguments and return its output as a byte string.
-   
-       If the exit code was non-zero it raises a CalledProcessError.  The

diff --git a/kdevelop-python.spec b/kdevelop-python.spec
index 4713e5d..acaa293 100644
--- a/kdevelop-python.spec
+++ b/kdevelop-python.spec
@@ -1,27 +1,27 @@
-Name:       kdevelop-python 
-Version:    1.4.1 
-Release:    5%{?dist}
+Name:       kdevelop-python
+Version:    1.7.0
+%global py3_suffix -py3
+%global py3_tag .py3
+Release:    1%{?py3_tag}%{?dist}
 License:    GPLv2
-Source0:    http://download.kde.org/stable/kdevelop/kdev-python/1.4.1/src/kdev-python-v1.4.1.tar.bz2 
-Patch0:     kdevelop-python-documentation-files.patch 
+%global kdevelop_version %(echo %{version} | sed -e 's/^1\./4./g')
+Source0:    http://download.kde.org/stable/kdevelop/%{kdevelop_version}/src/kdev-python-%{version}%{?py3_suffix}.tar.xz
 
-Summary:    Python Plugin for KDevelop 
-URL:        http://kdevelop.org
+Summary:    Python 3 Plugin for KDevelop
+URL:        https://www.kdevelop.org/
 
-Requires:       kdevelop
+BuildRequires:  kdelibs4-devel
+BuildRequires:  kdevplatform-devel >= %{version}
+BuildRequires:  python3-devel >= 3.4
+BuildRequires:  gettext
 
-BuildRequires:  kdevplatform-devel
-BuildRequires:  kdevelop-devel 
-BuildRequires:  kdevelop-pg-qt-devel
-BuildRequires:  python2-devel
+Requires:       kdevelop = 9:%{kdevelop_version}
 
 %description
-Python language support for KDevelop Integrated Development
-Environment.
+Python 3 language support for the KDevelop Integrated Development Environment.
 
 %prep
-%setup -qn kdev-python-v%{version}
-%patch0
+%setup -qn kdev-python-%{version}%{?py3_suffix}
 
 %build
 mkdir -p %{_target_platform}
@@ -32,21 +32,16 @@ make %{?_smp_mflags} -C %{_target_platform}
 
 %install
 make install/fast DESTDIR=${RPM_BUILD_ROOT} -C %{_target_platform}
-chmod +x ${RPM_BUILD_ROOT}%{_libdir}/libpython2.7-kdevelop.so.1.0
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/libpython2.7-kdevelop.so
-ln -s ${RPM_BUILD_ROOT}%{_libdir}/libpython2.7-kdevelop.so.1.0 ${RPM_BUILD_ROOT}%{_libdir}/libpython2.7-kdevelop.so
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
-%doc DESIGN TODO README TODO 
+%doc DESIGN TODO README
 %{_kde4_libdir}/kde4/kdevpythonlanguagesupport.so
 %{_kde4_libdir}/libkdev4pythonduchain.so
 %{_kde4_libdir}/kde4/kdevpdb.so
 %{_kde4_appsdir}/kdevappwizard/templates/*
-%{_kde4_libdir}/libpython%{python_version}-kdevelop.so
-%{_kde4_libdir}/libpython%{python_version}-kdevelop.so.1.0
 %{_kde4_libdir}/libkdev4pythonparser.so
 %{_kde4_libdir}/libkdev4pythoncompletion.so
 %{_kde4_datadir}/kde4/services/kdevpdb.desktop
@@ -54,6 +49,10 @@ ln -s ${RPM_BUILD_ROOT}%{_libdir}/libpython2.7-kdevelop.so.1.0 ${RPM_BUILD_ROOT}
 %{_kde4_appsdir}/kdevpythonsupport
 
 %changelog
+* Fri Sep 26 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.7.0-1.py3
+- update to 1.7.0-py3
+- specfile cleanups
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 

diff --git a/sources b/sources
index 8303e29..e8bc536 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8980b2cdb955f8f34f7560ffc940ef1b  kdev-python-v1.4.1.tar.bz2
+708e43202056cc241209109b8bbd5bd0  kdev-python-1.7.0-py3.tar.xz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-04 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-04 11:13 [rpms/kdevelop-python] f43: update to 1.7.0-py3 Kevin Kofler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox