a40d602
%global srcname dynaconf
a40d602
%global common_desc \
a40d602
Dynaconf is a layered configuration system for Python applications with strong \
a40d602
support for 12-factor applications and extensions for Flask and Django
a40d602
a40d602
Name:           %{srcname}
47de22a
Version:        2.2.0
a40d602
Release:        1%{?dist}
a40d602
Summary:        A dynamic configurator for python projects
a40d602
a40d602
License:        MIT
a40d602
URL:            https://github.com/rochacbruno/dynaconf
a40d602
Source0:        %{pypi_source}
a40d602
a40d602
BuildArch:      noarch
a40d602
a40d602
%description
a40d602
%{common_desc}
a40d602
a40d602
%package -n python3-%{srcname}
a40d602
Summary:        %{summary}
a40d602
BuildRequires:  python3-box
a40d602
BuildRequires:  python3-click
a40d602
BuildRequires:  python3-dotenv
a40d602
BuildRequires:  python3-devel
a40d602
BuildRequires:  python3-setuptools
a40d602
BuildRequires:  python3-toml
a40d602
a40d602
%{?python_provide:%python_provide python3-%{srcname}}
a40d602
a40d602
%description -n python3-%{srcname}
a40d602
%{common_desc}
a40d602
a40d602
%prep
a40d602
%autosetup -n %{srcname}-%{version}
a40d602
a40d602
%build
a40d602
%py3_build
a40d602
a40d602
%install
a40d602
%py3_install
a40d602
a40d602
%files -n python3-%{srcname}
a40d602
%license LICENSE
a40d602
%doc README.md
a40d602
# Trailing slash is to ensure setuptools behavior instead of distutils since
a40d602
# the project can use either and .egg-info could end up being a file or a
a40d602
# directory.
a40d602
%{python3_sitelib}/%{srcname}/
a40d602
%{python3_sitelib}/%{srcname}-*.egg-info/
a40d602
%{_bindir}/%{srcname}
a40d602
a40d602
%changelog
47de22a
* Fri Oct 11 2019 David Moreau Simard <dmsimard@redhat.com> - 2.2.0-1
47de22a
- Update to latest upstream release
47de22a
a40d602
* Fri Jul 5 2019 David Moreau Simard <dmsimard@redhat.com> - 2.0.3-1
a40d602
- First version of the package