9275213
%global srcname partd
9275213
9275213
Name:           python-%{srcname}
9412c32
Version:        1.3.0
10c5f7a
Release:        %autorelease
9275213
Summary:        Appendable key-value storage
9275213
9275213
License:        BSD
3c06c55
URL:            https://github.com/dask/partd
3c06c55
Source0:        %pypi_source %{srcname}
9275213
9275213
BuildArch:      noarch
9275213
3c06c55
%global _description %{expand:
3c06c55
Key-value byte store with appendable values: Partd stores key-value pairs.
3c06c55
Values are raw bytes. We append on old values. Partd excels at shuffling
3c06c55
operations.}
9275213
9275213
%description %{_description}
9275213
9275213
%package -n python3-%{srcname}
9275213
Summary:        %{summary}
9275213
9275213
BuildRequires:  python3-devel
47446fd
BuildRequires:  python3dist(pytest)
3c06c55
3c06c55
Recommends:     python3-%{srcname}+complete
9275213
9275213
%description -n python3-%{srcname} %{_description}
9275213
3c06c55
%pyproject_extras_subpkg -n python3-%{srcname} complete
9275213
9275213
%prep
9275213
%autosetup -n %{srcname}-%{version}
9275213
3c06c55
%generate_buildrequires
3c06c55
%pyproject_buildrequires -rx complete
9275213
9275213
%build
3c06c55
%pyproject_wheel
9275213
9275213
%install
3c06c55
%pyproject_install
3c06c55
%pyproject_save_files %{srcname}
9275213
9275213
%check
47446fd
%{pytest}
9275213
3c06c55
%files -n python3-%{srcname} -f %{pyproject_files}
9275213
%doc README.rst
3c06c55
%license LICENSE.txt
9275213
9275213
%changelog
10c5f7a
%autochangelog