blob: b86d5885f5f94f66190ef1d330b2eeedde8689db (
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
|
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
_base=CryptoParser
pkgname=python-${_base,,}
pkgver=1.0.0
pkgrel=1
pkgdesc="Cryptographic protocol parser"
arch=(any)
url="https://gitlab.com/coroner/${_base}"
license=(MPL-2.0)
depends=(python-cryptodatahub)
makedepends=(python-build python-installer python-setuptools python-wheel)
source=(https://gitlab.com/coroner/${_base}/-/archive/v${pkgver}/${_base,,}-v${pkgver}.tar.gz)
sha512sums=('d0ff894fcd1636bdc46350fdb811ba9bc2d3b07e2e50a554e9ffe0c4bf9f0f71b283ab90a7b14c1cb6bc86d388930b7808a2331dff7ac697540ed3dc0c3006f9')
build() {
cd ${_base,,}-v${pkgver}
python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd ${_base,,}-v${pkgver}
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl
}
|