* update python-faust-cchardet to 2.1.19-2
This commit is contained in:
parent
a29f27d579
commit
83350bbbee
@ -3,9 +3,9 @@
|
||||
|
||||
pkgname=python-faust-cchardet
|
||||
pkgver=2.1.19
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Fork of the original cChardet"
|
||||
url="https://pypi.org/project/faust-cchardet/"
|
||||
url="https://github.com/faust-streaming/cChardet"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=(
|
||||
GPL
|
||||
@ -17,6 +17,7 @@ depends=(
|
||||
)
|
||||
makedepends=(
|
||||
cython
|
||||
git
|
||||
python-build
|
||||
python-installer
|
||||
python-pkgconfig
|
||||
@ -26,21 +27,27 @@ makedepends=(
|
||||
provides=("python-cchardet=$pkgver")
|
||||
conflicts=(python-cchardet)
|
||||
source=(
|
||||
https://files.pythonhosted.org/packages/source/f/faust-cchardet/faust-cchardet-$pkgver.tar.gz
|
||||
"faust-cchardet::git+$url#tag=v$pkgver"
|
||||
"pyyoshi-uchardet::git+https://github.com/PyYoshi/uchardet"
|
||||
)
|
||||
sha256sums=('f89386297cde0c8e0f5e21464bc2d6d0e4a4fc1b1d77cdb238ca24d740d872e0')
|
||||
b2sums=('e4dcee1147eaa0247db5d3d75b805337819bb372c10e7e1b6d93195fe73f8a88a0db73c8fc5769b7ddbc4deff5eba424c07835c49bd7ebb5ff6cfafb551f15e4'
|
||||
'SKIP')
|
||||
|
||||
prepare() {
|
||||
cd faust-cchardet-$pkgver
|
||||
cd faust-cchardet
|
||||
|
||||
git submodule init
|
||||
git submodule set-url src/ext/uchardet "$srcdir/pyyoshi-uchardet"
|
||||
git -c protocol.file.allow=always -c protocol.allow=never submodule update
|
||||
}
|
||||
|
||||
build() {
|
||||
cd faust-cchardet-$pkgver
|
||||
cd faust-cchardet
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd faust-cchardet-$pkgver
|
||||
cd faust-cchardet
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user