Group :: Development/Python3
RPM: python3-module-aiomcache
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname aiomcache
%def_without check
Name: python3-module-%oname
Version: 0.8.1
Release: alt1
Summary: Minimal pure python memcached client
License: BSD-2-Clause
Group: Development/Python3
Url: https://pypi.org/project/aiomcache/
Vcs: https://github.com/aio-libs/aiomcache.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-typing_extensions
BuildRequires: python3-module-docker
BuildRequires: python3-module-memcached
BuildRequires: python3-module-pytest-asyncio
%endif
%py3_provides %oname
%py3_requires asyncio
%description
asyncio (PEP 3156) library to work with memcached.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
sed -i 's/docker_mod.Client/docker_mod.client/g' tests/conftest.py
%tox_create_default_config
%tox_check
%files
%doc LICENSE *.rst examples
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-*.egg-info
%exclude %python3_sitelibdir/tests
%changelog
…
Todas as alterações você pod ver aqui
%def_without check
Name: python3-module-%oname
Version: 0.8.1
Release: alt1
Summary: Minimal pure python memcached client
License: BSD-2-Clause
Group: Development/Python3
Url: https://pypi.org/project/aiomcache/
Vcs: https://github.com/aio-libs/aiomcache.git
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-typing_extensions
BuildRequires: python3-module-docker
BuildRequires: python3-module-memcached
BuildRequires: python3-module-pytest-asyncio
%endif
%py3_provides %oname
%py3_requires asyncio
%description
asyncio (PEP 3156) library to work with memcached.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
sed -i 's/docker_mod.Client/docker_mod.client/g' tests/conftest.py
%tox_create_default_config
%tox_check
%files
%doc LICENSE *.rst examples
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-*.egg-info
%exclude %python3_sitelibdir/tests
%changelog
…
Todas as alterações você pod ver aqui