51 lines
1.5 KiB
RPMSpec
51 lines
1.5 KiB
RPMSpec
Name: python-pytest-fixture-config
|
|
Version: 1.2.11
|
|
Release: 8
|
|
Summary: Simple configuration objects for Py.test fixtures
|
|
License: MIT
|
|
URL: https://pypi.python.org/pypi/pytest-fixture-config
|
|
Source0: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-1.2.11.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel python3-pytest
|
|
BuildRequires: python3-six python3-setuptools_git
|
|
Patch0: 0001-fix-build-for-pytest.patch
|
|
|
|
%description
|
|
Simple configuration objects for Py.test fixtures.
|
|
Allows you to skip tests when their required config variables aren't set.
|
|
|
|
%package -n python3-pytest-fixture-config
|
|
Summary: Simple configuration objects for Py.test fixtures
|
|
%python_provide python3-pytest-fixture-config
|
|
Requires: python3-pytest
|
|
|
|
%description -n python3-pytest-fixture-config
|
|
Simple configuration objects for Py.test fixtures.
|
|
Allows you to skip tests when their required config variables aren't set.
|
|
|
|
%prep
|
|
%autosetup -n pytest-fixture-config-1.2.11 -p1
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%{__python3} setup.py test
|
|
|
|
%files -n python3-pytest-fixture-config
|
|
%doc README.md CHANGES.md
|
|
%{python3_sitelib}/*
|
|
|
|
%changelog
|
|
* Sat Jan 9 2021 baizhonggui<baizhonggui@huawei.com> - 1.2.11-8
|
|
- Fix building for pytest
|
|
|
|
* Fri 11 Sep 2020 wangyue<wangyue92@huawei.com> - 1.2.11-7
|
|
- Remove python2-pytest-fixture-config
|
|
|
|
* Fri Jan 03 2020 zoushuangshuang <zoushuangshuang@huawei.com > - 1.2.11-6
|
|
- Package init
|