diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-11-01 13:03:25 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-04 14:05:48 +0700 |
commit | 5538497020f98f177d93942bf6eb2c810a8d85b9 (patch) | |
tree | 43f176dab6950d3e14da1271a650688bc6bb13a9 /python/python3-statsmodels/python3-statsmodels.SlackBuild | |
parent | 67e055b7aeb40365b80af434fe5d3540c7f50ff2 (diff) |
python/python3-statsmodels: Update for 0.13.5
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-statsmodels/python3-statsmodels.SlackBuild')
-rw-r--r-- | python/python3-statsmodels/python3-statsmodels.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/python/python3-statsmodels/python3-statsmodels.SlackBuild b/python/python3-statsmodels/python3-statsmodels.SlackBuild index 6348d9e0c8ce..141b94afbfac 100644 --- a/python/python3-statsmodels/python3-statsmodels.SlackBuild +++ b/python/python3-statsmodels/python3-statsmodels.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-statsmodels -VERSION=${VERSION:-0.13.2} +VERSION=${VERSION:-0.13.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,14 +81,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py build -python3 setup.py install --root=$PKG --optimize=1 +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES.md CONTRIBUTING.rst COPYRIGHTS.txt LICENSE.txt README.rst README_l1.txt requirements*.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |