void-packages/srcpkgs/python3-josepy/template

21 lines
746 B
Bash

# Template file for 'python3-josepy'
pkgname=python3-josepy
version=1.13.0
revision=1
wrksrc="josepy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-cryptography python3-openssl python3-setuptools python3-six"
checkdepends="python3-pytest-flake8 python3-mock $depends"
short_desc="JOSE protocol implementation in Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/certbot/josepy"
changelog="https://raw.githubusercontent.com/certbot/josepy/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/j/josepy/josepy-${version}.tar.gz"
checksum=8931daf38f8a4c85274a0e8b7cb25addfd8d1f28f9fb8fbed053dd51aec75dc9
pre_check() {
vsed -e '/addopts/d' -i pytest.ini
}