[arch-commits] Commit in libolm/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jonas Witschel
diabonas at gemini.archlinux.org
Mon May 30 21:11:34 UTC 2022
Date: Monday, May 30, 2022 @ 21:11:34
Author: diabonas
Revision: 1216873
archrelease: copy trunk to community-x86_64
Added:
libolm/repos/community-x86_64/PKGBUILD
(from rev 1216872, libolm/trunk/PKGBUILD)
Deleted:
libolm/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-30 21:11:07 UTC (rev 1216872)
+++ PKGBUILD 2022-05-30 21:11:34 UTC (rev 1216873)
@@ -1,55 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=('libolm' 'python-olm')
-pkgver=3.2.11
-_tag=2cecae78f5dacceb70174a3a050354cd6d624799 # git rev-parse "$pkgver"
-pkgrel=1
-pkgdesc='Implementation of the Olm and Megolm cryptographic ratchets'
-arch=('x86_64')
-url='https://gitlab.matrix.org/matrix-org/olm'
-license=('APACHE')
-makedepends=('git' 'cmake' 'python' 'python-build' 'python-cffi' 'python-future'
- 'python-installer' 'python-setuptools' 'python-wheel')
-checkdepends=('python-aspectlib' 'python-pytest' 'python-pytest-benchmark')
-options=('debug')
-source=("git+$url.git?signed#tag=$_tag")
-sha512sums=('SKIP')
-# PGP key can be obtained from https://packages.matrix.org/npm/olm/signing_key.asc
-validpgpkeys=('56CF24AEE5F4513280CC594BF75FDC22C1DE8453') # Matrix.org olm <olm at matrix.org>
-
-pkgver() {
- cd olm
- git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
-}
-
-build() {
- cd olm
- cmake -B build -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr
- cmake --build build
-
- cd python
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd olm/build/tests
- ctest
-
- cd ../../python
- PYTHONPATH="$(find build -name 'lib.*' -type d -print)" LD_LIBRARY_PATH=../build pytest
-}
-
-package_libolm() {
- depends=('gcc-libs')
- provides=('libolm.so')
-
- cd olm/build
- make DESTDIR="$pkgdir" install
-}
-
-package_python-olm() {
- pkgdesc='Python bindings for Olm'
- depends=('libolm' 'python' 'python-cffi' 'python-future' 'libolm.so')
-
- cd olm/python
- python -m installer --destdir="$pkgdir" dist/*.whl
-}
Copied: libolm/repos/community-x86_64/PKGBUILD (from rev 1216872, libolm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-30 21:11:34 UTC (rev 1216873)
@@ -0,0 +1,55 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=('libolm' 'python-olm')
+pkgver=3.2.12
+_tag=04408694428e6130500e82ed58363dce053e60d4 # git rev-parse "$pkgver"
+pkgrel=1
+pkgdesc='Implementation of the Olm and Megolm cryptographic ratchets'
+arch=('x86_64')
+url='https://gitlab.matrix.org/matrix-org/olm'
+license=('APACHE')
+makedepends=('git' 'cmake' 'python' 'python-build' 'python-cffi' 'python-future'
+ 'python-installer' 'python-setuptools' 'python-wheel')
+checkdepends=('python-aspectlib' 'python-pytest' 'python-pytest-benchmark')
+options=('debug')
+source=("git+$url.git?signed#tag=$_tag")
+sha512sums=('SKIP')
+# PGP key can be obtained from https://packages.matrix.org/npm/olm/signing_key.asc
+validpgpkeys=('56CF24AEE5F4513280CC594BF75FDC22C1DE8453') # Matrix.org olm <olm at matrix.org>
+
+pkgver() {
+ cd olm
+ git describe | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+build() {
+ cd olm
+ cmake -B build -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+
+ cd python
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd olm/build/tests
+ ctest
+
+ cd ../../python
+ PYTHONPATH="$(find build -name 'lib.*' -type d -print)" LD_LIBRARY_PATH=../build pytest
+}
+
+package_libolm() {
+ depends=('gcc-libs')
+ provides=('libolm.so')
+
+ cd olm/build
+ make DESTDIR="$pkgdir" install
+}
+
+package_python-olm() {
+ pkgdesc='Python bindings for Olm'
+ depends=('libolm' 'python' 'python-cffi' 'python-future' 'libolm.so')
+
+ cd olm/python
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list