aports/kde: test case for framework versions

This commit adds a test case, which makes sure that the KDE framework
and plasma framework version are always the same.

Additional changes:
* APKBUILD parser parses the URL now (that's the best way I found to
  categorize the KDE aports in frameworks and other)
* Changed single quotes to double quotes in KDE APKBUILDs, so the
  parser doesn't include the single quotes in the parsed result
* Added the test case to the gitlab CI config
This commit is contained in:
Oliver Smith 2018-07-31 00:00:55 +02:00
parent a4b56c748d
commit 7cb471cb42
88 changed files with 289 additions and 162 deletions

View File

@ -30,5 +30,8 @@ set -o pipefail
# test_aports
python -m pytest -vv -x --cov=pmb --tb=native ./test/test_aports.py
# test_aports_kde
python -m pytest -vv -x --cov=pmb --tb=native ./test/test_aports_kde.py
# check_checksums
./test/check_checksums.py --build

View File

@ -4,8 +4,8 @@ pkgname=attica-qt
pkgver=5.48.0
pkgrel=0
arch="all"
pkgdesc='Qt5 library that implements the Open Collaboration Services API'
url='https://community.kde.org/Frameworks'
pkgdesc="Qt5 library that implements the Open Collaboration Services API"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=baloo
pkgver=5.48.0
pkgrel=0
pkgdesc='A framework for searching and managing metadata'
pkgdesc="A framework for searching and managing metadata"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev kconfig-dev kdbusaddons-dev

View File

@ -3,9 +3,9 @@
pkgname=breeze-icons
pkgver=5.48.0
pkgrel=0
pkgdesc='Breeze icon themes'
pkgdesc="Breeze icon themes"
arch="noarch"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-3.0"
depends_dev="qt5-qtbase-dev"
makedepends="$depends_dev extra-cmake-modules"

View File

@ -3,9 +3,9 @@
pkgname=breeze
pkgver=5.13.4
pkgrel=0
pkgdesc='Artwork, styles and assets for the Breeze visual style for the Plasma Desktop'
pkgdesc="Artwork, styles and assets for the Breeze visual style for the Plasma Desktop"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev kguiaddons-dev kwayland-dev kservice-dev kdecoration-dev

View File

@ -4,9 +4,9 @@ pkgname=elisa
pkgver=0_git20180715
pkgrel=0
_commit="c0412f3f3779ac2f93e93741403ec16575c04b19"
pkgdesc='Elisa Music Player'
pkgdesc="Elisa Music Player"
arch="all"
url='https://github/com/kde/elisa'
url="https://github/com/kde/elisa"
license="LGPL-3"
depends=""
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtmultimedia-dev

View File

@ -6,8 +6,8 @@ pkgver=5.48.0
pkgrel=0
arch="all"
pkgdesc="A library for accessing the usage data collected by the activities system"
url='https://community.kde.org/Frameworks'
license='LGPL-2.1'
url="https://community.kde.org/Frameworks"
license='LGPL-2.1"
depends=""
depends_dev="boost-dev qt5-qtbase-dev kconfig-dev kactivities-dev
graphviz-dev qt5-qttools-dev qt5-qtdeclarative-dev"

View File

@ -5,7 +5,7 @@ pkgver=5.48.0
pkgrel=0
arch="all"
pkgdesc="Core components for the KDE's Activities"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="GPL-2.0 LGPL-2.1"
depends="qt5-qtbase-sqlite"
depends_dev="kcoreaddons-dev kconfig-dev kwindowsystem-dev qt5-qtdeclarative-dev kio-dev"

View File

@ -5,7 +5,7 @@ pkgver=5.13.4
pkgrel=0
pkgdesc="System service to manage user's activities and track the usage patterns"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends=""
depends_dev="kio-dev kdbusaddons-dev ki18n-dev

View File

