diff --git a/assertpy-1.1.tar.gz b/assertpy-1.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a1e0985e657254a2572ce7e2cabe81dc9a09293d Binary files /dev/null and b/assertpy-1.1.tar.gz differ diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..6259c0c0cb4dd59de7a6660684f544fb645d1820 --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +assertpy-1.1.tar.gz +python-assertpy.spec diff --git a/python-assertpy.spec b/python-assertpy.spec new file mode 100644 index 0000000000000000000000000000000000000000..9ee5655ec09f1531a3e6c8b5e765f26290e577f1 --- /dev/null +++ b/python-assertpy.spec @@ -0,0 +1,47 @@ +Name: python-assertpy +Version: 1.1 +Release: 1 +Summary: Simple assertion library for unit testing in python with a fluent API + +License: BSD +URL: https://github.com/assertpy/assertpy +Source: %{url}/archive/%{version}/assertpy-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +%global common_description %{expand: +Simple assertions library for unit testing in Python with a nice fluent API. +Supports both Python 2 and 3.} + +%description %{common_description} + + +%package -n python3-assertpy +Summary: %{summary} + +%description -n python3-assertpy %{common_description} + +%prep +%autosetup -n assertpy-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-assertpy +%license LICENSE +%doc README.md +%{python3_sitelib}/assertpy +%{python3_sitelib}/assertpy-*.dist-info/ + +%changelog +* Thu Aug 14 2025 Dongxing Wang - 1.1-1 +- Init package diff --git a/python-assertpy.src.rpm b/python-assertpy.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..de84dc7345e387fedb453687591994051d34d079 Binary files /dev/null and b/python-assertpy.src.rpm differ