python3-chardet: fix file conflict with python-chardet

This commit is contained in:
Danny Rawlins 2018-04-14 22:29:48 +10:00
parent 9faa424cde
commit 7d23badcf9
3 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/chardetect
-rwxr-xr-x root/root usr/bin/chardetect-py3
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.6/
drwxr-xr-x root/root usr/lib/python3.6/site-packages/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF307NDbx2SUJVCqLSNs4ImFeP1vAKJi+VhprIUZ464T31pdujDgDgBT7dGnpWmBpG+bmbAC0SSd9kojc+kuhagAg=
SHA256 (Pkgfile) = 6be5990fa45d333b48efc310d35a84cf63b09145025bfe8949e85eb947c64143
SHA256 (.footprint) = 44154b8eefe2efb58918c11740b33332cb1da71ff7a041b89ea94fb857080220
RWSagIOpLGJF36Dbzx5l9pec5HSBncyKHyOtTQCZMijvDgOSRh4rg2smcPV9HmdfMWz6YTqJiqeAHybup+LoVxOOBF0+z/kzsgU=
SHA256 (Pkgfile) = d4686295adba1cd05b65735967d6f4ba5ade55fe31a2c0b100c7bd389cfc1ace
SHA256 (.footprint) = e02c669f6d85589eeafd07992bccf591a4e2d374ca6e3fd4bd3ae7ddf4f3ce5b
SHA256 (chardet-3.0.4.tar.gz) = 84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae

View File

@ -5,11 +5,12 @@
name=python3-chardet
version=3.0.4
release=1
release=2
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
mv $PKG/usr/bin/chardetect{,-py3}
}