@ -3,9 +3,9 @@
pkgname=karchive
pkgver=5.48.0
pkgrel=0
pkgdesc='Qt 5 addon providing access to numerous types of archives'
pkgdesc="Qt 5 addon providing access to numerous types of archives"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
makedepends="extra-cmake-modules doxygen qt5-qttools-dev"

View File

@ -3,9 +3,9 @@
pkgname=kauth
pkgver=5.48.0
pkgrel=0
pkgdesc='Abstraction to system policy and authentication features'
pkgdesc="Abstraction to system policy and authentication features"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev"

View File

@ -3,9 +3,9 @@
pkgname=kbookmarks
pkgver=5.48.0
pkgrel=0
pkgdesc='Support for bookmarks and the XBEL format'
pkgdesc="Support for bookmarks and the XBEL format"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcodecs-dev kconfig-dev kconfigwidgets-dev kiconthemes-dev kxmlgui-dev kcoreaddons-dev

View File

@ -3,9 +3,9 @@
pkgname=kcmutils
pkgver=5.48.0
pkgrel=0
pkgdesc='Utilities for interacting with KCModules'
pkgdesc="Utilities for interacting with KCModules"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kdeclarative-dev kiconthemes-dev kxmlgui-dev kpackage-dev qt5-qtdeclarative-dev

View File

@ -3,9 +3,9 @@
pkgname=kcodecs
pkgver=5.48.0
pkgrel=0
pkgdesc='Provide a collection of methods to manipulate strings using various encodings'
pkgdesc="Provide a collection of methods to manipulate strings using various encodings"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
makedepends="extra-cmake-modules qt5-qttools-dev gperf doxygen"

View File

@ -3,9 +3,9 @@
pkgname=kcompletion
pkgver=5.48.0
pkgrel=0
pkgdesc='Text completion helpers and widgets'
pkgdesc="Text completion helpers and widgets"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kwidgetsaddons-dev kconfig-dev"

View File

@ -3,9 +3,9 @@
pkgname=kconfig
pkgver=5.48.0
pkgrel=0
pkgdesc='Configuration system'
pkgdesc="Configuration system"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
makedepends="extra-cmake-modules qt5-qttools-dev doxygen"

View File

@ -3,9 +3,9 @@
pkgname=kconfigwidgets
pkgver=5.48.0
pkgrel=0
pkgdesc='Widgets for KConfig'
pkgdesc="Widgets for KConfig"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev kauth-dev kguiaddons-dev kwidgetsaddons-dev kcodecs-dev kconfig-dev

View File

@ -3,9 +3,9 @@
pkgname=kcoreaddons
pkgver=5.48.0
pkgrel=0
pkgdesc='Addons to QtCore'
pkgdesc="Addons to QtCore"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
makedepends="extra-cmake-modules qt5-qttools-dev doxygen shared-mime-info"

View File

@ -3,9 +3,9 @@
pkgname=kcrash
pkgver=5.48.0
pkgrel=0
pkgdesc='Support for application crash analysis and bug report from apps'
pkgdesc="Support for application crash analysis and bug report from apps"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev kwindowsystem-dev qt5-qtx11extras-dev"

View File

@ -3,9 +3,9 @@
pkgname=kdbusaddons
pkgver=5.48.0
pkgrel=0
pkgdesc='Addons to QtDBus'
pkgdesc="Addons to QtDBus"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
makedepends="extra-cmake-modules qt5-qttools-dev clang doxygen shared-mime-info"

View File

@ -3,9 +3,9 @@
pkgname=kdeclarative
pkgver=5.48.0
pkgrel=0
pkgdesc='Provides integration of QML and KDE Frameworks'
pkgdesc="Provides integration of QML and KDE Frameworks"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kpackage-dev kconfig-dev kiconthemes-dev kglobalaccel-dev kwindowsystem-dev

View File

