Группа :: Development/Python3
Пакет: python3-module-multidict
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname multidict
%def_with check
Name: python3-module-%oname
Version: 6.0.4
Release: alt1
Summary: Multidicts are useful for working with HTTP headers, URL query args etc
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/multidict
Packager: Anton Midyukov <antohami at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-Cython
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-pytest-cov
%endif
%description
HTTP Headers and URL query string require specific data structure: multidict.
It behaves mostly like a dict but it can have several values for the same key.
%prep
%setup
%build
%python3_build
%install
%python3_install
rm -vf %buildroot%python3_sitelibdir/%oname/*.{c,pyx}
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%doc LICENSE *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Полный changelog можно просмотреть здесь
%def_with check
Name: python3-module-%oname
Version: 6.0.4
Release: alt1
Summary: Multidicts are useful for working with HTTP headers, URL query args etc
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/multidict
Packager: Anton Midyukov <antohami at altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-Cython
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-pytest-cov
%endif
%description
HTTP Headers and URL query string require specific data structure: multidict.
It behaves mostly like a dict but it can have several values for the same key.
%prep
%setup
%build
%python3_build
%install
%python3_install
rm -vf %buildroot%python3_sitelibdir/%oname/*.{c,pyx}
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 -v
%files
%doc LICENSE *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Полный changelog можно просмотреть здесь