www/py-nh3 0.3.7_2 FreeBSD
Python Bindings to the ammonia HTML sanitization library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- www, python
- Package size
- 564.0 KiB, 1818.6 KiB installed
Description
This package offers Python bindings to the ammonia HTML sanitization library (see https://github.com/rust-ammonia/ammonia) and it has many options to customize the sanitization.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-nh3 | 0.3.7_2 |
| OpenBSD | www/py-nh3 | 0.3.7 |
| NetBSD | www/py-nh3 | 0.3.7 |
| DragonFly | www/py-nh3 | 0.2.21 |
| MidnightBSD | www/py-nh3 | 0.2.21_1 |
| HardenedBSD | www/py-nh3 | 0.3.7_1 |
| GhostBSD | www/py-nh3 | 0.3.7_1 |
Install
Binary package:
pkg install py312-nh3
From the ports tree:
cd /usr/ports/www/py-nh3/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-nh3>0:www/py-nh3
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.3.7_1 | 0.3.7_2 | - | 0.3.0 | 0.3.7_2 |
| FreeBSD:14:quarterly | 0.3.7_1 | 0.3.7_1 | n/a | 0.3.0 | 0.3.7_1 |
| FreeBSD:15:latest | 0.3.7_2 | 0.3.7_2 | n/a | 0.3.0 | 0.3.0 |
| FreeBSD:15:quarterly | 0.3.7_1 | 0.3.7_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.3.7_1 | 0.3.7_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.0<2.0: devel/py-maturin
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-maturin
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 7
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 84
| File | Size | SHA256 |
|---|---|---|
| nh3-0.3.7.tar.gz | 25662 | 71860d01c16f4d8c72e334e0674beb2b0899dbd0bf760de18932ef4390303848 |
| rust/crates/aliasable-0.1.3.crate | 6169 | 250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd |
| rust/crates/ammonia-4.1.4.crate | 63002 | dc6d763210e2eb7670d1a5183a08bebefa3f97db2a738a684f2ce00bd49f681d |
| rust/crates/bitflags-2.13.1.crate | 51395 | b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da |
| rust/crates/cfg-if-1.0.4.crate | 9360 | 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 |
| rust/crates/cssparser-0.37.0.crate | 56860 | 8c9cdaae01d5ed7882b04d795e7f752f46ff52d2fa3b50a20d28c464510bba98 |
| rust/crates/displaydoc-0.2.7.crate | 21343 | c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8 |
| rust/crates/dtoa-1.0.11.crate | 21122 | 4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590 |
| rust/crates/dtoa-short-0.3.5.crate | 8287 | cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87 |
| rust/crates/fastrand-2.5.0.crate | 20782 | da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223 |
| rust/crates/form_urlencoded-1.2.2.crate | 9347 | cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf |
| rust/crates/heck-0.4.1.crate | 11567 | 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 |
| rust/crates/heck-0.5.0.crate | 11517 | 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea |
| rust/crates/html5ever-0.39.0.crate | 81764 | 46a1761807faccc9a19e86944bbf40610014066306f96edcdedc2fb714bcb7b8 |
| rust/crates/icu_collections-2.3.0.crate | 87970 | fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513 |
| rust/crates/icu_locale_core-2.3.0.crate | 80250 | d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb |
| rust/crates/icu_normalizer-2.3.0.crate | 530595 | 12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f |
| rust/crates/icu_normalizer_data-2.3.0.crate | 67215 | 1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0 |
| rust/crates/icu_properties-2.3.0.crate | 102637 | 7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148 |
| rust/crates/icu_properties_data-2.3.0.crate | 169152 | e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa |
Master sites 1
- PYPI