2022-06-01 17:09:08 +08:00
|
|
|
%global srcname plum-py
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 0.8.0
|
2022-06-06 13:04:16 +08:00
|
|
|
Release: 2
|
2022-06-01 17:09:08 +08:00
|
|
|
Summary: Pack/Unpack Memory.
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://pypi.org/project/plum-py/
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/63/3e/8f54cedec888fe4ba74c8a934751f268c39f5a0858e58702fdf703a41229/plum-py-0.8.0.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The plum-py Python package provides classes and utility functions to transform byte sequences into Python objects and back.
|
|
|
|
|
|
|
|
|
|
%package -n python3-plum-py
|
|
|
|
|
Summary: Pack/Unpack Memory.
|
|
|
|
|
BuildRequires: python3-pytest
|
2022-06-06 13:04:16 +08:00
|
|
|
BuildRequires: python3-rpm-generators
|
2022-06-01 17:09:08 +08:00
|
|
|
|
|
|
|
|
%description -n python3-plum-py
|
|
|
|
|
The plum-py Python package provides classes and utility functions to transform byte sequences into Python objects and back.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n plum-py-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
#%check
|
|
|
|
|
#%{__python3} -m pytest tests/
|
|
|
|
|
|
|
|
|
|
%files -n python3-plum-py
|
|
|
|
|
%doc PKG-INFO
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-06-06 13:04:16 +08:00
|
|
|
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.8.0-2
|
|
|
|
|
- Add BuildRequires : python3-rpm-generators
|
|
|
|
|
|
2022-06-01 17:09:08 +08:00
|
|
|
* Fri May 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.8.0-1
|
|
|
|
|
- Initial Packaging
|