Group :: Development/Python3
RPM: python3-module-injector
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define modulename injector
Name: python3-module-%modulename
Version: 0.20.1
Release: alt1
Summary: Python dependency injection framework, inspired by Guice
License: BSD-3-Clause
Group: Development/Python3
URL: https://github.com/alecthomas/injector
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildArch: noarch
Source: %modulename-%version.tar
%description
While dependency injection is easy to do in Python due to its support for
keyword arguments, the ease with which objects can be mocked and its dynamic
nature, a framework for assisting in this process can remove a lot of
boiler-plate from larger applications. That's where Injector can help. It
automatically and transitively provides dependencies for you. As an added
benefit, Injector encourages nicely compartmentalised code through the use of
:ref:modules <module>.
%prep
%setup -n %modulename-%version
%build
%python3_build
%install
%python3_install
%files
%doc *.md
%python3_sitelibdir/%modulename/
%python3_sitelibdir/*.egg-info
%changelog
…
Full changelog you can see here
Name: python3-module-%modulename
Version: 0.20.1
Release: alt1
Summary: Python dependency injection framework, inspired by Guice
License: BSD-3-Clause
Group: Development/Python3
URL: https://github.com/alecthomas/injector
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildArch: noarch
Source: %modulename-%version.tar
%description
While dependency injection is easy to do in Python due to its support for
keyword arguments, the ease with which objects can be mocked and its dynamic
nature, a framework for assisting in this process can remove a lot of
boiler-plate from larger applications. That's where Injector can help. It
automatically and transitively provides dependencies for you. As an added
benefit, Injector encourages nicely compartmentalised code through the use of
:ref:modules <module>.
%prep
%setup -n %modulename-%version
%build
%python3_build
%install
%python3_install
%files
%doc *.md
%python3_sitelibdir/%modulename/
%python3_sitelibdir/*.egg-info
%changelog
…
Full changelog you can see here