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:
parent
857b490606
commit
bed666d9ab
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f
|
||||
size 5611
|
||||
oid sha256:88d9ef0c4fee5f760b9ab500d94ef363644340e09f66481e36eb9275fce7a2f9
|
||||
size 7000
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user