From d10a03299b8404b3a0a4ad54aca84177e27e523c07c1b137b97da4f2567b49ed Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 10 Oct 2022 08:56:10 +0000 Subject: [PATCH] - update to 0.4.27: - remove spurious pyproject.toml that breaks source builds - Use tox for all multi-version testing - Fix use of pytest, use it via tox OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-magic?expand=0&rev=21 --- 0.4.25.tar.gz | 3 --- 0.4.27.tar.gz | 3 +++ python-python-magic.changes | 8 ++++++++ python-python-magic.spec | 5 +++-- 4 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 0.4.25.tar.gz create mode 100644 0.4.27.tar.gz diff --git a/0.4.25.tar.gz b/0.4.25.tar.gz deleted file mode 100644 index 5430ac0..0000000 --- a/0.4.25.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c1f483995067ffff268103f8bb6860d2f42aa3a5a9b906eaf34bcce1de36329 -size 864121 diff --git a/0.4.27.tar.gz b/0.4.27.tar.gz new file mode 100644 index 0000000..6324eb7 --- /dev/null +++ b/0.4.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3978a25d43d9a7b8a89ae9d726bd4962fc90dc4f69ae852e399f3c56d4b0bd63 +size 863649 diff --git a/python-python-magic.changes b/python-python-magic.changes index 513562f..d9b9d80 100644 --- a/python-python-magic.changes +++ b/python-python-magic.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Oct 10 08:53:37 UTC 2022 - Dirk Müller + +- update to 0.4.27: + - remove spurious pyproject.toml that breaks source builds + - Use tox for all multi-version testing + - Fix use of pytest, use it via tox + ------------------------------------------------------------------- Wed Feb 16 17:32:56 UTC 2022 - Matej Cepl diff --git a/python-python-magic.spec b/python-python-magic.spec index 6513e4e..38b5391 100644 --- a/python-python-magic.spec +++ b/python-python-magic.spec @@ -19,13 +19,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-python-magic -Version: 0.4.25 +Version: 0.4.27 Release: 0 Summary: File type identification using libmagic License: Python-2.0 Group: Development/Languages/Python URL: https://github.com/ahupp/python-magic Source: https://github.com/ahupp/python-magic/archive/%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes @@ -56,7 +57,7 @@ supports both textual and MIME-type output. %check export LC_ALL=en_US.UTF-8 -%pyunittest -v test.test +%pytest %files %{python_files} %license LICENSE