diff --git a/0.25.0.tar.gz b/0.25.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b461f88cc08ba45c68ea967e8a9bb6005abe3df5 Binary files /dev/null and b/0.25.0.tar.gz differ diff --git a/python-returns.spec b/python-returns.spec new file mode 100644 index 0000000000000000000000000000000000000000..f2a5b797a99b4bca46241f2a97b931c8637132e0 --- /dev/null +++ b/python-returns.spec @@ -0,0 +1,49 @@ +%define debug_package %{nil} +%global pypi_name returns + +Name: python-%{pypi_name} +Version: 0.25.0 +Release: 1 +Summary: Make your functions return something meaningful, typed, and safe! +License: MIT +URL: https://github.com/dry-python/returns +Source0: https://github.com/dry-python/returns/archive/refs/tags/%{version}.tar.gz +BuildArch: noarch + + +BuildRequires: python3-devel python-pip python3-poetry-core + + +%description +Make your functions return something meaningful, typed, and safe! + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + + +%description -n python3-%{pypi_name} +Make your functions return something meaningful, typed, and safe! + + +%prep +%setup -q -T -b 0 -c -n %{pypi_name}-%{version} + + +%build +%pyproject_build + + +%install +%pyproject_install + + +%files -n python3-%{pypi_name} +%license LICENSE +%{python3_sitelib}/returns* + + +%changelog +* Mon Apr 7 2025 wangkui - 0.25.0-1 +- init