summaryrefslogtreecommitdiffstats
path: root/python/python3-astroid
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2023-12-06 17:18:07 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-09 07:49:06 +0700
commitf42919185d981fa3ea428ea7be3db281b15c45dc (patch)
treee6021c3ad30106958a79faf0bc848336aa342006 /python/python3-astroid
parentdbbeea8d15a5eef96f9cddf58ea024c4618b63fc (diff)
downloadslackbuilds-f42919185d981fa3ea428ea7be3db281b15c45dc.tar.gz
slackbuilds-f42919185d981fa3ea428ea7be3db281b15c45dc.tar.xz
python/python3-astroid: Updated for version 3.0.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-astroid')
-rw-r--r--python/python3-astroid/python3-astroid.SlackBuild15
-rw-r--r--python/python3-astroid/python3-astroid.info10
2 files changed, 10 insertions, 15 deletions
diff --git a/python/python3-astroid/python3-astroid.SlackBuild b/python/python3-astroid/python3-astroid.SlackBuild
index da8c5317db..4a72acbb3d 100644
--- a/python/python3-astroid/python3-astroid.SlackBuild
+++ b/python/python3-astroid/python3-astroid.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-astroid
-# Copyright 2022 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022-2023 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2018-2019 Markus Rinne Finland
# All rights reserved.
#
@@ -23,15 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# NOTE
-# Regression 2.12.13 -> 2.11.7 due to:
-# https://github.com/SlackBuildsOrg/slackbuilds/pull/2421
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-astroid
SRCNAM=astroid
-VERSION=${VERSION:-2.11.7}
+VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,15 +78,14 @@ 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 install --root=$PKG
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
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 \
- LICENSE PKG-INFO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.rst PKG-INFO $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-astroid/python3-astroid.info b/python/python3-astroid/python3-astroid.info
index 1c37e874ac..b9d9e32e90 100644
--- a/python/python3-astroid/python3-astroid.info
+++ b/python/python3-astroid/python3-astroid.info
@@ -1,10 +1,10 @@
PRGNAM="python3-astroid"
-VERSION="2.11.7"
+VERSION="3.0.1"
HOMEPAGE="https://github.com/PyCQA/astroid"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/a/astroid/astroid-2.11.7.tar.gz"
-MD5SUM="711034bec30a9d9777fad896027086d5"
+DOWNLOAD="https://files.pythonhosted.org/packages/69/53/07229db171855e410bf40a996f1d49cc35222e18a1c95cd566e69bb9e0e5/astroid-3.0.1.tar.gz"
+MD5SUM="b2cd4560f6ea5209b876a9edd7513e0e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-lazy-object-proxy python3-wrapt typing-extensions"
+REQUIRES="python3-setuptools-opt python3-wheel typing-extensions"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"