components/python/lxml_html_clean/Makefile | ●●●●● patch | view | raw | blame | history | |
components/python/lxml_html_clean/lxml_html_clean-PYVER.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/lxml_html_clean/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/lxml_html_clean/pkg5 | ●●●●● patch | view | raw | blame | history | |
components/python/lxml_html_clean/test/results-all.master | ●●●●● patch | view | raw | blame | history |
components/python/lxml_html_clean/Makefile
New file @@ -0,0 +1,38 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # This file was automatically generated using the following command: # $WS_TOOLS/python-integrate-project lxml_html_clean # BUILD_STYLE = pyproject include ../../../make-rules/shared-macros.mk COMPONENT_NAME = lxml_html_clean HUMAN_VERSION = 0.1.1 COMPONENT_SUMMARY = lxml_html_clean - HTML cleaner from lxml project COMPONENT_PROJECT_URL = https://github.com/fedora-python/lxml_html_clean/ COMPONENT_ARCHIVE_HASH = \ sha256:8a644ed01dbbe132fabddb9467f077f6dad12a1d4f3a6a553e280f3815fa46df COMPONENT_LICENSE = BSD-3-Clause COMPONENT_LICENSE_FILE = LICENSE.txt TEST_STYLE = pytest include $(WS_MAKE_RULES)/common.mk # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/lxml PYTHON_REQUIRED_PACKAGES += library/python/setuptools PYTHON_REQUIRED_PACKAGES += library/python/wheel PYTHON_REQUIRED_PACKAGES += runtime/python components/python/lxml_html_clean/lxml_html_clean-PYVER.p5m
New file @@ -0,0 +1,38 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # This file was automatically generated using python-integrate-project # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/LICENSE.txt file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/METADATA file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/WHEEL file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean/clean.py # python modules are unusable without python runtime binary depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ pkg.debug.depend.path=usr/bin # Automatically generated dependencies based on distribution metadata depend type=require fmri=pkg:/library/python/lxml-$(PYV) components/python/lxml_html_clean/manifests/sample-manifest.p5m
New file @@ -0,0 +1,38 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2024 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/LICENSE.txt file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/METADATA file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/WHEEL file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean-$(HUMAN_VERSION).dist-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/lxml_html_clean/clean.py # python modules are unusable without python runtime binary depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ pkg.debug.depend.path=usr/bin # Automatically generated dependencies based on distribution metadata depend type=require fmri=pkg:/library/python/lxml-$(PYV) components/python/lxml_html_clean/pkg5
New file @@ -0,0 +1,13 @@ { "dependencies": [ "library/python/lxml-39", "library/python/setuptools-39", "library/python/wheel-39", "runtime/python-39" ], "fmris": [ "library/python/lxml-html-clean", "library/python/lxml-html-clean-39" ], "name": "lxml_html_clean" } components/python/lxml_html_clean/test/results-all.master
New file @@ -0,0 +1,30 @@ ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .pytest_cache rootdir: $(@D) configfile: pyproject.toml collecting ... collected 21 items tests/test_clean.py::CleanerTest::test_allow_and_remove PASSED tests/test_clean.py::CleanerTest::test_allow_tags PASSED tests/test_clean.py::CleanerTest::test_clean_invalid_root_tag PASSED tests/test_clean.py::CleanerTest::test_clean_with_comments PASSED tests/test_clean.py::CleanerTest::test_formaction_attribute_in_button_input PASSED tests/test_clean.py::CleanerTest::test_host_whitelist_invalid PASSED tests/test_clean.py::CleanerTest::test_host_whitelist_slash_type_confusion PASSED tests/test_clean.py::CleanerTest::test_host_whitelist_sneaky_userinfo PASSED tests/test_clean.py::CleanerTest::test_host_whitelist_valid PASSED tests/test_clean.py::CleanerTest::test_image_data_links PASSED tests/test_clean.py::CleanerTest::test_image_data_links_in_inline_style PASSED tests/test_clean.py::CleanerTest::test_image_data_links_in_style PASSED tests/test_clean.py::CleanerTest::test_remove_unknown_tags PASSED tests/test_clean.py::CleanerTest::test_safe_attrs_excluded PASSED tests/test_clean.py::CleanerTest::test_safe_attrs_included PASSED tests/test_clean.py::CleanerTest::test_sneaky_import_in_style PASSED tests/test_clean.py::CleanerTest::test_sneaky_js_in_math_style PASSED tests/test_clean.py::CleanerTest::test_sneaky_noscript_in_style PASSED tests/test_clean.py::CleanerTest::test_sneaky_schemes_in_style PASSED tests/test_clean.py::CleanerTest::test_sneaky_urls_in_style PASSED tests/test_clean.py::CleanerTest::test_svg_data_links PASSED ======== 21 passed ========