diff options
-rw-r--r-- | python/pefile/README | 15 | ||||
-rw-r--r-- | python/pefile/pefile.SlackBuild | 8 | ||||
-rw-r--r-- | python/pefile/pefile.info | 6 |
3 files changed, 13 insertions, 16 deletions
diff --git a/python/pefile/README b/python/pefile/README index a6551ab27dbfb..4f186a2b80866 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 3a8778cb40b73..a6c6f7cc05863 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 ebd1f125742ea..4849f35b170f4 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="" |