summaryrefslogtreecommitdiff
path: root/devel/kdev-python
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2019-08-13 15:40:06 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2019-08-13 15:40:06 +0000
commit648300c466186a9a3281a692e09992799c9a706c (patch)
treed8216229950e41b71f9d364fa44beecc7efc0bd8 /devel/kdev-python
parentbiology/bolt-lmm: Upgrade to 2.3.4 (diff)
Update devel/kdevelop and attendant ports to latest upstream 5.4.1
Release announcement: https://www.kdevelop.org/news/kdevelop-541-released Various small bugfixes over 5.4.0, which was announced at https://www.kdevelop.org/news/kdevelop-540-released and *that* introduced Meson build support, Scratchpads, and clang-tidy. The port chases upstream, with one exception: the QDebug categories are specifically dropped back to "old" style, so they live in ${LOCALBASE}/etc/xdg with the rest, instead of the new-fangled and we-need-to-think-about-this ${LOCALBASE}/share/qdebug-categories5/
Notes
Notes: svn path=/head/; revision=508833
Diffstat (limited to 'devel/kdev-python')
-rw-r--r--devel/kdev-python/Makefile7
-rw-r--r--devel/kdev-python/distinfo6
-rw-r--r--devel/kdev-python/files/patch-CMakeLists.txt11
-rw-r--r--devel/kdev-python/pkg-plist4
4 files changed, 21 insertions, 7 deletions
diff --git a/devel/kdev-python/Makefile b/devel/kdev-python/Makefile
index 67ca323280b6..5922e9c6b3c8 100644
--- a/devel/kdev-python/Makefile
+++ b/devel/kdev-python/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= kdev-python
-DISTVERSION= 5.3.2
-PORTREVISION= 1
+DISTVERSION= 5.4.1
CATEGORIES= devel kde
MASTER_SITES= KDE/stable/kdevelop/${DISTVERSION}/src
DIST_SUBDIR= KDE/kdevelop
@@ -20,6 +19,10 @@ USE_KDE= attica auth codecs completion config configwidgets coreaddons \
USE_QT= concurrent core dbus gui network widgets xml \
buildtools_build qmake_build
+# Versioning values, to reduce plist churn (match with devel/kdevelop)
+PLATFORM_VER= 32
+PLIST_SUB+= PLATFORM_VER=${PLATFORM_VER}
+
# Does not build with jobs.
MAKE_JOBS_UNSAFE= yes
diff --git a/devel/kdev-python/distinfo b/devel/kdev-python/distinfo
index 5f2cece0b46a..adb62ed816c8 100644
--- a/devel/kdev-python/distinfo
+++ b/devel/kdev-python/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552087023
-SHA256 (KDE/kdevelop/kdev-python-5.3.2.tar.xz) = 06dde524183516889bf50172c595276a9b199e19752dc961bd17f31406b9ced1
-SIZE (KDE/kdevelop/kdev-python-5.3.2.tar.xz) = 1074980
+TIMESTAMP = 1565704830
+SHA256 (KDE/kdevelop/kdev-python-5.4.1.tar.xz) = b7dfe4d477eac8ef59f988ff471d3ea6169faac0c841bd93b0f981036ed47bd7
+SIZE (KDE/kdevelop/kdev-python-5.4.1.tar.xz) = 1074132
diff --git a/devel/kdev-python/files/patch-CMakeLists.txt b/devel/kdev-python/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..abe2ef1fc0de
--- /dev/null
+++ b/devel/kdev-python/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2019-08-13 15:18:32 UTC
++++ CMakeLists.txt
+@@ -148,7 +148,7 @@ install(FILES org.kde.kdev-python.metainfo.xml DESTINA
+ # kdebugsettings >= 18.12 supports/pushes for some newer, not backward-compatible format.
+ # For ECM >= 5.59 we install categories files to new location, which is only supported by
+ # newer kdebugsettings also supporting the new content format, so we use that as base.
+-if (ECM_VERSION VERSION_GREATER "5.58.0")
++if (0)
+ install(FILES kdevpythonsupport-newformat.categories RENAME kdevpythonsupport.categories
+ DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
+ )
diff --git a/devel/kdev-python/pkg-plist b/devel/kdev-python/pkg-plist
index 42d0702d356a..24324cbcb189 100644
--- a/devel/kdev-python/pkg-plist
+++ b/devel/kdev-python/pkg-plist
@@ -2,8 +2,8 @@ etc/xdg/kdevpythonsupport.categories
lib/libkdevpythoncompletion.so
lib/libkdevpythonduchain.so
lib/libkdevpythonparser.so
-%%QT_PLUGINDIR%%/kdevplatform/31/kdevpdb.so
-%%QT_PLUGINDIR%%/kdevplatform/31/kdevpythonlanguagesupport.so
+%%QT_PLUGINDIR%%/kdevplatform/%%PLATFORM_VER%%/kdevpdb.so
+%%QT_PLUGINDIR%%/kdevplatform/%%PLATFORM_VER%%/kdevpythonlanguagesupport.so
share/kdevappwizard/templates/django_project.tar.bz2
share/kdevappwizard/templates/qtdesigner_app.tar.bz2
share/kdevappwizard/templates/simple_pythonapp.tar.bz2