From 63b5113b9487e1c4c17d84b5ec75a3fea2e9ae69 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Fri, 16 Jun 2017 08:21:48 +0200 Subject: [PATCH] New package: python-SecretStorage-2.3.1 --- srcpkgs/python-SecretStorage/template | 30 +++++++++++++++++++++++++++ srcpkgs/python3-SecretStorage | 1 + 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/python-SecretStorage/template create mode 120000 srcpkgs/python3-SecretStorage diff --git a/srcpkgs/python-SecretStorage/template b/srcpkgs/python-SecretStorage/template new file mode 100644 index 00000000000..f3cdcecb8d5 --- /dev/null +++ b/srcpkgs/python-SecretStorage/template @@ -0,0 +1,30 @@ +# Template file for 'python-SecretStorage' +pkgname=python-SecretStorage +version=2.3.1 +revision=1 +wrksrc="SecretStorage-${version}" +build_style=python-module +noarch=yes +pycompile_module="secretstorage" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-cryptography python3-cryptography" +short_desc="Python bindings to FreeDesktop.org Secret Service API" +maintainer="Helmut Pozimski " +license="BSD" +homepage="https://github.com/mitya57/secretstorage" +distfiles="${PYPI_SITE}/S/SecretStorage/SecretStorage-${version}.tar.gz" +checksum=3af65c87765323e6f64c83575b05393f9e003431959c9395d1791d51497f29b6 + +post_install() { + vlicense LICENSE +} + +python3-SecretStorage_package() { + noarch=yes + pycompile_module="secretstorage" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vlicense LICENSE + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-SecretStorage b/srcpkgs/python3-SecretStorage new file mode 120000 index 00000000000..8710e533291 --- /dev/null +++ b/srcpkgs/python3-SecretStorage @@ -0,0 +1 @@ +python-SecretStorage \ No newline at end of file