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

Maxime Gauduin alucryd at gemini.archlinux.org
Mon Jun 6 08:49:06 UTC 2022


    Date: Monday, June 6, 2022 @ 08:49:06
  Author: alucryd
Revision: 1224695

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 46 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-06 08:48:59 UTC (rev 1224694)
+++ PKGBUILD	2022-06-06 08:49:06 UTC (rev 1224695)
@@ -1,51 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Grey Christoforo <first name [at] last name [dot] net>
-
-pkgname=uranium
-pkgver=5.0.0
-pkgrel=1
-pkgdesc="Python framework for building 3D printing related 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')
-options=('debug')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('3a6482c0698320ecb87f41f725565fdee1e99cb4258043130816d5181ead8603')
-
-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=None \
-    -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
-
-# Move cmake module to right dir
-  mv "$pkgdir"/usr/share/cmake{-*,}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: uranium/repos/community-staging-any/PKGBUILD (from rev 1224694, uranium/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-06 08:49:06 UTC (rev 1224695)
@@ -0,0 +1,46 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Grey Christoforo <first name [at] last name [dot] net>
+
+pkgname=uranium
+pkgver=5.0.0
+pkgrel=2
+pkgdesc="Python framework for building 3D printing related 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' 'ninja')
+checkdepends=('mypy' 'python-pytest' 'python-twisted')
+options=('debug')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('3a6482c0698320ecb87f41f725565fdee1e99cb4258043130816d5181ead8603')
+
+prepare() {
+  cd Uranium-${pkgver}
+  sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+}
+
+build() {
+  cmake -S Uranium-${pkgver} -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr
+
+  cmake --build build
+}
+
+check() {
+  cd build
+  # all tests fail atm
+  # ctest
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --install build
+
+# Move cmake module to right dir
+  mv "$pkgdir"/usr/share/cmake{-*,}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list