@ -3,9 +3,9 @@
pkgname=kdecoration
pkgver=5.13.4
pkgrel=0
pkgdesc='Plugin based library to create window decorations'
pkgdesc="Plugin based library to create window decorations"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=kded
pkgver=5.48.0
pkgrel=0
pkgdesc='Extensible deamon for providing system level services'
pkgdesc="Extensible deamon for providing system level services"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kinit-dev kcrash-dev kdbusaddons-dev kcoreaddons-dev kservice-dev qt5-qtbase-dev

View File

@ -3,9 +3,9 @@
pkgname=kdelibs4support
pkgver=5.48.0
pkgrel=0
pkgdesc='Porting aid from KDELibs4'
pkgdesc="Porting aid from KDELibs4"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends="ca-certificates"
depends_dev="kdesignerplugin kunitconversion-dev kemoticons-dev kded-dev kparts-dev qt5-qtsvg-dev qt5-qtx11extras-dev

View File

@ -3,9 +3,9 @@
pkgname=kdesignerplugin
pkgver=5.48.0
pkgrel=0
pkgdesc='Integration of Frameworks widgets in Qt Designer/Creator'
pkgdesc="Integration of Frameworks widgets in Qt Designer/Creator"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev kconfig-dev"

View File

@ -3,9 +3,9 @@
pkgname=kdesu
pkgver=5.48.0
pkgrel=0
pkgdesc='Integration with su for elevated privileges'
pkgdesc="Integration with su for elevated privileges"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kpty-dev kservice-dev kconfig-dev kcoreaddons-dev ki18n-dev"

View File

@ -3,9 +3,9 @@
pkgname=kdoctools
pkgver=5.48.0
pkgrel=0
pkgdesc='Documentation generation from docbook'
pkgdesc="Documentation generation from docbook"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends="docbook-xsl"
depends_dev="qt5-qtbase-dev ki18n-dev karchive-dev libxslt-dev libxml2-dev libxml2-utils docbook-xml docbook-xsl"

View File

@ -3,9 +3,9 @@
pkgname=kemoticons
pkgver=5.48.0
pkgrel=0
pkgdesc='Support for emoticons and emoticons themes'
pkgdesc="Support for emoticons and emoticons themes"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="GPL-2.0"
depends=""
depends_dev="karchive-dev kconfig-dev kservice-dev kcoreaddons-dev"

View File

@ -5,7 +5,7 @@ pkgver=5.48.0
pkgrel=0
pkgdesc="A library for extracting file metadata"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-3.0"
depends=""
depends_dev="ki18n-dev karchive-dev"

View File

@ -3,9 +3,9 @@
pkgname=kglobalaccel
pkgver=5.48.0
pkgrel=0
pkgdesc='Add support for global workspace shortcuts'
pkgdesc="Add support for global workspace shortcuts"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kwindowsystem-dev qt5-qtx11extras-dev"

View File

@ -3,9 +3,9 @@
pkgname=kguiaddons
pkgver=5.48.0
pkgrel=0
pkgdesc='Addons to QtGui'
pkgdesc="Addons to QtGui"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
makedepends="extra-cmake-modules doxygen qt5-qttools-dev"

View File

@ -3,9 +3,9 @@
pkgname=khtml
pkgver=5.48.0
pkgrel=1
pkgdesc='KHTML APIs'
pkgdesc="KHTML APIs"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="GPL-3.0"
depends=""
depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kglobalaccel-dev ki18n-dev kiconthemes-dev kio-dev

View File

@ -3,9 +3,9 @@
pkgname=ki18n
pkgver=5.48.0
pkgrel=0
pkgdesc='Advanced internationalization framework'
pkgdesc="Advanced internationalization framework"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtdeclarative-dev qt5-qtscript-dev"

View File

@ -3,9 +3,9 @@
pkgname=kiconthemes
pkgver=5.48.0
pkgrel=0
pkgdesc='Support for icon themes'
pkgdesc="Support for icon themes"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtsvg-dev kitemviews-dev kconfigwidgets-dev karchive-dev ki18n-dev kcoreaddons-dev

