%global srcname box

Name:           python3-%{srcname}
Version:        3.4.0
Release:        1%{?dist}
Summary:        Python dictionaries with advanced dot notation access

License:        GPLv3
URL:            https://ara.readthedocs.io/
Source0:        https://github.com/cdgriffith/Box/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-pytest-cov
BuildRequires:  python3-pytest-runner

Provides:       %{srcname} = %{version}-%{release}
Provides:       python-%{srcname} = %{version}-%{release}

%description
Python dictionaries with advanced dot notation access.

%prep
%autosetup -n Box-%{version}

%build
%py3_build

%install
%py3_install

# %%check
# %%{__python3} setup.py test


%files
%doc docs CHANGES.rst CONTRIBUTING.rst README.rst
%license LICENSE
%{python3_sitelib}/*
%{_bindir}/box.py

%changelog
* Mon May 13 2019 Didier Fabert <didier.fabert@gmail.com> - 3.4.0-1
- Initial build