Группа :: Development/Python3
Пакет: python3-module-elementpath
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname elementpath
%def_with check
Name: python3-module-%oname
Version: 4.1.4
Release: alt1
Summary: XPath 1.0 and 2.0 selectors for Python's ElementTree XML data
License: MIT
Group: Development/Python3
URL: https://pypi.org/project/elementpath
VCS: https://github.com/sissaschool/elementpath
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-lxml
%endif
BuildArch: noarch
%description
%oname provides XPath 1.0 and 2.0 selectors for Python's ElementTree XML data
structures, both for the standard ElementTree library and for the lxml.etree
library.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
# test_validate_json_to_xml and test_validate_analyzed_string needs xmlschema
%pyproject_run_pytest -k"not test_validate_json_to_xml and \
not test_validate_analyzed_string"
%files
%doc LICENSE README.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Полный changelog можно просмотреть здесь
%define oname elementpath
%def_with check
Name: python3-module-%oname
Version: 4.1.4
Release: alt1
Summary: XPath 1.0 and 2.0 selectors for Python's ElementTree XML data
License: MIT
Group: Development/Python3
URL: https://pypi.org/project/elementpath
VCS: https://github.com/sissaschool/elementpath
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-lxml
%endif
BuildArch: noarch
%description
%oname provides XPath 1.0 and 2.0 selectors for Python's ElementTree XML data
structures, both for the standard ElementTree library and for the lxml.etree
library.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
# test_validate_json_to_xml and test_validate_analyzed_string needs xmlschema
%pyproject_run_pytest -k"not test_validate_json_to_xml and \
not test_validate_analyzed_string"
%files
%doc LICENSE README.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Полный changelog можно просмотреть здесь