archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / python-pysequoia / repos / community-x86_64 / PKGBUILD
blob5f2614f1bea72c9016ce0d7c7506bf0af2e78338
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 _name=pysequoia
4 pkgname=python-pysequoia
5 pkgver=0.1.19
6 pkgrel=2
7 pkgdesc="Provides OpenPGP facilities in Python through the Sequoia PGP library"
8 arch=(x86_64)
9 url="https://codeberg.org/wiktor/pysequoia"
10 license=(Apache)
11 groups=(sequoia)
12 depends=(
13   bzip2
14   gcc-libs
15   glibc
16   gmp
17   nettle
18   openssl
19   pcsclite
20   python
22 makedepends=(
23   clang
24   python-build
25   python-installer
26   python-maturin
27   python-wheel
29 source=($_name-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
30 sha512sums=('716e943e57273bd2fad8a01e2e5a4fe1c7c4f4a1150a9c69c215e3f022bf930d6b1922e23dcc914d17b50ebe6633fe20ef40a8cecc7ad6ea0765ea14421caa39')
31 b2sums=('5c0a947f86b1b01705f3069635e4fa2db77849e3ed79e326137815c423cca546c960bfc5b682a867fd40ef988600f9e18802fa2eeb386e7490bc4747aad4ddd8')
33 build() {
34   cd $_name
35   python -m build --wheel --no-isolation
38 package() {
39   cd $_name
40   python -m installer --destdir="$pkgdir" dist/*.whl
41   install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgnam/"