Group :: Development/Python3
RPM: python3-module-xmlschema
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname xmlschema
%def_without check
Name: python3-module-%oname
Version: 2.2.3
Release: alt1
Summary: XML Schema validator and data conversion library
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/xmlschema/
Vcs: https://github.com/sissaschool/xmlschema
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(elementpath)
BuildRequires: python3(lxml)
%if_with check
BuildRequires: /proc
BuildRequires: python3(tox)
BuildRequires: python3-module-memory_profiler
%endif
%description
The xmlschema library is an implementation of XML Schema for Python.
%prep
%setup
%build
export LANG=C.UTF-8
%python3_build
%install
%python3_install
%check
%tox_check
%files
%doc LICENSE README.rst
%_bindir/xmlschema-json2xml
%_bindir/xmlschema-validate
%_bindir/xmlschema-xml2json
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Todas as alterações você pod ver aqui
%define oname xmlschema
%def_without check
Name: python3-module-%oname
Version: 2.2.3
Release: alt1
Summary: XML Schema validator and data conversion library
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/xmlschema/
Vcs: https://github.com/sissaschool/xmlschema
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(elementpath)
BuildRequires: python3(lxml)
%if_with check
BuildRequires: /proc
BuildRequires: python3(tox)
BuildRequires: python3-module-memory_profiler
%endif
%description
The xmlschema library is an implementation of XML Schema for Python.
%prep
%setup
%build
export LANG=C.UTF-8
%python3_build
%install
%python3_install
%check
%tox_check
%files
%doc LICENSE README.rst
%_bindir/xmlschema-json2xml
%_bindir/xmlschema-validate
%_bindir/xmlschema-xml2json
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Todas as alterações você pod ver aqui