View File

@ -3,9 +3,9 @@
pkgname=kidletime
pkgver=5.48.0
pkgrel=0
pkgdesc='Monitoring user activity'
pkgdesc="Monitoring user activity"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtx11extras-dev"

View File

@ -3,9 +3,9 @@
pkgname=kimageformats
pkgver=5.48.0
pkgrel=2
pkgdesc='Image format plugins for Qt5'
pkgdesc="Image format plugins for Qt5"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev karchive-dev"

View File

@ -3,9 +3,9 @@
pkgname=kinit
pkgver=5.48.0
pkgrel=0
pkgdesc='Process launcher to speed up launching KDE applications'
pkgdesc="Process launcher to speed up launching KDE applications"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kio-dev kservice-dev kcrash-dev kbookmarks-dev qt5-qtbase-dev

View File

@ -3,9 +3,9 @@
pkgname=kio
pkgver=5.48.0
pkgrel=0
pkgdesc='Resource and network access abstraction'
pkgdesc="Resource and network access abstraction"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kdoctools-dev kconfig-dev kdbusaddons-dev kservice-dev solid-dev kbookmarks-dev

View File

@ -3,9 +3,9 @@
pkgname=kirigami2
pkgver=5.48.0
pkgrel=0
pkgdesc='A QtQuick based components set'
pkgdesc="A QtQuick based components set"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL"
depends="qt5-qtgraphicaleffects"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev

View File

@ -3,9 +3,9 @@
pkgname=kitemmodels
pkgver=5.48.0
pkgrel=0
pkgdesc='Models for Qt Model/View system'
pkgdesc="Models for Qt Model/View system"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=kitemviews
pkgver=5.48.0
pkgrel=0
pkgdesc='Widget addons for Qt Model/View'
pkgdesc="Widget addons for Qt Model/View"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=kjobwidgets
pkgver=5.48.0
pkgrel=0
pkgdesc='Widgets for tracking KJob instances'
pkgdesc="Widgets for tracking KJob instances"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev kwidgetsaddons-dev qt5-qtx11extras-dev"

View File

@ -3,9 +3,9 @@
pkgname=kjs
pkgver=5.48.0
pkgrel=0
pkgdesc='Support for JS scripting in applications'
pkgdesc="Support for JS scripting in applications"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=kjsembed
pkgver=5.48.0
pkgrel=0
pkgdesc='Embedded JS'
pkgdesc="Embedded JS"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtsvg-dev kjs-dev ki18n-dev"

View File

@ -3,9 +3,9 @@
pkgname=knewstuff
pkgver=5.48.0
pkgrel=0
pkgdesc='Support for downloading application assets from the network'
pkgdesc="Support for downloading application assets from the network"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends="qt5-qtquickcontrols2"
depends_dev="karchive-dev kio-dev kservice-dev kbookmarks-dev kjobwidgets-dev solid-dev kxmlgui-dev

View File

@ -3,9 +3,9 @@
pkgname=knotifications
pkgver=5.48.0
pkgrel=0
pkgdesc='Abstraction for system notifications'
pkgdesc="Abstraction for system notifications"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtx11extras-dev kwindowsystem-dev kconfig-dev kcodecs-dev kcoreaddons-dev qt5-qtbase-dev phonon-qt5-dev"

View File

@ -3,9 +3,9 @@
pkgname=knotifyconfig
pkgver=5.48.0
pkgrel=0
pkgdesc='Configuration system for KNotify'
pkgdesc="Configuration system for KNotify"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcompletion-dev ki18n-dev kcoreaddons-dev kservice-dev kbookmarks-dev kitemviews-dev

View File

@ -4,7 +4,7 @@ pkgname=konsole
pkgver=18.04.1
pkgrel=1
arch="all"
url='https://kde.org/applications/system/konsole/'
url="https://kde.org/applications/system/konsole/"
pkgdesc="KDE's terminal emulator"
license="GPL-2.0"
depends=""

