Skip to content
Snippets Groups Projects
Commit 7cb471cb authored by Oliver Smith's avatar Oliver Smith
Browse files

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
parent a4b56c74
Branches
Tags
1 merge request!1657aports/kde: test case for framework versions
Pipeline #188385 passed
Showing
with 39 additions and 36 deletions
......@@ -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
......@@ -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"
......
......@@ -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
......
......@@ -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"
......
......@@ -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
......
......@@ -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
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment