From 27e3ed6dc37580bc04b76be1facb202f3028139b Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Wed, 11 Nov 2020 12:05:31 -0500 Subject: [PATCH] Uranium: update to 4.10.0. Disable code style checks --- .../Uranium/patches/disable_code_style_test.patch | 14 ++++++++++++++ srcpkgs/Uranium/template | 10 ++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/Uranium/patches/disable_code_style_test.patch diff --git a/srcpkgs/Uranium/patches/disable_code_style_test.patch b/srcpkgs/Uranium/patches/disable_code_style_test.patch new file mode 100644 index 00000000000..1b0bca44314 --- /dev/null +++ b/srcpkgs/Uranium/patches/disable_code_style_test.patch @@ -0,0 +1,14 @@ +diff --git a/cmake/UraniumTests.cmake b/cmake/UraniumTests.cmake +index 332b24c0..68a34acb 100644 +--- a/cmake/UraniumTests.cmake ++++ b/cmake/UraniumTests.cmake +@@ -49,8 +49,3 @@ foreach(_plugin ${_plugins}) + endif() + endforeach() + +-#Add code style test. +-add_test( +- NAME "code-style" +- COMMAND ${PYTHON_EXECUTABLE} run_mypy.py WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} +-) +\ No newline at end of file diff --git a/srcpkgs/Uranium/template b/srcpkgs/Uranium/template index 35a15a395aa..dab977f04b4 100644 --- a/srcpkgs/Uranium/template +++ b/srcpkgs/Uranium/template @@ -1,19 +1,21 @@ # Template file for 'Uranium' pkgname=Uranium -version=4.7.1 -revision=2 +version=4.10.0 +revision=1 build_style=cmake pycompile_dirs="usr/lib/uranium/plugins" -hostmakedepends="python3" +hostmakedepends="python3 gettext" depends="libArcus-python3 python3-PyQt5-opengl python3-PyQt5-quick python3-PyQt5-svg python3-numpy-stl python3-scipy qt5-quickcontrols qt5-quickcontrols2 python3-shapely python3-cryptography" +checkdepends="python3-pytest python3-mypy python3-certifi + python3-Twisted $depends" short_desc="Python framework for building Desktop applications" maintainer="Karl Nilsson " license="LGPL-3.0-or-later" homepage="https://github.com/Ultimaker/Uranium" distfiles="https://github.com/Ultimaker/Uranium/archive/${version}.tar.gz" -checksum=16a72ef9e73df86016ceff37a068e3d70a111223669bfa4f86608c29fdaacc0c +checksum=e72942b9e24ba0855f8a1184220a57e4af8a4ebcb8ced27973c18bfb1777d737 post_install() { vmkdir usr/share/uranium/cmake