View File

@ -3,9 +3,9 @@
pkgname=kpackage
pkgver=5.48.0
pkgrel=0
pkgdesc='Framework that lets applications manage user installable packages of non-binary assets'
pkgdesc="Framework that lets applications manage user installable packages of non-binary assets"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev karchive-dev ki18n-dev"

View File

@ -3,9 +3,9 @@
pkgname=kparts
pkgver=5.48.0
pkgrel=0
pkgdesc='Document centric plugin system'
pkgdesc="Document centric plugin system"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kio-dev kiconthemes-dev ktextwidgets-dev sonnet-dev kbookmarks-dev kwidgetsaddons-dev

View File

@ -3,9 +3,9 @@
pkgname=kpeople
pkgver=5.48.0
pkgrel=0
pkgdesc='A library that provides access to all contacts and the people who hold them'
pkgdesc="A library that provides access to all contacts and the people who hold them"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtdeclarative-dev kcoreaddons-dev kwidgetsaddons-dev ki18n-dev kitemviews-dev

View File

@ -3,9 +3,9 @@
pkgname=kplotting
pkgver=5.48.0
pkgrel=0
pkgdesc='Lightweight plotting framework'
pkgdesc="Lightweight plotting framework"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=kpty
pkgver=5.48.0
pkgrel=0
pkgdesc='Pty abstraction'
pkgdesc="Pty abstraction"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcoreaddons-dev ki18n-dev"

View File

@ -3,9 +3,9 @@
pkgname=krunner
pkgver=5.48.0
pkgrel=0
pkgdesc='Framework for providing different actions given a string query'
pkgdesc="Framework for providing different actions given a string query"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="plasma-framework-dev threadweaver-dev kactivities-dev kbookmarks-dev kcompletion-dev

View File

@ -5,7 +5,7 @@ pkgver=5.13.4
pkgrel=0
pkgdesc="KDE's screen management software"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="hicolor-icon-theme"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev libkscreen-dev kdbusaddons-dev

View File

@ -3,9 +3,9 @@
pkgname=kscreenlocker
pkgver=5.13.4
pkgrel=0
pkgdesc='Library and components for secure lock screen architecture'
pkgdesc="Library and components for secure lock screen architecture"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="linux-pam"
depends_dev="kcmutils-dev consolekit2-dev linux-pam-dev kidletime-dev kwayland-dev

View File

@ -3,9 +3,9 @@
pkgname=kservice
pkgver=5.48.0
pkgrel=0
pkgdesc='Advanced plugin and service introspection'
pkgdesc="Advanced plugin and service introspection"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kcrash-dev kconfig-dev kdbusaddons-dev ki18n-dev kcoreaddons-dev"

View File

@ -3,9 +3,9 @@
pkgname=ksysguard
pkgver=5.13.4
pkgrel=0
pkgdesc='Track and control the processes running in your system'
pkgdesc="Track and control the processes running in your system"
arch="all"
url='https://userbase.kde.org/KSysGuard'
url="https://userbase.kde.org/KSysGuard"
license="GPL-2.0"
depends=""
depends_dev="libksysguard-dev attica-qt-dev kinit-dev kxmlgui-dev kconfig-dev kcoreaddons-dev

View File

@ -3,9 +3,9 @@
pkgname=ktexteditor
pkgver=5.48.0
pkgrel=0
pkgdesc='Advanced embeddable text editor'
pkgdesc="Advanced embeddable text editor"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtxmlpatterns-dev qt5-qtdeclarative-dev qt5-qtscript-dev kparts-dev karchive-dev

View File

@ -3,9 +3,9 @@
pkgname=ktextwidgets
pkgver=5.48.0
pkgrel=0
pkgdesc='Advanced text editing widgets'
pkgdesc="Advanced text editing widgets"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="sonnet-dev kauth-dev kiconthemes-dev kservice-dev kcompletion-dev kconfig-dev

