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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q2
py-lxml Pythonic binding for the libxml2 and libxslt libraries
6.0.4 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.4Version of this port present on the latest quarterly branch.
Maintainer: vishwin@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-14 00:33:05
Last Update: 2026-04-14 00:31:02
Commit Hash: fc51630
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 = 1776118943 SHA256 (lxml-6.0.4.tar.gz) = 4137516be2a90775f99d8ef80ec0283f8d78b5d8bd4630ff20163b72e7e9abf2 SIZE (lxml-6.0.4.tar.gz) = 4237780

Packages (timestamps in pop-ups are UTC):
py37-lxml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--4.6.2--n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 

py39-lxml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly--4.9.2--n/an/an/a
FreeBSD:14:latest--4.9.2--4.9.2-4.9.2
FreeBSD:14:quarterly-----4.9.34.9.34.9.3
FreeBSD:15:latest--n/a-n/an/a4.9.34.9.3
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 

py311-lxml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.0.46.1.0-6.0.16.1.0n/an/an/a
FreeBSD:13:quarterly6.0.46.0.4-4.9.3_26.0.4n/an/an/a
FreeBSD:14:latest6.1.16.1.1-6.0.06.1.1---
FreeBSD:14:quarterly6.0.46.0.4-4.9.3_26.0.4---
FreeBSD:15:latest6.1.16.1.1n/a6.0.0n/an/a--
FreeBSD:15:quarterly6.0.46.0.4n/a-n/an/a--
FreeBSD:16:latest6.1.16.1.1n/a-n/an/a--
 

py312-lxml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest----6.1.1---
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 

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-cython>=3.2.4 : lang/cython@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. py311-cssselect>0 : www/py-cssselect@py311
  2. 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. comms/gnuradio
  2. editors/libreoffice
  3. x11-themes/kf6-breeze-icons
for Run
  1. comms/gnuradio
  2. security/caldera
  3. textproc/sigil

Configuration Options:
===> The following configuration options are available for py311-lxml-6.0.4: 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.4
14 Apr 2026 00:31:02
commit hash: fc516303844e4da81498619948e25a7c726d8d5acommit hash: fc516303844e4da81498619948e25a7c726d8d5acommit hash: fc516303844e4da81498619948e25a7c726d8d5acommit hash: fc516303844e4da81498619948e25a7c726d8d5a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-lxml: update to 6.0.4

Changelog: https://lxml.de/6.0/changes-6.0.4.html

For tests, copy built extension module artefacts into src instead
of building them again, and add cssselect TEST_DEPENDS

(cherry picked from commit 8ae5bc33a128b397a9a4cd1789d1a53e8471f2e6)

Number of commits found: 1