commit f227b68bb1d9d2d1eed78577f32d043b08a0e025de85e1432a6700f805b7f093 Author: Markéta Machová Date: Thu Nov 19 10:08:27 2020 +0000 Accepting request 849092 from home:jayvdb:py-submit copr tools OBS-URL: https://build.opensuse.org/request/show/849092 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-copr?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.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 +*.tar 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..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/copr-1.106.tar.gz b/copr-1.106.tar.gz new file mode 100644 index 0000000..902077c --- /dev/null +++ b/copr-1.106.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de7688f50170caab4ae2dcb09d5fa93854cec04a6157a54c412f358642343b14 +size 83528 diff --git a/python-copr.changes b/python-copr.changes new file mode 100644 index 0000000..cfbcf7f --- /dev/null +++ b/python-copr.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Nov 17 07:54:02 AM UTC 2020 - John Vandenberg + +- Initial spec for v1.106 diff --git a/python-copr.spec b/python-copr.spec new file mode 100644 index 0000000..b10b643 --- /dev/null +++ b/python-copr.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-copr +# +# Copyright (c) 2020 SUSE LLC +# +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-copr +Version: 1.106 +Release: 0 +Summary: Python client for copr service +License: GPL-2.0+ +URL: https://pagure.io/copr/copr +Source: https://files.pythonhosted.org/packages/source/c/copr/copr-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +# SECTION test requirements +BuildRequires: %{python_module marshmallow} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module munch} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module requests-toolbelt} +BuildRequires: %{python_module six} +# /SECTION +BuildRequires: fdupes +Requires: python-marshmallow +Requires: python-munch +Requires: python-requests +Requires: python-requests-toolbelt +Requires: python-six +BuildArch: noarch +%python_subpackages + +%description +Python client for copr service. + +%prep +%setup -q -n copr-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%{python_sitelib}/* + +%changelog