30 lines
962 B
Bash
30 lines
962 B
Bash
# Template file for 'python-service_identity'
|
|
pkgname=python-service_identity
|
|
version=18.1.0
|
|
revision=5
|
|
wrksrc="service_identity-${version}"
|
|
build_style=python-module
|
|
pycompile_module="service_identity"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-attrs python-pyasn1-modules python-cryptography python-ipaddress"
|
|
short_desc="Service identity verification for Python (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://service-identity.readthedocs.org/"
|
|
distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz"
|
|
checksum=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-service_identity_package() {
|
|
depends="python3-attrs python3-pyasn1-modules python3-cryptography"
|
|
pycompile_module="service_identity"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|