aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-11-01 13:03:25 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-04 14:05:48 +0700
commit5538497020f98f177d93942bf6eb2c810a8d85b9 (patch)
tree43f176dab6950d3e14da1271a650688bc6bb13a9
parent67e055b7aeb40365b80af434fe5d3540c7f50ff2 (diff)
python/python3-statsmodels: Update for 0.13.5
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python3-statsmodels/python3-statsmodels.SlackBuild9
-rw-r--r--python/python3-statsmodels/python3-statsmodels.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/python/python3-statsmodels/python3-statsmodels.SlackBuild b/python/python3-statsmodels/python3-statsmodels.SlackBuild
index 6348d9e0c8ce1..141b94afbfacb 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
diff --git a/python/python3-statsmodels/python3-statsmodels.info b/python/python3-statsmodels/python3-statsmodels.info
index d5b8a9f3ab7b0..46dd8385306c7 100644
--- a/python/python3-statsmodels/python3-statsmodels.info
+++ b/python/python3-statsmodels/python3-statsmodels.info
@@ -1,8 +1,8 @@
PRGNAM="python3-statsmodels"
-VERSION="0.13.2"
+VERSION="0.13.5"
HOMEPAGE="http://statsmodels.sourceforge.net/"
-DOWNLOAD="https://pypi.python.org/packages/source/s/statsmodels/statsmodels-0.13.2.tar.gz"
-MD5SUM="08d926aef96b97615a88e77c2dbf7f69"
+DOWNLOAD="https://pypi.python.org/packages/source/s/statsmodels/statsmodels-0.13.5.tar.gz"
+MD5SUM="b5f2f644c99ec300075df40d87900f08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-pandas python3-patsy scipy3"