Группа :: Development/Python3
Пакет: python3-module-pyquery
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name pyquery
%def_with check
Name: python3-module-%pypi_name
Version: 2.0.0
Release: alt2
Summary: A jQuery-like library for python
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/pyquery/
Vcs: https://github.com/gawel/pyquery
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-cssselect
BuildRequires: python3-module-lxml
BuildRequires: python3-module-webtest
%endif
%description
%name allows you to make jQuery queries on XML documents. The API is as much
as possible the similar to jQuery. %name uses lxml for fast XML and HTML
manipulation.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
# test_selector_html uses XML namespaces, which are broken with libxml2 2.10.4+
%tox_check -- -k 'not test_get and not test_selector_html'
%files
%doc *.rst *.txt
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%pypi_name-%version-py%_python3_version.egg-info/
%changelog
…
Полный changelog можно просмотреть здесь
%define pypi_name pyquery
%def_with check
Name: python3-module-%pypi_name
Version: 2.0.0
Release: alt2
Summary: A jQuery-like library for python
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.org/project/pyquery/
Vcs: https://github.com/gawel/pyquery
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3-module-cssselect
BuildRequires: python3-module-lxml
BuildRequires: python3-module-webtest
%endif
%description
%name allows you to make jQuery queries on XML documents. The API is as much
as possible the similar to jQuery. %name uses lxml for fast XML and HTML
manipulation.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
# test_selector_html uses XML namespaces, which are broken with libxml2 2.10.4+
%tox_check -- -k 'not test_get and not test_selector_html'
%files
%doc *.rst *.txt
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%pypi_name-%version-py%_python3_version.egg-info/
%changelog
…
Полный changelog можно просмотреть здесь