notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2026Q1
py-lxml Pythonic binding for the libxml2 and libxslt libraries
6.0.2 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.0.2Version of this port present on the latest quarterly branch.
Maintainer: vishwin@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-28 07:12:05
Last Update: 2026-01-28 07:08:29
Commit Hash: 91a172a
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://lxml.de/
https://github.com/lxml/lxml
Description:
lxml is a Python binding for libxml2 and libxslt. Its aim: * Pythonic API. * Documented. * Use Python unicode strings in API. * Safe (no segfaults). * No manual memory management!
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-lxml/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-lxml
  • pkg install py311-lxml
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-lxml listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-lxml
Package flavors (<flavor>: <package>)
  • py311: py311-lxml
distinfo:
TIMESTAMP = 1769575034 SHA256 (lxml-6.0.2.tar.gz) = cd79f3367bd74b317dda655dc8fcfa304d9eb6e4fb06b7168c5cf27f96e0cd62 SIZE (lxml-6.0.2.tar.gz) = 4073426

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>0 : devel/py-wheel@py311
  3. py311-cython3>=3.2.3 : lang/cython3@py311
  4. python3.11 : lang/python311
  5. gcc14 : lang/gcc14
  6. as : devel/binutils
  7. py311-build>=0 : devel/py-build@py311
  8. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
  2. gcc14 : lang/gcc14
Library dependencies:
  1. libxml2.so : textproc/libxml2
  2. libxslt.so : textproc/libxslt
This port is required by:
for Build
  1. textproc/translate-toolkit
for Run
  1. security/caldera
  2. textproc/translate-toolkit

Configuration Options:
===> The following configuration options are available for py311-lxml-6.0.2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_py-lxml
USES:
compiler cpe gnome python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/l/lxml/
  2. https://pypi.org/packages/source/l/lxml/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.0.2
28 Jan 2026 07:08:29
commit hash: 91a172a380eba46746617da7bf2602154d70134fcommit hash: 91a172a380eba46746617da7bf2602154d70134fcommit hash: 91a172a380eba46746617da7bf2602154d70134fcommit hash: 91a172a380eba46746617da7bf2602154d70134f files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
Author: Matthew Wener
devel/py-lxml: update to 6.0.2

Changelog: https://github.com/lxml/lxml/blob/lxml-6.0.2/CHANGES.txt

PR: 292775
(cherry picked from commit 727e59e39c663046776eb6c7ca786aa97681ca12)

Number of commits found: 1