[arch-commits] Commit in sequoia/repos/community-x86_64 (PKGBUILD PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Tue Nov 16 18:06:31 UTC 2021
Date: Tuesday, November 16, 2021 @ 18:06:31
Author: freswa
Revision: 1048828
archrelease: copy trunk to community-x86_64
Added:
sequoia/repos/community-x86_64/PKGBUILD
(from rev 1048827, sequoia/trunk/PKGBUILD)
Deleted:
sequoia/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 132 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 68 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-16 18:06:28 UTC (rev 1048827)
+++ PKGBUILD 2021-11-16 18:06:31 UTC (rev 1048828)
@@ -1,64 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Kai Michaelis <kai at sequoia-pgp.org>
-
-pkgbase=sequoia
-pkgname=(sequoia-ffi python-sequoia)
-pkgver=1.5.0
-pkgrel=2
-pkgdesc='Cool new OpenPGP implementation'
-url='https://sequoia-pgp.org/'
-arch=('x86_64')
-license=('LGPL2')
-groups=('sequoia')
-makedepends=('git' 'cargo' 'clang' 'python' 'python-setuptools' 'python-cffi'
- 'glibc' 'nettle' 'sqlite' 'capnproto' 'openssl' 'gcc-libs' 'gmp'
- 'bzip2' 'libbz2.so' 'libhogweed.so' 'libnettle.so')
-checkdepends=('python-pytest' 'python-pytest-runner')
-options=('!makeflags')
-source=(sequoia::"git+https://gitlab.com/sequoia-pgp/sequoia.git#tag=openpgp/v${pkgver}?signed")
-sha512sums=('SKIP')
-validpgpkeys=(
- D2F2C5D45BE9FDE6A4EE0AAF31855247603831FD # justus at sequoia-pgp.org
- CBCD8F030588653EEDD7E2659B7DD433F254904A # justus at sequoia-pgp.org
-)
-
-prepare() {
- cd ${pkgbase}
- sed 's/debug/release/g' -i -- */Makefile */*/Makefile */*/*/Makefile
- sed "s/-L/${LDFLAGS},-L/g" -i ffi/lang/python/Makefile
- ln -s .Makefile Makefile
-}
-
-build() {
- cd ${pkgbase}
- make PREFIX=/usr CARGO_FLAGS='--locked' build-release
-}
-
-check() {
- cd ${pkgbase}
- cargo test --release --locked \
- --workspace \
- --exclude sequoia-store
- # python tests currently fail horribly
- # make -C ffi/lang/python test
-}
-
-package_sequoia-ffi() {
- pkgdesc='C API for Sequoia'
- depends=('glibc' 'nettle' 'libhogweed.so' 'libnettle.so' 'sqlite' 'capnproto'
- 'openssl' 'gcc-libs' 'gmp' 'bzip2' 'libbz2.so')
- cd ${pkgbase}
- make DESTDIR="${pkgdir}" PREFIX=/usr CARGO_FLAGS='--locked' install
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- rm -rf "${pkgdir}/usr/lib/python"*
- rm -rf "${pkgdir}"{/usr/share/bash-completion/,/usr/share/zsh/,/usr/share/fish/,/usr/bin/}
-}
-
-package_python-sequoia() {
- depends=('python' 'python-cffi' 'sequoia-ffi')
- pkgdesc+=' - python bindings'
- cd ${pkgbase}
- make -C ffi/lang/python DESTDIR="${pkgdir}" PREFIX=/usr install
-}
-
-# vim: ts=2 sw=2 et:
Copied: sequoia/repos/community-x86_64/PKGBUILD (from rev 1048827, sequoia/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-16 18:06:31 UTC (rev 1048828)
@@ -0,0 +1,68 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Kai Michaelis <kai at sequoia-pgp.org>
+
+pkgbase=sequoia
+pkgname=(sequoia-ffi python-sequoia)
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='Cool new OpenPGP implementation'
+url='https://sequoia-pgp.org/'
+arch=('x86_64')
+license=('custom:LGPL2')
+groups=('sequoia')
+makedepends=('git' 'cargo' 'clang' 'python' 'python-setuptools' 'python-cffi'
+ 'glibc' 'nettle' 'sqlite' 'capnproto' 'openssl' 'gcc-libs' 'gmp'
+ 'bzip2' 'libbz2.so' 'libhogweed.so' 'libnettle.so')
+checkdepends=('python-pytest' 'python-pytest-runner')
+options=('!makeflags')
+source=(sequoia::"git+https://gitlab.com/sequoia-pgp/sequoia.git#tag=openpgp/v${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=(
+ D2F2C5D45BE9FDE6A4EE0AAF31855247603831FD # justus at sequoia-pgp.org
+ CBCD8F030588653EEDD7E2659B7DD433F254904A # justus at sequoia-pgp.org
+)
+
+prepare() {
+ cd ${pkgbase}
+ sed 's/debug/release/g' -i -- */Makefile */*/Makefile */*/*/Makefile
+ sed "s/-L/${LDFLAGS},-L/g" -i ffi/lang/python/Makefile
+ ln -s .Makefile Makefile
+}
+
+build() {
+ cd ${pkgbase}
+ make PREFIX=/usr CARGO_FLAGS='--locked' build-release
+}
+
+check() {
+ cd ${pkgbase}
+ cargo test --release --locked \
+ --workspace \
+ --exclude sequoia-store
+ # python tests currently fail horribly
+ # make -C ffi/lang/python test
+}
+
+package_sequoia-ffi() {
+ pkgdesc='C API for Sequoia'
+ depends=('glibc' 'nettle' 'libhogweed.so' 'libnettle.so' 'sqlite' 'capnproto'
+ 'openssl' 'gcc-libs' 'gmp' 'bzip2' 'libbz2.so')
+ cd ${pkgbase}
+ make DESTDIR="${pkgdir}" PREFIX=/usr CARGO_FLAGS='--locked' install
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ rm -rf "${pkgdir}/usr/lib/python"*
+ rm -rf "${pkgdir}"{/usr/share/bash-completion/,/usr/share/zsh/,/usr/share/fish/,/usr/bin/}
+
+ install -Dm0644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python-sequoia() {
+ depends=('python' 'python-cffi' 'sequoia-ffi')
+ pkgdesc+=' - python bindings'
+ cd ${pkgbase}
+ make -C ffi/lang/python DESTDIR="${pkgdir}" PREFIX=/usr install
+
+ install -Dm0644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list