From bed666d9ab0c90c9400a4c3fe8cbfa70a7644dd682f716334473ab9499709094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 16 Aug 2020 07:52:53 +0000 Subject: [PATCH] Accepting request 826954 from home:jayvdb:py-submit Activate test suite, replacing nose with pytest OBS-URL: https://build.opensuse.org/request/show/826954 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkgconfig?expand=0&rev=16 --- pkgconfig-1.5.1.tar.gz | 4 ++-- python-pkgconfig.changes | 5 +++++ python-pkgconfig.spec | 14 ++++++++++---- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/pkgconfig-1.5.1.tar.gz b/pkgconfig-1.5.1.tar.gz index 8df65d8..b7d5a52 100644 --- a/pkgconfig-1.5.1.tar.gz +++ b/pkgconfig-1.5.1.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f -size 5611 +oid sha256:88d9ef0c4fee5f760b9ab500d94ef363644340e09f66481e36eb9275fce7a2f9 +size 7000 diff --git a/python-pkgconfig.changes b/python-pkgconfig.changes index ba53e42..b891836 100644 --- a/python-pkgconfig.changes +++ b/python-pkgconfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 16 02:31:58 UTC 2020 - John Vandenberg + +- Activate test suite, replacing nose with pytest + ------------------------------------------------------------------- Fri Oct 18 12:17:58 UTC 2019 - Marketa Calabkova diff --git a/python-pkgconfig.spec b/python-pkgconfig.spec index d354b1e..2749a9b 100644 --- a/python-pkgconfig.spec +++ b/python-pkgconfig.spec @@ -1,7 +1,7 @@ # # spec file for package python-pkgconfig # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,12 +23,14 @@ Release: 0 Summary: Interface Python with pkg-config License: MIT Group: Development/Languages/Python -URL: http://github.com/matze/pkgconfig -Source: https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz -BuildRequires: %{python_module nose} +URL: https://github.com/matze/pkgconfig +Source: https://github.com/matze/pkgconfig/archive/v%{version}.tar.gz#/pkgconfig-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: openssl-devel BuildRequires: pkgconfig +BuildRequires: python-dephell-rpm-macros BuildRequires: python-rpm-macros Requires: pkgconfig BuildArch: noarch @@ -40,6 +42,7 @@ command line tool and supports Python 2.6+. %prep %setup -q -n pkgconfig-%{version} +%dephell_gensetup %build %python_build @@ -48,6 +51,9 @@ command line tool and supports Python 2.6+. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %license LICENSE %doc README.rst