38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
# Template file for 'python-service_identity'
|
|
pkgname=python-service_identity
|
|
version=17.0.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="service_identity-${version}"
|
|
build_style=python-module
|
|
pycompile_module="service_identity"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-attrs python-pyasn1-modules python-openssl"
|
|
short_desc="Service identity verification for pyOpenSSL (Python2)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://service-identity.readthedocs.org/"
|
|
distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz"
|
|
checksum=4001fbb3da19e0df22c47a06d29681a398473af4aa9d745eca525b3b2c2302ab
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-service_identity_package() {
|
|
noarch=yes
|
|
depends="python3-attrs python3-pyasn1-modules python3-openssl"
|
|
pycompile_module="service_identity"
|
|
replaces="python3.4-service_identity>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-service_identity_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-service_identity>=${version}_${revision}"
|
|
}
|