[arch-commits] Commit in uranium/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Mar 28 23:00:20 UTC 2020


    Date: Saturday, March 28, 2020 @ 23:00:20
  Author: jelle
Revision: 605640

archrelease: copy trunk to community-any

Added:
  uranium/repos/community-any/PKGBUILD
    (from rev 605639, uranium/trunk/PKGBUILD)
Deleted:
  uranium/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 46 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-28 23:00:13 UTC (rev 605639)
+++ PKGBUILD	2020-03-28 23:00:20 UTC (rev 605640)
@@ -1,40 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: Grey Christoforo <first name [at] last name [dot] net>
-
-pkgname=uranium
-pkgver=4.4.0
-pkgrel=4
-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')
-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')
-
-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() {
-  cd Uranium-${pkgver}
-  mkdir -p build && cd build
-
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release
-  make
-}
-
-package() {
-  cd Uranium-${pkgver}/build
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: uranium/repos/community-any/PKGBUILD (from rev 605639, uranium/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-28 23:00:20 UTC (rev 605640)
@@ -0,0 +1,46 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=uranium
+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' 'python-scipy' 'python-cryptography' 'python-certifi')
+makedepends=('cmake')
+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
+}
+
+build() {
+  cd Uranium-${pkgver}
+  mkdir -p build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list