Compare commits

..

No commits in common. "c10s" and "c8-beta" have entirely different histories.

11 changed files with 6 additions and 36 deletions

View File

@ -1 +0,0 @@
1

5
.gitignore vendored
View File

@ -1,4 +1 @@
/lxml-4.9.1.tar.gz
/lxml-4.9.2.tar.gz
/lxml-4.9.2-no-isoschematron.tar.gz
/lxml-4.9.2-no-isoschematron-rng.tar.gz
SOURCES/lxml-4.9.2-no-isoschematron-rng.tar.gz

View File

@ -0,0 +1 @@
f1e11c2749a48d710b9113eccd67e1bda9a21a39 SOURCES/lxml-4.9.2-no-isoschematron-rng.tar.gz

View File

@ -23,9 +23,9 @@ Source1: get-lxml-source.sh
# depending on the availability of the RNG validation file
# Rebased from https://github.com/lxml/lxml/commit/4bfab2c821961fb4c5ed8a04e329778c9b09a1df
# Will be included in lxml 5.0
Patch: Make-the-validation-of-ISO-Schematron-files-optional.patch
Patch1: Make-the-validation-of-ISO-Schematron-files-optional.patch
# Skip test_isoschematron.test_schematron_invalid_schema_empty without the RNG file
Patch: https://github.com/lxml/lxml/pull/380.patch
Patch2: https://github.com/lxml/lxml/pull/380.patch
BuildRequires: gcc
BuildRequires: libxml2-devel
@ -75,13 +75,13 @@ cp -a build/lib.%{python3_platform}-*/* src/
* Tue Aug 15 2023 Tomas Orsava <torsava@redhat.com> - 4.9.2-4
- Bring back the isoschematron submodule,
but without the validation of the schema file itself
- Resolves: RHEL-5570
- Resolves: RHEL-5569
* Thu Feb 16 2023 Charalampos Stratakis <cstratak@redhat.com> - 4.9.2-3
- Remove the isoschematron submodule
* Fri Feb 10 2023 Charalampos Stratakis <cstratak@redhat.com> - 4.9.2-2
- Remove the extras subpackages
- Bump release
* Mon Nov 14 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.9.2-1
- Initial package

View File

@ -1,7 +0,0 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,7 +0,0 @@
import lxml.etree as et
s = '<foo><bar baz="xyzzy">a<![CDATA[b]]>c</bar></foo>'
x = et.fromstring(s)
t = x.find('bar').text
print(t)
if t != 'abc':
raise Exception()

View File

@ -1,12 +0,0 @@
summary: Basic smoke test
discover:
how: shell
tests:
- name: /smoke/import-python-module
test: |
python3.11 -c 'import importlib as il; print(il.import_module("lxml"))'
- name: /smoke/etree-fromstring
test: |
python3.11 plans/etree-fromstring.py
execute:
how: tmt

View File

@ -1 +0,0 @@
SHA512 (lxml-4.9.2-no-isoschematron-rng.tar.gz) = 7de5a626bb87f2f56f90a3c308199ed79d78796eeb075b5d42df4bccf3606d3fb2e2981fa9206412b675304dd487fce2dfb90b3b3e0793e8d63be2216b325c47