From 34cdf518895e8f3e6fa7ad793968b1575d4607d4fcf7bcc3c464c96ad3d5ee3c Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 6 Sep 2017 17:47:18 +0000 Subject: [PATCH] - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-gnupg-0.4.1.tar.gz | 3 ++ python-python-gnupg.changes | 4 +++ python-python-gnupg.spec | 65 +++++++++++++++++++++++++++++++++++++ 5 files changed, 96 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-gnupg-0.4.1.tar.gz create mode 100644 python-python-gnupg.changes create mode 100644 python-python-gnupg.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-gnupg-0.4.1.tar.gz b/python-gnupg-0.4.1.tar.gz new file mode 100644 index 0000000..8d079ed --- /dev/null +++ b/python-gnupg-0.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef47b02eaf41dee3cf4b02ddf83130827318de9fe3eae89d01a3f05859e20e1a +size 44534 diff --git a/python-python-gnupg.changes b/python-python-gnupg.changes new file mode 100644 index 0000000..36a35fd --- /dev/null +++ b/python-python-gnupg.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Sep 6 17:29:32 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-python-gnupg.spec b/python-python-gnupg.spec new file mode 100644 index 0000000..1c52123 --- /dev/null +++ b/python-python-gnupg.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-python-gnupg +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test +Name: python-python-gnupg +Version: 0.4.1 +Release: 0 +Summary: A wrapper for the Gnu Privacy Guard (GPG or GnuPG) +License: BSD-3-Clause +Group: Development/Languages/Python +Url: http://pythonhosted.org/python-gnupg/index.html +Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: gpg2 +%endif +Requires: gpg2 +BuildArch: noarch + +%python_subpackages + +%description +This module allows easy access to GnuPG's key management, +encryption and signature functionality from Python programs. + +%prep +%setup -q -n python-gnupg-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec test_gnupg.py +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc LICENSE.txt README.rst +%{python_sitelib}/* + +%changelog