From c2447d77f85e5b059982d56de2b91f6ad537c715 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Mar 09 2023 13:57:13 +0000 Subject: Update to 1.3.0 Related-to: https://review.rdoproject.org/r/q/I2e52f52761dcd97c9b7b1d804e13286fc382436f --- diff --git a/.python-typepy.metadata b/.python-typepy.metadata new file mode 100644 index 0000000..8d4ca2b --- /dev/null +++ b/.python-typepy.metadata @@ -0,0 +1 @@ +5f92d2176cba5df80fed7538e75dacc327b9c333 SOURCES/typepy-1.3.0.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-typepy.spec b/SPECS/python-typepy.spec new file mode 100644 index 0000000..fa4e6dd --- /dev/null +++ b/SPECS/python-typepy.spec @@ -0,0 +1,63 @@ +%global pypi_name typepy + +Name: python-%{pypi_name} +Version: 1.3.0 +Release: 2%{?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: pyproject-rpm-macros +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. + +%pyproject_extras_subpkg -n python3-%{pypi_name} datetime + +%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 +* Thu Mar 02 2023 Karolina Kula - 1.3.0-2 +- Add datetime subpackage +* Thu Oct 13 2022 Karolina Kula - 1.3.0-1 +- Update to 1.3.0 +* Fri Sep 23 2022 Karolina Kula - 1.2.0-2 +- fix rpmlint issues +* Thu Sep 08 2022 Karolina Kula - 1.2.0-1 +- initial package build +