Port details |
- py-pefile Python module to read and work with PE files
- 2024.8.26 devel
=2 2023.2.7Version of this port present on the latest quarterly branch. - Maintainer: antoine@FreeBSD.org
 - Port Added: 2006-07-25 21:22:14
- Last Update: 2025-02-18 10:04:22
- Commit Hash: 4b09b2c
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/erocarrera/pefile
- Description:
- pefile is a Python module to read and work with PE files. Most of the
information in the PE Header is accessible, as well as all the sections,
section's information and data.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pefile>0:devel/py-pefile@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pefile/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pefile
- pkg install py311-pefile
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-pefile listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pefile
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1739812931
SHA256 (pefile-2024.8.26.tar.gz) = 3ff6c5d8b43e8c37bb6e6dd5085658d658a7a0bdcd20b6a07b1fcfc1c4e9d632
SIZE (pefile-2024.8.26.tar.gz) = 76008
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/plasma
- devel/py-cle
- misc/py-icoextract
- security/py-plaso
- security/py-volatility3
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-pefile
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2024.8.26 18 Feb 2025 10:04:22
    |
Antoine Brodin (antoine)  |
devel/py-pefile: update to 2024.8.26 |
2023.2.7 30 Oct 2023 15:33:51
    |
Mikael Urankar (mikael)  |
devel/py-pefile: Update to 2023.2.7
PR: 274735
Approved by: antoine (maintainer) |
2021.5.24 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2021.5.24 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2021.5.24 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2021.5.24 26 Jun 2021 08:59:00
    |
Antoine Brodin (antoine)  |
devel/py-pefile: update to 2021.5.24 |
2019.4.18 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2019.4.18 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
2019.4.18 11 May 2019 11:24:57
  |
antoine  |
Update to 2019.4.18 |
2018.8.8 17 Aug 2018 13:37:43
  |
antoine  |
Update to 2018.8.8 |
2017.11.5 20 Jun 2018 17:05:44
  |
mat  |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
2017.11.5 02 Dec 2017 13:42:13
  |
antoine  |
Update to 2017.11.5 |
2017.9.3 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
2017.9.3 10 Sep 2017 07:58:58
  |
antoine  |
Update to 2017.9.3 |
2017.8.1 06 Aug 2017 16:15:24
  |
antoine  |
Update to 2017.8.1 |
2017.5.26 11 Jun 2017 12:01:47
  |
antoine  |
Update to 2017.5.26 |
2016.3.28 02 Apr 2016 13:07:15
  |
antoine  |
Update to 2016.3.28, this version works with both python 2 and python 3 |
1.2.10.139 29 Aug 2014 17:28:42
  |
antoine  |
Convert a few ports to USES=python |
1.2.10.139 13 Jan 2014 21:00:04
  |
rene  |
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by: python (mva, rm)
Approved by: portmgr-lurkers (mat) |
1.2.10.139 22 Dec 2013 21:09:27
  |
antoine  |
Remove obsolete patch, we no longer try to avoid setuptools (now default) |
1.2.10.139 12 Dec 2013 18:01:06
  |
antoine  |
- Update to 1.2.10-139
- Use PYDISTUTILS_AUTOPLIST
Changelog: http://code.google.com/p/pefile/#Version:_1.2.10-139 |
1.2.10.123 04 Oct 2013 20:36:58
  |
antoine  |
Convert to STAGEDIR |
1.2.10.123 20 Sep 2013 17:13:47
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
1.2.10.123 17 Jun 2013 19:32:45
  |
antoine  |
- Trim Makefile header, update my email address
- Remove article from COMMENT
- Use PORTDOCS and convert to PORT_OPTIONS
- Remove tab from pkg-descr |
1.2.10.123 27 Nov 2012 07:43:16
  |
culot  |
- Update to 1.2.10-123
PR: ports/173935
Submitted by: antoine@
Feature safe: yes |
1.2.10.114 30 May 2012 19:16:41
 |
