summaryrefslogtreecommitdiff
path: root/dev-util/kdevelop-css
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-11-15 01:44:54 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-11-15 01:44:54 +0100
commit287aa61851bacdaed8ee03f70b5d8952261f4b68 (patch)
treef4768e95502b914dd17743c8593e2ff89710eb35 /dev-util/kdevelop-css
parent2dcd0c1903ecbf69d66bda373b7baf7ce9472a8b (diff)
downloadkde-287aa61851bacdaed8ee03f70b5d8952261f4b68.tar.gz
kde-287aa61851bacdaed8ee03f70b5d8952261f4b68.tar.bz2
kde-287aa61851bacdaed8ee03f70b5d8952261f4b68.zip
dev-util/kdevelop-css: Drop obsolete patch, someone else upstreamed it
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/kdevelop-css')
-rw-r--r--dev-util/kdevelop-css/files/kdevelop-css-tests.patch50
-rw-r--r--dev-util/kdevelop-css/kdevelop-css-9999.ebuild10
2 files changed, 4 insertions, 56 deletions
diff --git a/dev-util/kdevelop-css/files/kdevelop-css-tests.patch b/dev-util/kdevelop-css/files/kdevelop-css-tests.patch
deleted file mode 100644
index 79654840d54..00000000000
--- a/dev-util/kdevelop-css/files/kdevelop-css-tests.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 7a32e32d55f6e765798098790beda88b0dc5eb7a Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sun, 22 Oct 2017 13:12:10 +0200
-Subject: [PATCH] Make tests conditional on BUILD_TESTING
-
-They depend on kdevelop being built with tests.
----
- CMakeLists.txt | 2 ++
- parser/CMakeLists.txt | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4d25a98..c310b9e 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -88,6 +88,7 @@ target_link_libraries(kdevcsssupport
- # kdebugsettings file
- install(FILES kdevcsssupport.categories DESTINATION ${KDE_INSTALL_CONFDIR})
-
-+if(BUILD_TESTING)
- ### next target
- set(completionmodeltest_SRCS
- completion/test/modeltest.cpp
-@@ -139,5 +140,6 @@ ecm_add_test(${parsejobtest_SRCS}
- KDev::Interfaces KDev::Language KDev::Tests
- KF5::I18n KF5::TextEditor
- )
-+endif()
-
- feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
-diff --git a/parser/CMakeLists.txt b/parser/CMakeLists.txt
-index e9014f8..91afa21 100644
---- a/parser/CMakeLists.txt
-+++ b/parser/CMakeLists.txt
-@@ -47,6 +47,7 @@ target_link_libraries( kdev4cssparser LINK_PRIVATE
- )
- install(TARGETS kdev4cssparser DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})
-
-+if(BUILD_TESTING)
- ### next target
- add_executable(css-parser ${CMAKE_CURRENT_BINARY_DIR}/tokenizer.cpp main.cpp)
- target_link_libraries(css-parser
-@@ -71,3 +72,4 @@ ecm_add_test(${parsertest_SRCS}
- KDev::Language
- KDev::Tests
- )
-+endif()
---
-2.14.2
-
diff --git a/dev-util/kdevelop-css/kdevelop-css-9999.ebuild b/dev-util/kdevelop-css/kdevelop-css-9999.ebuild
index 840e5d4c02a..f43e4c22750 100644
--- a/dev-util/kdevelop-css/kdevelop-css-9999.ebuild
+++ b/dev-util/kdevelop-css/kdevelop-css-9999.ebuild
@@ -18,10 +18,6 @@ SLOT="5"
KEYWORDS=""
IUSE=""
-BDEPEND="
- sys-devel/flex
- test? ( >=dev-util/kdevelop-5.1.80:5[test] )
-"
DEPEND="
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
@@ -34,5 +30,7 @@ DEPEND="
>=kde-frameworks/threadweaver-${KFMIN}:5
"
RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${PN}-tests.patch" ) # TODO: upstream
+BDEPEND="
+ sys-devel/flex
+ test? ( >=dev-util/kdevelop-5.1.80:5[test] )
+"