View File

@ -3,9 +3,9 @@
pkgname=kunitconversion
pkgver=5.48.0
pkgrel=0
pkgdesc='Support for unit conversion'
pkgdesc="Support for unit conversion"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="ki18n-dev"

View File

@ -3,9 +3,9 @@
pkgname=kwallet
pkgver=5.48.0
pkgrel=0
pkgdesc='Secure and unified container for user passwords'
pkgdesc="Secure and unified container for user passwords"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="kservice-dev kwindowsystem-dev kconfig-dev kconfigwidgets-dev kauth-dev kcodecs-dev

View File

@ -3,9 +3,9 @@
pkgname=kwayland
pkgver=5.48.0
pkgrel=0
pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
pkgdesc="Qt-style Client and Server library wrapper for the Wayland libraries"
arch="all"
url='https://www.kde.org'
url="https://www.kde.org"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev wayland-dev"

View File

@ -3,9 +3,9 @@
pkgname=kwidgetsaddons
pkgver=5.48.0
pkgrel=0
pkgdesc='Addons to QtWidgets'
pkgdesc="Addons to QtWidgets"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="GPL-2.0"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=kwin
pkgver=5.13.4
pkgrel=0
pkgdesc='An easy to use, but flexible, composited Window Manager'
pkgdesc="An easy to use, but flexible, composited Window Manager"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="xorg-server-xwayland qt5-qtmultimedia breeze"
depends_dev="kdecoration-dev kjobwidgets-dev kcmutils-dev kscreenlocker-dev breeze-dev

View File

@ -3,9 +3,9 @@
pkgname=kwindowsystem
pkgver=5.48.0
pkgrel=0
pkgdesc='Access to the windowing system'
pkgdesc="Access to the windowing system"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtx11extras-dev"

View File

@ -3,9 +3,9 @@
pkgname=kxmlgui
pkgver=5.48.0
pkgrel=0
pkgdesc='User configurable main windows'
pkgdesc="User configurable main windows"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="ktextwidgets-dev kglobalaccel-dev attica-qt-dev kcoreaddons-dev kitemviews-dev

View File

@ -3,9 +3,9 @@
pkgname=libkscreen
pkgver=5.13.4
pkgrel=0
pkgdesc='KDE screen management software'
pkgdesc="KDE screen management software"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends=""
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kwayland-dev"

View File

@ -3,9 +3,9 @@
pkgname=libksysguard
pkgver=5.13.4
pkgrel=0
pkgdesc='Libksysguard'
pkgdesc="Libksysguard"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="LGPL-2.1"
depends=""
depends_dev="kwindowsystem-dev plasma-framework-dev qt5-qtscript-dev qt5-qtx11extras-dev

View File

@ -5,7 +5,7 @@ pkgver=5.13.4
pkgrel=0
pkgdesc="A dedicated search application built on top of Baloo"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="krunner"
depends_dev="qt5-qtbase-dev qt5-qtscript-dev qt5-qtdeclarative-dev kcoreaddons-dev

View File

@ -1,9 +1,9 @@
pkgname=modemmanager-qt
pkgver=5.48.0
pkgrel=0
pkgdesc='Qt wrapper for ModemManager DBus API'
pkgdesc="Qt wrapper for ModemManager DBus API"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="GPL-2.0"
depends=""
depends_dev="modemmanager-dev qt5-qtbase-dev"

View File

@ -1,9 +1,9 @@
pkgname=networkmanager-qt
pkgver=5.48.0
pkgrel=0
pkgdesc='Qt wrapper for NetworkManager API'
pkgdesc="Qt wrapper for NetworkManager API"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends="networkmanager"
depends_dev="networkmanager-dev"

View File

@ -3,9 +3,9 @@
pkgname=plasma-framework
pkgver=5.48.0
pkgrel=0
pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
pkgdesc="Plasma library and runtime components based upon KF5 and Qt5"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="GPL-2.0"
depends=""
depends_dev="kdoctools-dev kactivities-dev kwindowsystem-dev ki18n-dev kiconthemes-dev kpackage-dev

View File

@ -3,9 +3,9 @@
pkgname=plasma-nm
pkgver=5.13.4
pkgrel=0
pkgdesc='Plasma applet written in QML for managing network connections'
pkgdesc="Plasma applet written in QML for managing network connections"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="networkmanager"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev

View File

@ -3,9 +3,9 @@
pkgname=plasma-pa
pkgver=5.13.4
pkgrel=0
pkgdesc='Plasma applet for audio volume management using PulseAudio'
pkgdesc="Plasma applet for audio volume management using PulseAudio"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="pulseaudio"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev

View File

@ -3,9 +3,9 @@
pkgname=plasma-workspace
pkgver=5.13.4
pkgrel=0
pkgdesc='KDE Plasma Workspace'
pkgdesc="KDE Plasma Workspace"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="kwin iso-codes qt5-qtwayland kactivitymanagerd kinit milou consolekit2"
depends_dev="krunner-dev kdesignerplugin-dev kdesignerplugin qt5-qtwayland-dev qt5-qtdeclarative-dev

View File

@ -3,9 +3,9 @@
pkgname=polkit-kde-agent
pkgver=5.13.4
pkgrel=0
pkgdesc='Daemon providing a polkit authentication UI for KDE'
pkgdesc="Daemon providing a polkit authentication UI for KDE"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends=""
depends_dev="qt5-qtbase-dev kiconthemes-dev kdbusaddons-dev kcrash-dev polkit-qt-dev

View File

@ -3,9 +3,9 @@
pkgname=powerdevil
pkgver=5.13.4
pkgrel=0
pkgdesc='Manages the power consumption settings of a Plasma Shell'
pkgdesc="Manages the power consumption settings of a Plasma Shell"
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="plasma-workspace"
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kdesignerplugin-dev kdesignerplugin

View File

@ -5,7 +5,7 @@ pkgver=5.48.0
pkgrel=0
pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="MIT"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -2,9 +2,9 @@ pkgbase=qca
pkgname=qca-qt5
pkgver=2.1.3
pkgrel=1
pkgdesc='Qt Cryptographic Architecture'
pkgdesc="Qt Cryptographic Architecture"
arch="all"
url='http://delta.affinix.com/qca/'
url="http://delta.affinix.com/qca/"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -5,9 +5,9 @@ pkgver=0.1.0_git20170914
pkgrel=0
_commit=fb525b7185acf3b91ba58051c337ae33294a7da7
arch="all"
url='https://github.com/notmart/qmltermwidget'
url="https://github.com/notmart/qmltermwidget"
license="GPL-2.0"
pkgdesc='QML port of qtermwidget'
pkgdesc="QML port of qtermwidget"
depends=""
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev"
source="https://github.com/notmart/$pkgname/archive/$_commit.tar.gz"

View File

@ -3,9 +3,9 @@
pkgname=solid
pkgver=5.48.0
pkgrel=0
pkgdesc='Hardware integration and detection'
pkgdesc="Hardware integration and detection"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtdeclarative-dev"

View File

@ -3,9 +3,9 @@
pkgname=sonnet
pkgver=5.48.0
pkgrel=0
pkgdesc='Spelling framework for Qt5'
pkgdesc="Spelling framework for Qt5"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase"

View File

@ -3,9 +3,9 @@
pkgname=syntax-highlighting
pkgver=5.48.0
pkgrel=0
pkgdesc='Syntax highlighting engine for structured text and code'
pkgdesc="Syntax highlighting engine for structured text and code"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev"

View File

