python/nh3: update to 0.2.17
| | |
| | | # |
| | | |
| | | BUILD_STYLE = pyproject |
| | | PYTHON3_SOABI = abi3 |
| | | |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | COMPONENT_NAME = nh3 |
| | | HUMAN_VERSION = 0.2.15 |
| | | HUMAN_VERSION = 0.2.17 |
| | | COMPONENT_SUMMARY = nh3 - Python bindings to the ammonia HTML sanitization library. |
| | | COMPONENT_ARCHIVE_URL = \ |
| | | https://files.pythonhosted.org/packages/08/03/506eb477d723da0db7c46d6259ee06bc68243ef40f5626eb66ab72ae4d69/nh3-0.2.15.tar.gz |
| | | COMPONENT_ARCHIVE_HASH = \ |
| | | sha256:d1e30ff2d8d58fb2a14961f7aac1bbb1c51f9bdd7da727be35c63826060b0bf3 |
| | | sha256:40d0741a19c3d645e54efba71cb0d8c475b59135c1e3c580f879ad5514cbf028 |
| | | COMPONENT_LICENSE = MIT |
| | | COMPONENT_LICENSE_FILE = LICENSE |
| | | |
| | |
| | | # |
| | | |
| | | # |
| | | # Copyright 2023 <contributor> |
| | | # Copyright 2024 <contributor> |
| | | # |
| | | |
| | | set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
| | |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3-$(HUMAN_VERSION).dist-info/WHEEL |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/__init__.py |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/__init__.pyi |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/nh3.so |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/nh3.abi3.so |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/py.typed |
| | | |
| | | # python modules are unusable without python runtime binary |
| | |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3-$(HUMAN_VERSION).dist-info/WHEEL |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/__init__.py |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/__init__.pyi |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/nh3.so |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/nh3.abi3.so |
| | | file path=usr/lib/python$(PYVER)/vendor-packages/nh3/py.typed |
| | | |
| | | # python modules are unusable without python runtime binary |
| | |
| | | "system/library/gcc-13-runtime" |
| | | ], |
| | | "fmris": [ |
| | | "library/python/nh3-39", |
| | | "library/python/nh3" |
| | | "library/python/nh3", |
| | | "library/python/nh3-39" |
| | | ], |
| | | "name": "nh3" |
| | | } |
| | | } |
| | |
| | | # Copyright 2023 Marcel Telka |
| | | # |
| | | |
| | | %include-1% |
| | | PYTHON3_SOABI = abi3 |
| | | %include-3% |
| | | # https://www.illumos.org/issues/15767 |
| | | LD_Z_IGNORE= |
| | |
| | | platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) |
| | | cachedir: .pytest_cache |
| | | rootdir: $(@D) |
| | | configfile: pyproject.toml |
| | | collecting ... collected 4 items |
| | | |
| | | tests/test_nh3.py::test_clean PASSED |
| | |
| | | |
| | | =============================== warnings summary =============================== |
| | | tests/test_nh3.py::test_clean_with_attribute_filter |
| | | $(PYTHON_DIR)/vendor-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: ('img', 'src', 'foo') |
| | | $(PYTHON_DIR)/vendor-packages/_pytest/unraisableexception.py:80: PytestUnraisableExceptionWarning: Exception ignored in: ('img', 'src', 'foo') |
| | | |
| | | Traceback (most recent call last): |
| | | File "$(@D)/tests/test_nh3.py", line 71, in test_clean_with_attribute_filter |