forked from pool/python-phabricator
Accepting request 896591 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/896591 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-phabricator?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b0417ff6682f898019d40b0ff5fc41bc213440c416ce4ad21ff2743e0e9bb2b
|
||||
size 19558
|
||||
3
phabricator-0.8.1.tar.gz
Normal file
3
phabricator-0.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7988762520b5f1ea3f8ab2cef42a92b4357283458250195ac12f94b12e57ba0
|
||||
size 20908
|
||||
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 1 07:51:34 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.8.1
|
||||
* Fixed bug where built-in interface dict overwrote `interface`
|
||||
methods from Almanac (`interface.search`, `interface.edit`).
|
||||
The `Resource` attribute `interface` is renamed `_interface`.
|
||||
* Switch to using requests
|
||||
* Allow library to be used from a zip archive
|
||||
* Deprecated parameters are now set to optional
|
||||
* Fixed bug where instance attribute was shadowing API endpoint
|
||||
* Update interfaces.json
|
||||
* Update README
|
||||
- %check: use %pyunittest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 2 02:00:01 UTC 2019 - Simon Lees <sflees@suse.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-phabricator
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,32 +12,35 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-phabricator
|
||||
Version: 0.7.0
|
||||
Version: 0.8.1
|
||||
Release: 0
|
||||
License: Apache-2.0
|
||||
Summary: Phabricator API Bindings
|
||||
Url: http://github.com/disqus/python-phabricator
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/p/phabricator/phabricator-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
# For tests
|
||||
BuildRequires: %{python_module mock}
|
||||
URL: https://github.com/disqus/python-phabricator
|
||||
Source: https://github.com/disqus/python-phabricator/archive/refs/tags/%{version}.tar.gz#/phabricator-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module requests >= 2.22}
|
||||
BuildRequires: %{python_module responses >= 0.12}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests >= 2.22
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Phabricator API Bindings
|
||||
|
||||
%prep
|
||||
%setup -q -n phabricator-%{version}
|
||||
%setup -q -n python-phabricator-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -47,8 +50,7 @@ Phabricator API Bindings
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Tests currently broken
|
||||
#%%python_exec setup.py test
|
||||
%pyunittest discover -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user