init package
This commit is contained in:
parent
d58f6b621a
commit
06c0a4af49
BIN
pytest-datadir-1.4.1.tar.gz
Normal file
BIN
pytest-datadir-1.4.1.tar.gz
Normal file
Binary file not shown.
48
python-pytest-datadir.spec
Normal file
48
python-pytest-datadir.spec
Normal file
@ -0,0 +1,48 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%global pypi_name pytest-datadir
|
||||
|
||||
%global _description %{expand:
|
||||
This package contains a pytest plugin for manipulating test data
|
||||
directories and files.}
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.4.1
|
||||
Release: 1
|
||||
Summary: Pytest plugin for test data directories and files
|
||||
License: MIT
|
||||
URL: https://github.com/gabrielcnr/pytest-datadir
|
||||
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: Pytest plugin for test data directories and files
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name} %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/pytest_datadir/
|
||||
%{python3_sitelib}/pytest_datadir-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Fri Aug 18 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 1.4.1-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user