forked from pool/python-tortilla
Accepting request 767021 from home:mnhauke
Initial package for python-tortilla OBS-URL: https://build.opensuse.org/request/show/767021 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tortilla?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
26
python-tortilla.changes
Normal file
26
python-tortilla.changes
Normal file
@@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 20:44:32 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.5.0
|
||||
- Convert to singlespec
|
||||
- Run testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 18:45:52 UTC 2017 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- update to 0.4.2
|
||||
- Formatting code to make it more PEP-8 compliant
|
||||
- Simplify py2/3 compatibility code (remove compat module)
|
||||
- Enable/disable httpretty in setUp/tearDown methods in tests
|
||||
to make it works with all kind of test runners (like PyCharm
|
||||
test runner or nose)
|
||||
- Refactor run_from_ipython() implementation to make it pass
|
||||
static code analysis test (warns for missing __IPYTHON__)
|
||||
- Fix an issue with delay code when it was called for the first
|
||||
time and self._last_request_time is None
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 6 11:11:50 UTC 2016 - mardnh@gmx.de
|
||||
|
||||
- initial package, version 0.4.1
|
||||
|
67
python-tortilla.spec
Normal file
67
python-tortilla.spec
Normal file
@@ -0,0 +1,67 @@
|
||||
#
|
||||
# spec file for package python-kismet-rest
|
||||
#
|
||||
# Copyright (c) 2016-2020, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# 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-%{**}}
|
||||
Name: python-tortilla
|
||||
Version: 0.5.0
|
||||
Release: 0
|
||||
Summary: A library for creating wrappers around web APIs
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jcarbaugh/python-tortilla
|
||||
Source: https://github.com/tortilla/tortilla/archive/v%{version}.tar.gz#/tortilla-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module colorama}
|
||||
BuildRequires: %{python_module formats}
|
||||
BuildRequires: %{python_module httpretty}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
# /SECTION
|
||||
Requires: python-colorama
|
||||
Requires: python-formats
|
||||
Requires: python-httpretty
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Wrapping web APIs made easy.
|
||||
A tiny library for creating wrappers around web APIs.
|
||||
|
||||
%prep
|
||||
%setup -q -n tortilla-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/tortilla*
|
||||
|
||||
%changelog
|
3
tortilla-0.5.0.tar.gz
Normal file
3
tortilla-0.5.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71b131f780cba0071f0d031df86a14c198ddea286da24a6cb747e49022405730
|
||||
size 13285
|
Reference in New Issue
Block a user