From 378328b9bea56c395989c1a285a9816a936653f8 Mon Sep 17 00:00:00 2001 From: Pulux Date: Tue, 28 Jan 2020 17:41:16 +0100 Subject: [PATCH] New package: python-pocua-0.98.9 --- srcpkgs/python-opcua/template | 29 +++++++++++++++++++++++++++++ srcpkgs/python3-opcua | 1 + 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/python-opcua/template create mode 120000 srcpkgs/python3-opcua diff --git a/srcpkgs/python-opcua/template b/srcpkgs/python-opcua/template new file mode 100644 index 00000000000..7256ee1ecef --- /dev/null +++ b/srcpkgs/python-opcua/template @@ -0,0 +1,29 @@ +# Template file for 'python-opcua' +pkgname=python-opcua +version=0.98.9 +revision=1 +archs=noarch +wrksrc="opcua-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools" +depends="python-cryptography python-dateutil python-lxml" +short_desc="Pure Pytho2n OPC-UA client and server library" +maintainer="Pulux " +license="MIT" +homepage="http://freeopcua.github.io/" +distfiles="${PY_SITE}/o/opcua/opcua-${version}.tar.gz" +checksum=cff42f65dc8aa0752d6e0c416be40298009a0b6001c71109b3032f70816fc779 + +post_install() { + vlicense LICENSE +} + +python3-opcua_package() { + archs=noarch + depends="python3-cryptography python3-dateutil python3-lxml" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-opcua b/srcpkgs/python3-opcua new file mode 120000 index 00000000000..654c22c6d22 --- /dev/null +++ b/srcpkgs/python3-opcua @@ -0,0 +1 @@ +python-opcua \ No newline at end of file