| 1 | # Description: Python bindings for the XML library version 2 |
| 2 | # URL: http://xmlsoft.org/ |
| 3 | # Maintainer: Juergen Daubert, jue at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: python3-setuptools libxml2 |
| 6 | |
| 7 | name=python3-libxml2 |
| 8 | version=2.9.10 |
| 9 | release=2 |
| 10 | source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz |
| 11 | python3.9.patch) |
| 12 | |
| 13 | build () { |
| 14 | cd libxml2-$version/python |
| 15 | patch -p2 -i $SRC/python3.9.patch |
| 16 | /usr/bin/python3 setup.py build |
| 17 | /usr/bin/python3 setup.py install --root=$PKG |
| 18 | } |