From 66c86b3d5bb53018ea9a910adfd7ad70ff70b09ea8b41481b201c4bd9642fa4d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 17 May 2021 13:04:50 +0000 Subject: [PATCH] Accepting request 893742 from home:mcepl New package. OBS-URL: https://build.opensuse.org/request/show/893742 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib-gssapi?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-urllib-gssapi.changes | 10 ++++++ python-urllib-gssapi.spec | 60 ++++++++++++++++++++++++++++++++++++ urllib-gssapi-1.0.2.tar.gz | 3 ++ 5 files changed, 97 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-urllib-gssapi.changes create mode 100644 python-urllib-gssapi.spec create mode 100644 urllib-gssapi-1.0.2.tar.gz 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-urllib-gssapi.changes b/python-urllib-gssapi.changes new file mode 100644 index 0000000..ca2522c --- /dev/null +++ b/python-urllib-gssapi.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Mon May 17 12:57:23 UTC 2021 - Matej Cepl + +- Update to 1.0.2: + - mostly just cleanup + +------------------------------------------------------------------- +Sat Sep 22 07:48:45 UTC 2018 - Matěj Cepl + +- Initial effort to package 1.0.1 version diff --git a/python-urllib-gssapi.spec b/python-urllib-gssapi.spec new file mode 100644 index 0000000..1e6fcba --- /dev/null +++ b/python-urllib-gssapi.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-urllib_gssapi +# +# Copyright (c) 2018 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 https://bugs.opensuse.org/ +# + + +%define modname urllib-gssapi +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-%{modname} +Version: 1.0.2 +Release: 0 +Summary: GSSAPI over HTTP Negotiate/SPNEGO support for urllib/urllib2 +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/pythongssapi/urllib-gssapi +Source: https://github.com/pythongssapi/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module gssapi} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-gssapi +BuildArch: noarch +%python_subpackages + +%description +%{modname} is a backend for urllib. It provides GSSAPI/SPNEGO +authentication to HTTP servers. %{modname} replaces +urllib_kerberos and behaves in the same ways. + +%prep +%autosetup -p1 -n %{modname}-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +# Tests don't test anything, #gh#pythongssapi/urllib-gssapi#1 +# %%check + +%files %{python_files} +%license COPYING +%doc README.md +%{python_sitelib}/urllib_gssapi* + +%changelog diff --git a/urllib-gssapi-1.0.2.tar.gz b/urllib-gssapi-1.0.2.tar.gz new file mode 100644 index 0000000..4d1ffbd --- /dev/null +++ b/urllib-gssapi-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a269113fc9914fc2c39f3808ec2df0d2dbb6885b58ecc2887a710229e7c6eea +size 8077