Group :: Development/Python3
RPM: python3-module-fasteners
Main Changelog Spec Patches Sources Download 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
…
Full changelog you can see here
%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
…
Full changelog you can see here