From 29ea67d72805c426bdf01bb38a24774dfc44220b Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 17 Jun 2023 20:38:13 +0200 Subject: [PATCH] python-service_identity: split python3-service_identity --- srcpkgs/python-service_identity/template | 14 ++------------ srcpkgs/python3-service_identity | 1 - srcpkgs/python3-service_identity/template | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 13 deletions(-) delete mode 120000 srcpkgs/python3-service_identity create mode 100644 srcpkgs/python3-service_identity/template diff --git a/srcpkgs/python-service_identity/template b/srcpkgs/python-service_identity/template index 4e574ed3443..87e64c77030 100644 --- a/srcpkgs/python-service_identity/template +++ b/srcpkgs/python-service_identity/template @@ -2,9 +2,9 @@ pkgname=python-service_identity version=18.1.0 revision=7 -build_style=python-module +build_style=python2-module pycompile_module="service_identity" -hostmakedepends="python-setuptools python3-setuptools" +hostmakedepends="python-setuptools" depends="python-attrs python-pyasn1-modules python-cryptography python-ipaddress" short_desc="Service identity verification for Python (Python2)" maintainer="Orphaned " @@ -17,13 +17,3 @@ checksum=0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d post_install() { 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* - } -} diff --git a/srcpkgs/python3-service_identity b/srcpkgs/python3-service_identity deleted file mode 120000 index d6ce3b6c55a..00000000000 --- a/srcpkgs/python3-service_identity +++ /dev/null @@ -1 +0,0 @@ -python-service_identity \ No newline at end of file diff --git a/srcpkgs/python3-service_identity/template b/srcpkgs/python3-service_identity/template new file mode 100644 index 00000000000..a37cbbde67c --- /dev/null +++ b/srcpkgs/python3-service_identity/template @@ -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 " +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 +}