rm  |
- update to 1.2.10-114
While I'm here, do some clenup:
- use shortname in MASTER_SITES
- drop LICENSE_FILE for well-know license (MIT)
- strict python versions to 2.x only
- replace redefinition of the whole PYDISTUTILS_EGGINFO with
just PYDISTUTILS_PKGVERSION
- add tab in pkg-descr
PR: 167484
Submitted by: antoine (maintainer) |
1.2.10.93 05 Feb 2011 10:51:57
 |
miwi  |
- Update to 1.2.10-93
- Add LICENSE
- Make happy portlint
PR: 154366
Submitted by: Sofian Brabez <sbrabez@gmail.com>
Approved by: maintainer
Feature safe: yes |
1.2.10.89 10 Nov 2010 03:17:51
 |
wen  |
- Update to 1.2.10-89
- Patch setup.py to prevent problems when setuptools installed
PR: ports/152072
Submitted by: Sofian Brabez <sbrabez@gmail.com>
Approved by: maintainer |
1.2.10.63 11 Nov 2009 14:38:38
 |
miwi  |
- Update to 1.2.10-63
PR: 140431
Submitted by: Antoine Brodin <antoine@freebsd.org> (maintainer) |
1.2.10.60 30 Jan 2009 12:20:12
 |
lwhsu  |
- Update to 1.2.10-60
PR: ports/131150
Submitted by: lwhsu
Approved by: antoine (maintainer) |
1.2.9.1 08 Mar 2008 22:32:42
 |
lwhsu  |
- Update to 1.2.9.1
PR: ports/121492
Submitted by: lwhsu
Approved by: antoine (maintainer) |
1.2.8 06 Mar 2008 22:19:52
 |
edwin  |
Use ${MASTER_SITE_GOOGLE_CODE} instead of
http://something.googlecode.com/files
PR: ports/121435 (related) |
1.2.8 12 Dec 2007 20:21:30
 |
lwhsu  |
- Update to 1.2.8
PR: ports/118558
Submitted by: Antoine Brodin <antoine.brodin AT laposte.net> (maintainer) |
1.2.7 16 Sep 2007 03:01:00
 |
lwhsu  |
- Update to 1.2.7
- Update WWW
PR: ports/116369
Submitted by: Antoine Brodin <antoine.brodin AT laposte.net> (maintainer) |
1.2.6 10 Sep 2007 12:28:36
 |
lwhsu  |
- Update to 1.2.6
PR: ports/115653
Submitted by: Antoine Brodin <antoine.brodin AT laposte.net> (maintainer) |
1.2.5 09 Jun 2007 12:51:35
 |
lwhsu  |
- Update to 1.2.5
PR: ports/113492
Submitted by: Antoine Brodin <antoine.brodin AT laposte.net> (maintainer) |
1.2.4 09 Mar 2007 11:26:07
 |
miwi  |
- Update to 1.2.4
PR: 110077
Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org>
Approved by: maintainer |
1.2.3 01 Mar 2007 11:44:20
 |
miwi  |
- Update to 1.2.3
PR; 109659
Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org>
Approved by: maintainer |
1.2.2 25 Feb 2007 14:45:33
 |
clsung  |
- Update to 1.2.2
- Adjust DOCSDIR
PR: ports/109447
Submitted by: Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
Approved by: maintainer (Antoine Brodin) |
1.2 09 Nov 2006 07:28:15
 |
alexbl  |
- update to 1.2
PR: 105217
Submitted by: Antoine Brodin <antoine.brodin@laposte.net> (maintainer) |
1.1 25 Jul 2006 21:21:48
 |
miwi  |
pefile is a Python module to read and work with PE files. Most of the
information in the PE Header is accessible, as well as all the sections,
section's information and data.
WWW: http://dkbza.org/pefile.html
PR: ports/100393
Submitted by: Antoine Brodin <antoine.brodin(at)laposte.net>
Approved by: krion (mentor) |