BSD Ports

www/py-w3lib 2.4.1 FreeBSD

Library of web-related functions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
2dfe786108
License
BSD3CLAUSE
Categories
www, python
Package size
39.4 KiB, 175.0 KiB installed

Description

This is a Python library of web-related functions, such as:

  • remove comments, or tags from HTML snippets
  • extract base url from HTML snippets
  • translate entites on HTML strings
  • encoding mulitpart/form-data
  • convert raw HTTP headers to dicts and vice-versa
  • construct HTTP auth header
  • converting HTML pages to unicode
  • RFC-compliant url joining
  • sanitize urls (like browsers do)
  • extract arguments from urls

In the other systems

SystemPortVersion
FreeBSDwww/py-w3lib2.4.1
NetBSDwww/py-w3lib2.4.1
DragonFlywww/py-w3lib1.21.0_1

Install

Binary package:

pkg install py312-w3lib

From the ports tree:

cd /usr/ports/www/py-w3lib/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-w3lib>0:www/py-w3lib

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.4.12.4.11.21.01.21.0_12.4.1
FreeBSD:14:quarterly2.4.12.4.1n/a1.21.0_12.4.1
FreeBSD:15:latest2.4.12.4.1n/a1.21.0_11.21.0_1
FreeBSD:15:quarterly2.4.12.4.1n/an/an/a
FreeBSD:16:latest2.4.12.4.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
w3lib-2.4.1.tar.gz484948dd69ee39ff6398d708c793abc779c334a69bac7cee1cdf71736c669ed6be864
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
2dfe786108 Steven Kreuzer www/py-w3lib: update to 2.4.1
Changelog highlights (1.21.0 -> 2.4.1): - Python 3.8+ required (dropped 2.7/3.7 support) - Removed dependency on six - Build converted to pep517 (hatchling backend) - New URL parsing behavior: canonicalize_url() no longer removes dot-segments Port changes: - DISTVERSION 2.4.1, drop PORTREVISION - Convert USE_PYTHON distutils -> pep517 - RUN_DEPENDS: drop py-six; add BUILD_DEPENDS on py-hatchling - Enable tests: USE_PYTHON += pytest (241 passed, 76 xfailed) PR: 297778 Reported by: skreuzer