From 8afc5caaf39078a7ac465844cd13808e7841ec28 Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 15 May 2023 00:00:32 -0400 Subject: [PATCH] Update to 0.15.2; use SPDX license --- .fmf/version | 1 + .gitignore | 1 + plans/unit.fmf | 17 +++++++++++++++++ python-justbases.spec | 9 ++++++--- sources | 2 +- tests/tests.yml | 14 -------------- 6 files changed, 26 insertions(+), 18 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/unit.fmf delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index 905f2c4..769f87c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /justbases-0.13.tar.gz /justbases-0.14.tar.gz /justbases-0.15.tar.gz +/justbases-0.15.2.tar.gz diff --git a/plans/unit.fmf b/plans/unit.fmf new file mode 100644 index 0000000..0a7fd43 --- /dev/null +++ b/plans/unit.fmf @@ -0,0 +1,17 @@ +summary: deterministic (not Hypothesis-based) unit tests + +prepare: + - name: Install package + how: install + package: justbases + +discover: + how: shell + url: https://github.com/mulkieran/justbases + ref: v0.15.1 + tests: + - name: unit + test: python3 -m unittest discover --verbose tests/test_deterministic + +execute: + how: tmt diff --git a/python-justbases.spec b/python-justbases.spec index 4be8b2d..546a079 100644 --- a/python-justbases.spec +++ b/python-justbases.spec @@ -1,11 +1,11 @@ %{?python_enable_dependency_generator} %global srcname justbases Name: python-%{srcname} -Version: 0.15 -Release: 10%{?dist} +Version: 0.15.2 +Release: 1%{?dist} Summary: A small library for precise conversion between arbitrary bases -License: LGPLv2+ +License: LGPL-2.1-or-later URL: http://pypi.python.org/pypi/justbases Source0: https://pypi.io/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz @@ -43,6 +43,9 @@ rm -rf justbases.egg-info %{python3_sitelib}/justbases-%{version}-*.egg-info %changelog +* Sun May 14 2023 mulhern - 0.15.2-1 +- Update to 0.15.2; use SPDX license + * Fri Jan 20 2023 Fedora Release Engineering - 0.15-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index adb42ea..bb79133 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (justbases-0.15.tar.gz) = aafb0107eae6a604a3dd1b4a29e06f3a30f44bbbd2449ebcb1354fddc679a23ca20b4dfa2a3300808e9823aa5f439944476a3c6115a3be16239172df6d3107da +SHA512 (justbases-0.15.2.tar.gz) = c9cb67b67f7ec84b4436df2b24ff8df354a15fd7f65212c4ffa6506e077fc9dd526a5a9c4cf9153fce016ff4cc59d94ad5ce9713bd7ca0169a6fd0c725e373db diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 1fd9033..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-source - tags: - - always - - - role: standard-test-basic - tags: - - classic - tests: - - simple: - dir: ./ - run: python -m unittest discover --verbose source/tests/test_deterministic