[arch-commits] Commit in python-symengine/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 13 08:59:50 UTC 2021


    Date: Saturday, March 13, 2021 @ 08:59:49
  Author: arojas
Revision: 890015

archrelease: copy trunk to community-staging-x86_64

Added:
  python-symengine/repos/community-staging-x86_64/
  python-symengine/repos/community-staging-x86_64/PKGBUILD
    (from rev 890014, python-symengine/trunk/PKGBUILD)

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

Copied: python-symengine/repos/community-staging-x86_64/PKGBUILD (from rev 890014, python-symengine/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-03-13 08:59:49 UTC (rev 890015)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Lukas Spies <lukas (at) photoqt _dot_ org>
+
+pkgname=python-symengine
+_pkgname=symengine.py
+pkgver=0.6.1
+pkgrel=2
+arch=(x86_64)
+pkgdesc="Python wrappers for SymEngine"
+url="https://github.com/symengine/symengine.py"
+depends=(python symengine)
+makedepends=(cmake cython)
+license=(MIT)
+source=(https://github.com/symengine/symengine.py/archive/v$pkgver/$_pkgname-$pkgver.tar.gz)
+sha256sums=('8da65b0a693d19b0030461c655a223d20a9164d7d04dd1317c41d6988dc1ec96')
+
+build() {
+  cmake -B build -S $_pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $_pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list