33 lines
1,016 B
Bash
33 lines
1,016 B
Bash
# Template file for 'python-service_identity'
|
|
pkgname=python-service_identity
|
|
version=16.0.0
|
|
revision=2
|
|
noarch=yes
|
|
wrksrc="service_identity-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
pycompile_module="service_identity"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python-attrs python-idna python-pyasn1-modules"
|
|
short_desc="Service identity verification for pyOpenSSL - Python2"
|
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
|
license="MIT"
|
|
homepage="https://service-identity.readthedocs.org/"
|
|
distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz"
|
|
checksum=0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-service_identity_package() {
|
|
noarch=yes
|
|
depends="python3.4-attrs python3.4-idna python3.4-pyasn1-modules"
|
|
pycompile_version="3.4"
|
|
pycompile_module="service_identity"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|