[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sat Aug 15 12:02:57 UTC 2020


    Date: Saturday, August 15, 2020 @ 12:02:56
  Author: jelle
Revision: 679683

Optional dependency for Cura

Added:
  python-libcharon/
  python-libcharon/repos/
  python-libcharon/trunk/
  python-libcharon/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: python-libcharon/trunk/PKGBUILD
===================================================================
--- python-libcharon/trunk/PKGBUILD	                        (rev 0)
+++ python-libcharon/trunk/PKGBUILD	2020-08-15 12:02:56 UTC (rev 679683)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-libcharon
+pkgver=4.6.2
+pkgrel=1
+pkgdesc="Python File metadata and streaming library"
+url="https://github.com/Ultimaker/libCharon"
+arch=(any)
+license=("AGPL")
+depends=('python' 'python-dbus')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=(libcharon-$pkgver.tar.gz::https://github.com/Ultimaker/libCharon/archive/${pkgver}.tar.gz)
+sha512sums=('c3b5f62027fa8f9764b744a3becf0f9083ac08ad4bff8f38cdad57d038638640eb444f011985969a01dc8f84606fce13efc8aa669fd5c088d8748508514cb69d')
+
+build() {
+  cd libCharon-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd libCharon-$pkgver
+  pytest tests
+}
+
+package() {
+  cd libCharon-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list