python update
This commit is contained in:
1 parent
95d3b771e7
commit
d799fb4687
59 files changed
+290
-296
No files matched your search
@@ -1,29 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
name='py3-lxml'
|
||||
release='1'
|
||||
version='4.9.2'
|
||||
release='2'
|
||||
version='5.4.0'
|
||||
url='https://pypi.org/project/lxml/'
|
||||
description='Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.'
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/lxml/lxml/archive/refs/tags/lxml-$version.tar.gz")
|
||||
depends=(python3.11 libxml2 libxslt py3-cython)
|
||||
depends=(python libxml2 libxslt py3-cython)
|
||||
makedepends=()
|
||||
md5sums=('08379bd7d53386d636db7ff3d0e05fde')
|
||||
sha256sums=('12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2')
|
||||
group=(dev.python)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
|
||||
mv lxml-lxml-$version lxml-$version
|
||||
cd lxml-$version
|
||||
cd lxml-lxml-$version
|
||||
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
unset LDFLAGS
|
||||
|
||||
build(){
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package(){
|
||||
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
||||
python3 setup.py install --root="${DESTDIR}" --optimize=1 --skip-build
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user