commit 3bb8c94a835b305244c0f7dfd95a06767b06bf3d86cc066edb01913d9ddd4515 Author: Tomáš Chvátal Date: Sat Mar 2 14:13:21 2019 +0000 Accepting request 680753 from home:jayvdb:coala:python3-bears - Initial spec for v0.1.9 OBS-URL: https://build.opensuse.org/request/show/680753 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarg?expand=0&rev=1 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-yarg.changes b/python-yarg.changes new file mode 100644 index 0000000..6b3a891 --- /dev/null +++ b/python-yarg.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Mar 1 01:57:33 PM UTC 2019 - John Vandenberg + +- Initial spec for v0.1.9 diff --git a/python-yarg.spec b/python-yarg.spec new file mode 100644 index 0000000..7184eed --- /dev/null +++ b/python-yarg.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-yarg +# +# Copyright (c) 2019 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-yarg +Version: 0.1.9 +Release: 0 +Summary: A PyPI client +License: MIT +Group: Development/Languages/Python +URL: https://yarg.readthedocs.org/ +Source: https://files.pythonhosted.org/packages/source/y/yarg/yarg-%{version}.tar.gz +Source1: test-data-cf67924.tgz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-requests +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module mock} +BuildRequires: %{python_module requests} +# /SECTION +%python_subpackages + +%description +A PyPI client. + +%prep +%setup -q -n yarg-%{version} +tar -xzf %{SOURCE1} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand rm -r %{buildroot}%{$python_sitelib}/tests + +%check +%python_exec setup.py test + +%files %{python_files} +%doc CHANGES.rst README.rst +%license LICENSE LICENSE-REQUESTS +%{python_sitelib}/* + +%changelog diff --git a/test-data-cf67924.tgz b/test-data-cf67924.tgz new file mode 100644 index 0000000..c69c5d4 --- /dev/null +++ b/test-data-cf67924.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6beee682504b24c5a94712ea50a414df08925d81a075340a60c582b108b9f01 +size 2298 diff --git a/yarg-0.1.9.tar.gz b/yarg-0.1.9.tar.gz new file mode 100644 index 0000000..fb847fe --- /dev/null +++ b/yarg-0.1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55695bf4d1e3e7f756496c36a69ba32c40d18f821e38f61d028f6049e5e15911 +size 11988