blob: ae3d85945532fa25cea9b1cb96c868028f955839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Michał Adamski <michal@ert.pl>
pkgname=py3-cchardet
pkgver=2.1.7
pkgrel=2
pkgdesc="High speed universal character encoding detector"
url="https://github.com/PyYoshi/cChardet"
arch="all"
license="MPL-1.1"
makedepends="cython py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/c/cchardet/cchardet-$pkgver.tar.gz"
builddir="$srcdir/cchardet-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
43e663e30ec079b2a954862de5e8136a2e40f69e300d65eb4ce9d7ffa5d8c496dc7c0937b3306b4096cfad12a1d0617628f8f0115534ab6faf9eb39d2b3935a2 cchardet-2.1.7.tar.gz
"
|