mypy: fixed mypyc command
This commit is contained in:
@@ -4,7 +4,7 @@ _realname=mypy
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=0.812
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Optional static typing for Python 2 and 3 (PEP484) (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://www.mypy-lang.org/"
|
||||
@@ -42,5 +42,6 @@ package() {
|
||||
sed -e '1 { s/^#!.*$// }' -i ${_f}
|
||||
done
|
||||
|
||||
sed -e '1 { s/^#!.*$// }' -i "${pkgdir}${MINGW_PREFIX}/bin/mypyc"
|
||||
local _PREFIX_WIN=$(cygpath -m ${MINGW_PREFIX})
|
||||
sed -s "s|${_PREFIX_WIN}/bin/||g" -i "${pkgdir}${MINGW_PREFIX}/bin/mypyc"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user