From a1972ae501a008ebb790a2f6b7896a609ef5432c3d4fc535037fe03b10fa54b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 Apr 2019 08:46:38 +0000 Subject: [PATCH] Accepting request 690563 from home:pgajdos - version update to 1.28 * the souce dist archive now contains the unit tests as well - run the testsuite OBS-URL: https://build.opensuse.org/request/show/690563 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-serpent?expand=0&rev=9 --- python-serpent.changes | 7 +++++++ python-serpent.spec | 10 +++++++++- serpent-1.27.tar.gz | 3 --- serpent-1.28.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 4 deletions(-) delete mode 100644 serpent-1.27.tar.gz create mode 100644 serpent-1.28.tar.gz diff --git a/python-serpent.changes b/python-serpent.changes index b838a6b..3d45f51 100644 --- a/python-serpent.changes +++ b/python-serpent.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 2 06:58:58 UTC 2019 - pgajdos@suse.com + +- version update to 1.28 + * the souce dist archive now contains the unit tests as well +- run the testsuite + ------------------------------------------------------------------- Wed Mar 6 09:33:03 UTC 2019 - Tomáš Chvátal diff --git a/python-serpent.spec b/python-serpent.spec index 59617ed..da41dd0 100644 --- a/python-serpent.spec +++ b/python-serpent.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-serpent -Version: 1.27 +Version: 1.28 Release: 0 Summary: Serialization based on astliteral_eval License: MIT @@ -29,6 +29,11 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-enum34 BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module attrs} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytz} +# /SECTION BuildArch: noarch %ifpython2 Requires: python-enum34 @@ -48,6 +53,9 @@ and de-serialize it there. %build %python_build +%check +%pytest + %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} diff --git a/serpent-1.27.tar.gz b/serpent-1.27.tar.gz deleted file mode 100644 index f38d384..0000000 --- a/serpent-1.27.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f8dc4317fb5b5a9629b5e518846bc9fee374b8171533726dc68df52b36ee912 -size 12758 diff --git a/serpent-1.28.tar.gz b/serpent-1.28.tar.gz new file mode 100644 index 0000000..5dcd894 --- /dev/null +++ b/serpent-1.28.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab +size 26912