forked from pool/python-warlock
Accepting request 705263 from devel:languages:python
- Update to 1.3.2: * README failed parsing in non utf-8 environments. Enforce encoding. #37 * Move unittests to tests/ directory * Upstream no longer ships tests on pypi OBS-URL: https://build.opensuse.org/request/show/705263 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-warlock?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 24 13:56:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.3.2:
|
||||
* README failed parsing in non utf-8 environments. Enforce encoding. #37
|
||||
* Move unittests to tests/ directory
|
||||
* Upstream no longer ships tests on pypi
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:55:54 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-warlock
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -18,25 +18,24 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-warlock
|
||||
Version: 1.3.0
|
||||
Version: 1.3.3
|
||||
Release: 0
|
||||
Summary: Python object model built on top of JSON schema
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/bcwaldon/warlock
|
||||
URL: http://github.com/bcwaldon/warlock
|
||||
Source: https://files.pythonhosted.org/packages/source/w/warlock/warlock-%{version}.tar.gz
|
||||
BuildRequires: %{python_module jsonpatch}
|
||||
BuildRequires: %{python_module jsonschema}
|
||||
BuildRequires: %{python_module jsonpatch >= 0.7}
|
||||
BuildRequires: %{python_module jsonschema >= 0.10}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-jsonpatch >= 0.7
|
||||
Requires: python-jsonschema >= 0.10
|
||||
Requires: python-six
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -44,20 +43,21 @@ Build self-validating python objects using JSON schemas
|
||||
|
||||
%prep
|
||||
%setup -q -n warlock-%{version}
|
||||
sed -i "s|jsonschema>=0.7,<1|jsonschema>=0.7,<=1|" requirements.txt
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
# tests are not distributed by upstream and github does not
|
||||
# use setuptools anymore
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7403f728fce67ee2f22f3d7fa09c9de0bc95c3e7bcf6005b9c1962b77976a06
|
||||
size 8853
|
||||
3
warlock-1.3.3.tar.gz
Normal file
3
warlock-1.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090
|
||||
size 11602
|
||||
Reference in New Issue
Block a user