[arch-commits] Commit in uranium/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Mar 28 23:00:14 UTC 2020
Date: Saturday, March 28, 2020 @ 23:00:13
Author: jelle
Revision: 605639
upgpkg: uranium 4.5.0-1
Upstream update
Modified:
uranium/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-28 22:59:55 UTC (rev 605638)
+++ PKGBUILD 2020-03-28 23:00:13 UTC (rev 605639)
@@ -2,24 +2,22 @@
# Contributor: Grey Christoforo <first name [at] last name [dot] net>
pkgname=uranium
-pkgver=4.4.0
-pkgrel=4
+pkgver=4.5.0
+pkgrel=1
pkgdesc="A Python framework for building Desktop applications."
url="https://github.com/Ultimaker/Uranium"
arch=('any')
license=('LGPL')
-depends=('python' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'python-pyqt5' 'python-numpy' 'arcus' 'python-shapely')
+depends=('python' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'python-pyqt5' 'python-numpy'
+ 'arcus' 'python-shapely' 'python-scipy' 'python-cryptography' 'python-certifi')
makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz"
- "fix-crash.patch::https://github.com/Ultimaker/Uranium/commit/78fa9ab2dd8ab117a512e0ae3ce9d8cb93dc89d4.patch")
-sha256sums=('6906804add202b19931e01844f418256168e560265b217e725a4d9d0acf21800'
- '6318fac94328cf2e20ca80f8470637cb0a76429b1d022b94d52f0bcae3fe8e71')
+checkdepends=('mypy' 'python-pytest' 'python-twisted')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('8149f18305225c453296261d8553117caba121300e6f0add79b827afc3e7b14a')
prepare() {
cd Uranium-${pkgver}
sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
-
- patch -Np1 -i $srcdir/fix-crash.patch
}
build() {
@@ -28,10 +26,18 @@
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=ON
+
make
}
+check() {
+ cd Uranium-${pkgver}/build
+ # few tests fail atm
+ #make CTEST_OUTPUT_ON_FAILURE=TRUE test
+}
+
package() {
cd Uranium-${pkgver}/build
make DESTDIR="${pkgdir}" install
More information about the arch-commits
mailing list