From 1baea4f62a8e04e5cf4fa3a9b5265a0688ee192e2bff341d623e496cf2f14ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 17 Sep 2019 08:47:45 +0000 Subject: [PATCH] Accepting request 731381 from home:jayvdb:jsonschema Re-activate test suite OBS-URL: https://build.opensuse.org/request/show/731381 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-warlock?expand=0&rev=30 --- python-warlock.changes | 6 ++++++ python-warlock.spec | 8 ++++---- warlock-1.3.3.tar.gz | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-warlock.changes b/python-warlock.changes index b8a08c8..20f2c37 100644 --- a/python-warlock.changes +++ b/python-warlock.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 17 04:46:39 UTC 2019 - John Vandenberg + +- Re-activate test suite using GitHub tarball which includes + a setup.py + ------------------------------------------------------------------- Fri May 24 13:56:28 UTC 2019 - Tomáš Chvátal diff --git a/python-warlock.spec b/python-warlock.spec index c7a6582..516654b 100644 --- a/python-warlock.spec +++ b/python-warlock.spec @@ -24,7 +24,7 @@ Summary: Python object model built on top of JSON schema License: Apache-2.0 Group: Development/Languages/Python URL: http://github.com/bcwaldon/warlock -Source: https://files.pythonhosted.org/packages/source/w/warlock/warlock-%{version}.tar.gz +Source: https://github.com/bcwaldon/warlock/archive/%{version}.tar.gz#/warlock-%{version}.tar.gz BuildRequires: %{python_module jsonpatch >= 0.7} BuildRequires: %{python_module jsonschema >= 0.10} BuildRequires: %{python_module pytest} @@ -39,10 +39,11 @@ BuildArch: noarch %python_subpackages %description -Build self-validating python objects using JSON schemas +Build self-validating python objects using JSON schemas. %prep %setup -q -n warlock-%{version} +rm pytest.ini %build %python_build @@ -52,8 +53,7 @@ Build self-validating python objects using JSON schemas %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# tests are not distributed by upstream and github does not -# use setuptools anymore +%pytest %files %{python_files} %doc README.md diff --git a/warlock-1.3.3.tar.gz b/warlock-1.3.3.tar.gz index 52ec3bc..d8c0ccb 100644 --- a/warlock-1.3.3.tar.gz +++ b/warlock-1.3.3.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a093c4d04b42b7907f69086e476a766b7639dca50d95edc83aef6aeab9db2090 -size 11602 +oid sha256:b77e4977d5dc54d47f88cbcc9ab2d716f5f10171d123138785dad96aeb2858d0 +size 11147