Projects
home:Eustace:branches:Eulaceura:Factory
python-picobox
_service:obs_scm:python-picobox.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-picobox.spec of Package python-picobox
%global _empty_manifest_terminate_build 0 Name: python-picobox Version: 4.0.0 Release: 1 Summary: Dependency injection framework designed with Python in mind. License: MIT URL: https://github.com/ikalnytskyi/picobox Source0: https://files.pythonhosted.org/packages/0f/b1/830714dd6778c1cb45826722b4e9bd21c94b33cca5df9ef2cc0b80c81b25/picobox-4.0.0.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling BuildRequires: python3-hatch-vcs %description Dependency injection framework designed with Python in mind. %package -n python3-picobox Summary: Dependency injection framework designed with Python in mind. Provides: python-picobox BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-hatchling %description -n python3-picobox Dependency injection framework designed with Python in mind. %package help Summary: Development documents and examples for picobox Provides: python3-picobox-doc %description help Development documents and examples for picobox. %prep %autosetup -n picobox-%{version} %build %pyproject_build %install %pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi %files -n python3-picobox %doc README.rst %license LICENSE %{python3_sitelib}/picobox %{python3_sitelib}/picobox*.dist-info/ %files help %{_docdir}/* %changelog * Mon Aug 26 2024 xuhe <xuhe@kylinos.cn> - 4.0.0-1 - Update version to 4.0.0 - Support both values and factories. - Support scopes (e.g. singleton, threadlocal, contextvars). - Push boxes on stack, and use the top one to access values. - Thread-safe. - Lightweight (~500 LOC including scopes). - Zero dependencies. - Pure Python. - Annotated with types. * Tue Nov 7 2023 Dongxing Wang <dxwangk@isoftstone.com> - 3.0.0-1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2