Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37899324
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-fasteners

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname fasteners

%def_with check

Name: python3-module-fasteners
Version: 0.18
Release: alt1

Summary: A python package that provides useful locks

License: Apache-2.0
Group: Development/Python3
Url: https://pypi.org/project/fasteners

# https://github.com/harlowja/fasteners

Source: %name-%version.tar

# Backport 80a3eaed75276faf21034e7e6c626fd19485ea39 Б─°Move eventlet tests to

# main folder and to child processБ─². Fixes Б─°Tests hang with eventlet supportБ─²
# https://github.com/harlowja/fasteners/issues/101. (As an alternative, we
# could run pytest on tests/ and tests_eventlet/ in separate invocations.) See
# https://github.com/harlowja/fasteners/issues/101#issuecomment-1249462951.
Patch: 80a3eaed75276faf21034e7e6c626fd19485ea39.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-diskcache
BuildRequires: python3-module-eventlet
BuildRequires: python3-module-more-itertools
BuildRequires: python3-module-django-guardian
BuildRequires: python3-module-django-guardian-tests
%endif

BuildArch: noarch

%description
A python package that provides useful locks.

%prep
%setup
%patch -p1

%build
%pyproject_build

%install
%pyproject_install

%check
export DJANGO_SETTINGS_MODULE=guardian.testapp.testsettings
py.test-3 -v

%files
%doc README.*
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin