python-service_identity: split python3-service_identity

This commit is contained in:
Michal Vasilek 2023-06-17 20:38:13 +02:00
parent 971865ea68
commit 29ea67d728
3 changed files with 21 additions and 13 deletions

View file

@ -2,9 +2,9 @@
pkgname=python-service_identity pkgname=python-service_identity
version=18.1.0 version=18.1.0
revision=7 revision=7
build_style=python-module build_style=python2-module
pycompile_module="service_identity" pycompile_module="service_identity"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools"
depends="python-attrs python-pyasn1-modules python-cryptography python-ipaddress" depends="python-attrs python-pyasn1-modules python-cryptography python-ipaddress"
short_desc="Service identity verification for Python (Python2)" short_desc="Service identity verification for Python (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
@ -17,13 +17,3 @@ checksum=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }
python3-service_identity_package() {
depends="python3-attrs python3-pyasn1-modules python3-cryptography python3-six"
pycompile_module="service_identity"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-service_identity

View file

@ -0,0 +1,19 @@
# Template file for 'python3-service_identity'
pkgname=python3-service_identity
version=18.1.0
revision=7
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-attrs python3-pyasn1-modules python3-cryptography python3-six"
checkdepends="${depends}"
short_desc="Service identity verification for Python (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://service-identity.readthedocs.org/"
changelog="https://raw.githubusercontent.com/pyca/service-identity/main/CHANGELOG.rst"
distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz"
checksum=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d
post_install() {
vlicense LICENSE
}