Package Details: python2-lxml 4.9.4-2

Git Clone URL: https://aur.archlinux.org/python2-lxml.git (read-only, click to copy)
Package Base: python2-lxml
Description: Python2 binding for the libxml2 and libxslt libraries
Upstream URL: https://lxml.de/
Licenses: custom, BSD
Submitter: patlefort
Maintainer: patlefort
Last Packager: patlefort
Votes: 10
Popularity: 0.002549
First Submitted: 2021-06-22 01:52 (UTC)
Last Updated: 2024-03-31 01:02 (UTC)

Dependencies (9)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5

patlefort commented on 2022-06-23 20:12 (UTC)

I've made the necessary changes to add tests, however, tests are failing for me with a seg fault. Maybe you'll have more luck than me?

MarsSeed commented on 2022-06-23 19:04 (UTC) (edited on 2022-06-23 19:05 (UTC) by MarsSeed)

Hi, could you please add back testing?

I've recreated and uploaded the formerly missing packages to AUR. The checkdepends are also optdepends.

I recommend the following simple additions:

checkdepends=('python2-beautifulsoup4' 'python2-cssselect' 'python2-html5lib')

optdepends=(
  'python2-beautifulsoup4: malformed HTML parsing support'
  'python2-cssselect: CSS parsing support'
  'python2-html5lib: HTML5 parsing support'
)    
# [...]

check() {
  cd "${_dir}"
  # need to use UTF-8 based locale; tests fail with e.g. LC_ALL=C
  make LC_ALL=C.UTF-8 PYTHON=python2 test    
}

It's not a heavy burden to build those depends from AUR. Yet it is very useful to run all 1955 test cases (and that is done quickly, too).

plenaerts commented on 2022-02-13 21:05 (UTC)

This package builds fine on armv7h ; please add it to the archs.

bidulock commented on 2021-12-29 00:06 (UTC)

This can't be an "any" package. Please change to x86_64 and i686.