diff --git a/hypothesis-fspaths-0.1.tar.gz b/hypothesis-fspaths-0.1.tar.gz new file mode 100644 index 0000000..cfeb704 Binary files /dev/null and b/hypothesis-fspaths-0.1.tar.gz differ diff --git a/python-hypothesis-fspaths.spec b/python-hypothesis-fspaths.spec new file mode 100644 index 0000000..075786c --- /dev/null +++ b/python-hypothesis-fspaths.spec @@ -0,0 +1,52 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name hypothesis-fspaths +%global modulename hypothesis_fspaths + +Name: python-%{pypi_name} +Version: 0.1 +Release: 1 +License: MIT +URL: https://pypi.org/project/%{pypi_name} +Source0: https://files.pythonhosted.org/packages/be/00/208e4c5be58fdc92aa7bfac82e94c524150183fc8b0ec995d70d6e0db43c/hypothesis-fspaths-0.1.tar.gz +BuildArch: noarch +Summary: Python library for generating filesystem paths + +%description +Hypothesis extension for generating filesystem paths. +Anything the built-in Python function open() accepts can be generated. + +%package -n python3-%{pypi_name} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pytest +BuildRequires: python3-pytest-runner +BuildRequires: python3-hypothesis +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Hypothesis extension for generating filesystem paths. +Anything the built-in Python function open() accepts can be generated. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/%{modulename}-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/%{modulename}.py +%{python3_sitelib}/__pycache__/hypothesis_fspaths.*.py* + +%changelog +* Fri Jun 16 2023 Dongxing Wang - 0.1-1 +- Init package to version 0.1 for vistir test