From ad9b7e0a2bf6b7d2f002c7c99bbfaf87b7de66d2 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 10 Apr 2016 20:11:13 +0200 Subject: [PATCH] New package: python-service_identity-16.0.0 --- srcpkgs/python-service_identity/template | 28 ++++++++++++++++++++++++ srcpkgs/python3.4-service_identity | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-service_identity/template create mode 120000 srcpkgs/python3.4-service_identity diff --git a/srcpkgs/python-service_identity/template b/srcpkgs/python-service_identity/template new file mode 100644 index 00000000000..34d5783b7ef --- /dev/null +++ b/srcpkgs/python-service_identity/template @@ -0,0 +1,28 @@ +# Template file for 'python-service_identity' +pkgname=python-service_identity +version=16.0.0 +revision=1 +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 " +license="MIT" +homepage="https://service-identity.readthedocs.org/" +distfiles="${PYPI_SITE}/s/service_identity/service_identity-${version}.tar.gz" +checksum=0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036 + +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() { + vmove usr/lib/python3.4 + } +} diff --git a/srcpkgs/python3.4-service_identity b/srcpkgs/python3.4-service_identity new file mode 120000 index 00000000000..d6ce3b6c55a --- /dev/null +++ b/srcpkgs/python3.4-service_identity @@ -0,0 +1 @@ +python-service_identity \ No newline at end of file