New package: Uranium-2.7.0

This commit is contained in:
Rui Abreu Ferreira 2017-06-28 16:43:13 +01:00 committed by Michael Aldridge
parent 7f065754d3
commit 467e290216
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,16 @@
diff --git CMakeLists.txt CMakeLists.txt
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -45,11 +45,7 @@ add_custom_target(extract-messages ${CMAKE_SOURCE_DIR}/scripts/extract-messages
# Build Translations
CREATE_TRANSLATION_TARGETS()
-if(APPLE OR WIN32)
- install(DIRECTORY UM DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages)
-else()
- install(DIRECTORY UM DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages)
-endif()
+install(DIRECTORY UM DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages)
install(FILES ${CMAKE_SOURCE_DIR}/cmake/UraniumTranslationTools.cmake
DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules/ )
install(DIRECTORY resources DESTINATION ${CMAKE_INSTALL_DATADIR}/uranium)

16
srcpkgs/Uranium/template Normal file
View file

@ -0,0 +1,16 @@
# Template file for 'Uranium'
pkgname=Uranium
version=2.7.0
revision=1
python_version=3
build_style=cmake
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="libArcus-python3 python3-numpy python3-PyQt5 python3-PyQt5-quick
python3-PyQt5-opengl python3-PyQt5-svg python3-scipy python3-numpy-stl"
short_desc="A Python framework for building Desktop applications"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="AGPL-3"
homepage="https://github.com/Ultimaker/Uranium"
distfiles="https://github.com/Ultimaker/Uranium/archive/${version}.tar.gz"
checksum=367a6408413bd5cfd8121745f2ae0d855ac0895c7c14326bfd4c9227223ed87b