public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Minh Ngo <nlminhtl@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kdevelop-python] f44: initial commit
Date: Sat, 04 Jul 2026 00:59:39 GMT	[thread overview]
Message-ID: <178312677948.1.14859361651166221311.rpms-kdevelop-python-71447ad518de@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/kdevelop-python
Branch : f44
Commit : 71447ad518dee168f78dd3c8a0f976b36291eadc
Author : Minh Ngo <nlminhtl@gmail.com>
Date   : 2013-02-14T22:15:29+02:00
Stats  : +122/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/kdevelop-python/c/71447ad518dee168f78dd3c8a0f976b36291eadc?branch=f44

Log:
initial commit

---
diff --git a/.gitignore b/.gitignore
index e69de29..b5e83b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kdev-python-v1.4.1.tar.bz2

diff --git a/kdevelop-python-documentation-files.patch b/kdevelop-python-documentation-files.patch
new file mode 100644
index 0000000..73787bb
--- /dev/null
+++ b/kdevelop-python-documentation-files.patch
@@ -0,0 +1,60 @@
+# 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
new file mode 100644
index 0000000..87af42f
--- /dev/null
+++ b/kdevelop-python.spec
@@ -0,0 +1,60 @@
+Name:       kdevelop-python 
+Version:    1.4.1 
+Release:    2%{?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 
+
+Summary:    Python Plugin for KDevelop 
+URL:        http://kdevelop.org
+
+BuildRequires:  kdevplatform-devel
+BuildRequires:  kdevelop-devel 
+BuildRequires:  kdevelop-pg-qt-devel
+BuildRequires:  python2-devel
+
+%description
+Python language support for KDevelop Integrated Development
+Environment.
+
+%prep
+%setup -qn kdev-python-v%{version}
+%patch0
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kde4} ../
+popd
+make %{?_smp_mflags} -C %{_target_platform} 
+
+%install
+make install/fast DESTDIR=${RPM_BUILD_ROOT} -C %{_target_platform}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc DESIGN TODO README TODO 
+%{_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
+%{_kde4_datadir}/kde4/services/kdevpythonsupport.desktop 
+%{_kde4_appsdir}/kdevpythonsupport
+
+%changelog
+* Thu Feb 14 2013 Minh Ngo <minh@fedoraproject.org> 1.4.1-2
+- have added _kde4_appsdir macro
+- have dropped updata-mime-database scriptlets
+- have omitted cmake requirement
+- have removed desktop-file-install script
+- removing python2.7 hardcode
+
+* Sun Dec 01 2012 Minh Ngo <minh@fedoraproject.org> 1.4.1-1
+- initial buildOB

diff --git a/sources b/sources
index e69de29..8303e29 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8980b2cdb955f8f34f7560ffc940ef1b  kdev-python-v1.4.1.tar.bz2

                 reply	other threads:[~2026-07-04  0:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178312677948.1.14859361651166221311.rpms-kdevelop-python-71447ad518de@fedoraproject.org \
    --to=nlminhtl@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox