summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Barry J. Grundy2022-05-07 05:51:48 +0200
committer Willy Sudiarto Raharjo2022-05-07 08:59:36 +0200
commit8517928f1f7b54e856213ffc6e02f1308b2d0db9 (patch)
tree37d7e399461c17a5091b4c04ef2bdb3588fb2726
parent0d8a8dcf898a2f9840bdaa641705024d36157d49 (diff)
downloadslackbuilds-8517928f1f7b54e856213ffc6e02f1308b2d0db9.tar.gz
python/pefile: Updated for version 2021.9.3.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/pefile/README15
-rw-r--r--python/pefile/pefile.SlackBuild8
-rw-r--r--python/pefile/pefile.info6
3 files changed, 13 insertions, 16 deletions
diff --git a/python/pefile/README b/python/pefile/README
index a6551ab27d..4f186a2b80 100644
--- a/python/pefile/README
+++ b/python/pefile/README
@@ -1,14 +1,11 @@
pefile is a Python Portable Executable (PE) reader module.
-pefile is a multi-platform Python module to read and work with
-Portable Executable (aka PE) files. Most of the information in the
-PE Header is accessible, as well as all the sections, section's
-information and data.
-
-pefile requires some basic understanding of the layout of a PE
-file. Armed with it it's possible to explore nearly every single
-feature of the file. Some of the tasks that pefile makes possible
-are:
+pefile is a multi-platform Python module to read and work with Portable
+Executable (aka PE) files. Most of the information in the PE Header is
+accessible, as well as all the sections, section's information and data.
+pefile requires some basic understanding of the layout of a PE file.
+Armed with it it's possible to explore nearly every single feature of
+the file. Some of the tasks that pefile makes possible are:
Modifying and writing back to the PE image
Header Inspection
diff --git a/python/pefile/pefile.SlackBuild b/python/pefile/pefile.SlackBuild
index 3a8778cb40..a6c6f7cc05 100644
--- a/python/pefile/pefile.SlackBuild
+++ b/python/pefile/pefile.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Slackware build script for pefile
-# Copyright 2016-2019 Barry Grundy <bgrundy[at]linuxleo.com>
+# Copyright 2016-2022 Barry Grundy <bgrundy[at]linuxleo.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,12 +21,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# Updated for 2018.8.8 Jan 2019, Barry J. Grundy.
+# Updated for 2021.9.3 January 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pefile
-VERSION=${VERSION:-2018.8.8}
+VERSION=${VERSION:-2021.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,7 +80,7 @@ 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 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/pefile/pefile.info b/python/pefile/pefile.info
index ebd1f12574..4849f35b17 100644
--- a/python/pefile/pefile.info
+++ b/python/pefile/pefile.info
@@ -1,8 +1,8 @@
PRGNAM="pefile"
-VERSION="2018.8.8"
+VERSION="2021.9.3"
HOMEPAGE="https://pypi.python.org/pypi/pefile/"
-DOWNLOAD="https://files.pythonhosted.org/packages/ed/cc/157f20038a80b6a9988abc06c11a4959be8305a0d33b6d21a134127092d4/pefile-2018.8.8.tar.gz"
-MD5SUM="ba779dbf686a513d5ae57d82dd9bc579"
+DOWNLOAD="https://files.pythonhosted.org/packages/ee/e1/a7bd302cf5f74547431b4e9b206dbef782d112df6b531f193bb4a29fb1b9/pefile-2021.9.3.tar.gz"
+MD5SUM="47969d5c421429cf9dc09a023547b621"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""