Accepting request 519857 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/519857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Trolly?expand=0&rev=6
This commit is contained in:
2017-09-04 10:31:46 +00:00
committed by Git OBS Bridge
4 changed files with 40 additions and 25 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18596fa34b0efdda75fcb928d224803fd560c14847ceba34c86b10a9b4feeccc
size 12818

3
Trolly-0.2.2.zip Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67c5a5644a98b56c52fcdc8c23d473a6c5f6b6f54cab29950e627a2b81aa0ca3
size 14171

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Aug 31 07:07:44 UTC 2017 - toddrme2178@gmail.com
- update to version 0.2.2
* No upstream changelog
-------------------------------------------------------------------
Thu Aug 24 13:56:23 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Thu May 14 11:24:57 UTC 2015 - benoit.monin@gmx.fr
@@ -23,3 +34,4 @@ Wed Apr 10 08:40:39 UTC 2013 - speilicke@suse.com
- Initial version

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Trolly
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,47 +16,50 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-Trolly
Version: 0.2.1
Version: 0.2.2
Release: 0
Summary: Trello api
License: MIT
Group: Development/Languages/Python
Url: https://github.com/plish/Trolly
Source: http://pypi.python.org/packages/source/T/Trolly/Trolly-%{version}.zip
BuildRequires: python-devel
Source: https://files.pythonhosted.org/packages/source/T/Trolly/Trolly-%{version}.zip
BuildRequires: %{python_module devel}
BuildRequires: python-rpm-macros
BuildRequires: unzip
## Test requirements:
#BuildRequires: python-nose
#BuildRequires: python-httplib2
Requires: python-httplib2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module httplib2}
%endif
Requires: python-httplib2
BuildArch: noarch
%python_subpackages
%description
A Python wrapper around the Trello API. Provides a group of Python classes to represent Trello Objects. None of the
classes cache values as they are designed to be inherited and extended to suit the needs of each user. Each class
includes a basic set of methods based on general use cases. This library was based on work done by
[sarumont](https://github.com/sarumont/py-trello). Very little was kept from this code, but still props on the initial
A Python wrapper around the Trello API. Provides a group of Python classes to represent Trello Objects. None of the
classes cache values as they are designed to be inherited and extended to suit the needs of each user. Each class
includes a basic set of methods based on general use cases. This library was based on work done by
[sarumont](https://github.com/sarumont/py-trello). Very little was kept from this code, but still props on the initial
work.
%prep
%setup -q -n Trolly-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
#%%check
#nosetests
%if %{with test}
%check
%python_expand nosetests-%{$python_bin_suffix}
%endif
%files
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*