@ -3,9 +3,9 @@
pkgname=threadweaver
pkgver=5.48.0
pkgrel=0
pkgdesc='High-level multithreading framework'
pkgdesc="High-level multithreading framework"
arch="all"
url='https://community.kde.org/Frameworks'
url="https://community.kde.org/Frameworks"
license="LGPL-2.1"
depends=""
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev"

View File

@ -197,6 +197,7 @@ apkbuild_attributes = {
"pkgver": {"array": False},
"provides": {"array": True},
"subpackages": {"array": True},
"url": {"array": False},
# cross-compilers
"makedepends_build": {"array": True},

123
test/test_aports_kde.py Normal file
View File

@ -0,0 +1,123 @@
"""
Copyright 2018 Oliver Smith
This file is part of pmbootstrap.
pmbootstrap is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pmbootstrap is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with pmbootstrap. If not, see <http://www.gnu.org/licenses/>.
"""
import glob
import logging
import os
import pytest
import sys
# Import from parent directory
sys.path.append(os.path.realpath(
os.path.join(os.path.dirname(__file__) + "/..")))
import pmb.config
import pmb.parse
@pytest.fixture
def args(tmpdir, request):
import pmb.parse
sys.argv = ["pmbootstrap", "init"]
args = pmb.parse.arguments()
args.log = args.work + "/log_testsuite.txt"
pmb.helpers.logging.init(args)
request.addfinalizer(args.logfd.close)
return args
def get_categorized_kde_packages(args):
"""
Parse all aports in the kde folder, and categorize them.
:returns: {"plasma": {"kwin": "5.13.3", ...},
"kde": {"kcrash": "5.48.0", ...},
"other": {"konsole": "1234", ...}}
"""
ret = {"plasma": {}, "kde": {}, "other": {}}
for path in glob.glob(args.aports + "/kde/*/APKBUILD"):
# Parse APKBUILD
apkbuild = pmb.parse.apkbuild(args, path)
url = apkbuild["url"]
pkgname = apkbuild["pkgname"]
pkgver = apkbuild["pkgver"]
# Categorize by URL
category = "other"
if "https://www.kde.org/workspaces/plasmadesktop" in url:
category = "plasma"
elif "https://community.kde.org/Frameworks" in url:
category = "kde"
# Save result
ret[category][pkgname] = pkgver
return ret
def check_categories(categories):
"""
Make sure that all packages in one framework (kde, plasma) have the same
package version (and that there is at least one package in each category).
:param categories: see return of get_categorized_kde_packages()
:returns: True when the check passed, False otherwise
"""
ret = True
for category, packages in categories.items():
reference = None
for pkgname, pkgver in packages.items():
# Use the first package as reference and print a summary
if not reference:
logging.info("---")
logging.info("KDE package category: " + category)
logging.info("Packages (" + str(len(packages)) + "): " +
", ".join(sorted(packages.keys())))
reference = {"pkgname": pkgname, "pkgver": pkgver}
# Category "other": done after printing the summary, no need to
# compare the package versions
if category == "other":
break
# Print the reference and skip checking it against itself
logging.info("Reference pkgver: " + pkgver + " (from '" +
pkgname + "')")
continue
# Check version against reference
if pkgver != reference["pkgver"]:
logging.info("ERROR: " + pkgname + " has version " + pkgver)
ret = False
# Each category must at least have one package
if not reference:
logging.info("ERROR: could not find any packages in category: " +
category)
ret = False
return ret
def test_kde_versions(args):
"""
Make sure that KDE packages of the same framework have the same version.
"""
categories = get_categorized_kde_packages(args)
if not check_categories(categories):
raise RuntimeError("KDE version check failed!")

View File

@ -3,7 +3,7 @@
# Disable QEMU and aports/upstream compatibility tests
# (These run with different CI runners in parallel, see #1610)
disabled="aports aportgen upstream_compatibility soname_bump qemu_running_processes"
disabled="aports aports_kde aportgen upstream_compatibility soname_bump qemu_running_processes"
# Optionally enable all test cases
if [ "$1" = "--all" ]; then