summaryrefslogtreecommitdiff
path: root/python-assertpy.spec
blob: 9ee5655ec09f1531a3e6c8b5e765f26290e577f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 <dongxing.wang_a@thundersoft.com> - 1.1-1
- Init package