blob: d788f9f92914a6dc00d9d9ee5cbaee75f704b84f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: C. Dominik Bódi <dominik dot bodi at gmx dot de>
pkgname=python-johnnycanencrypt-git
_pkgbase=johnnycanencrypt
pkgver=r246.84408e9
pkgrel=2
epoch=
pkgdesc="Python module for OpenPGP written in Rust"
arch=('any')
url="https://github.com/kushaldas/johnnycanencrypt"
license=('GPL')
depends=(gmp
mypy
nettle
pcsclite
python-httpx)
makedepends=(git
maturin
python-pip
clang)
provides=(python-johnnycanencrypt)
source=("git+https://github.com/kushaldas/$_pkgbase")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgbase"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgbase"
maturin build --release --no-sdist --manylinux off
}
package() {
cd "$_pkgbase/target/wheels"
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps --compile *.whl
}
|