[arch-commits] Commit in python-lxml/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Oct 17 22:37:41 UTC 2020


    Date: Saturday, October 17, 2020 @ 22:37:41
  Author: felixonmars
Revision: 398548

upgpkg: python-lxml 4.6.0-1

Modified:
  python-lxml/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-17 22:30:50 UTC (rev 398547)
+++ PKGBUILD	2020-10-17 22:37:41 UTC (rev 398548)
@@ -3,17 +3,17 @@
 
 pkgbase=python-lxml
 pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
-pkgver=4.5.2
+pkgver=4.6.0
 pkgrel=1
 arch=('x86_64')
 license=('BSD' 'custom')
 url="https://lxml.de/"
-makedepends=('libxslt' 'python-setuptools' 'python2-setuptools' 'epydoc' 'python2-pygments'
-             'python2-docutils' 'cython' 'cython2')
+makedepends=('libxslt' 'python-setuptools' 'python2-setuptools' 'python-pygments'
+             'python-sphinx' 'cython' 'cython2')
 checkdepends=('python-cssselect' 'python2-cssselect' 'python-html5lib' 'python2-html5lib'
               'python-beautifulsoup4' 'python2-beautifulsoup4')
 source=("https://github.com/lxml/lxml/archive/lxml-$pkgver.tar.gz")
-sha512sums=('146dcb4414b7f0815c5930048d9dc89711bf0a3ee091c89f4475265cdd6f1690a20f82ec24a282a43cff8854f9b960f0cd4430cff79a7506d39ac1baf7770695')
+sha512sums=('b92403b68babac8112ec87989909eb03b75ad365bcd938daef11f4768e95d9bc7a53dae90882d22eeb51bc1a04ae47f8deac504e426b1751826575280655c19e')
 
 prepare() {
   mv lxml-lxml-$pkgver lxml-$pkgver
@@ -26,10 +26,10 @@
 build() {
   cd "$srcdir"/lxml-$pkgver
   python setup.py build
+  make html
 
   cd "$srcdir"/lxml-$pkgver-py2
   python2 setup.py build
-  make PYTHON=python2 html
 }
 
 check() {
@@ -84,7 +84,7 @@
   pkgdesc="Python binding for the libxml2 and libxslt libraries (docs)"
   options=('docs')
 
-  cd lxml-$pkgver-py2
+  cd lxml-$pkgver
   install -d "$pkgdir"/usr/share/doc/$pkgbase
   cp -r doc/html "$pkgdir"/usr/share/doc/$pkgbase
 



More information about the arch-commits mailing list