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
This commit is contained in:
Tomáš Chvátal 2020-08-16 07:52:53 +00:00 committed by Git OBS Bridge
parent 857b490606
commit bed666d9ab
3 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f oid sha256:88d9ef0c4fee5f760b9ab500d94ef363644340e09f66481e36eb9275fce7a2f9
size 5611 size 7000

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Aug 16 02:31:58 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite, replacing nose with pytest
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 18 12:17:58 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> Fri Oct 18 12:17:58 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pkgconfig # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -23,12 +23,14 @@ Release: 0
Summary: Interface Python with pkg-config Summary: Interface Python with pkg-config
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://github.com/matze/pkgconfig URL: https://github.com/matze/pkgconfig
Source: https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz Source: https://github.com/matze/pkgconfig/archive/v%{version}.tar.gz#/pkgconfig-%{version}.tar.gz
BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: openssl-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-dephell-rpm-macros
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: pkgconfig Requires: pkgconfig
BuildArch: noarch BuildArch: noarch
@ -40,6 +42,7 @@ command line tool and supports Python 2.6+.
%prep %prep
%setup -q -n pkgconfig-%{version} %setup -q -n pkgconfig-%{version}
%dephell_gensetup
%build %build
%python_build %python_build
@ -48,6 +51,9 @@ command line tool and supports Python 2.6+.
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst