-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-typepy.spec
59 lines (44 loc) · 1.37 KB
/
python-typepy.spec
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
48
49
50
51
52
53
54
55
56
57
58
%global pypi_name typepy
Name: python-%{pypi_name}
Version: 1.3.0
Release: 1%{?dist}
Summary: Python library for variable type checker/validator/converter at a run time
License: MIT
URL: https://github.com/thombashi/typepy
Source0: %{pypi_source %{pypi_name}}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
#test requirements
BuildRequires: python3-tcolorpy
BuildRequires: python3-pytz
BuildRequires: python3-dateutil
%description
Python library for variable type checker/validator/converter at a run time.
%package -n python3-%{pypi_name}
Summary: %{summary}
Requires: python3-mbstrdecoder >= 1.0.0
%description -n python3-%{pypi_name}
Python library for variable type checker/validator/converter at a run time.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%check
%pytest -v
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.rst
%changelog
* Fri Oct 13 2022 Karolina Kula <kkula@redhat.com> - 1.3.0-1
- Update to 1.3.0
- change source
* Fri Sep 23 2022 Karolina Kula <kkula@redhat.com> - 1.2.0-2
- fix rpmlint issues
* Thu Sep 08 2022 Karolina Kula <kkula@redhat.com> - 1.2.0-1
- initial package build