svn commit: r412406 - in head/devel/py-pefile: . files
Antoine Brodin
antoine at FreeBSD.org
Sat Apr 2 13:07:17 UTC 2016
Author: antoine
Date: Sat Apr 2 13:07:15 2016
New Revision: 412406
URL: https://svnweb.freebsd.org/changeset/ports/412406
Log:
Update to 2016.3.28, this version works with both python 2 and python 3
Added:
head/devel/py-pefile/files/
head/devel/py-pefile/files/patch-pefile.py (contents, props changed)
Modified:
head/devel/py-pefile/Makefile
head/devel/py-pefile/distinfo
head/devel/py-pefile/pkg-descr
Modified: head/devel/py-pefile/Makefile
==============================================================================
--- head/devel/py-pefile/Makefile Sat Apr 2 12:58:34 2016 (r412405)
+++ head/devel/py-pefile/Makefile Sat Apr 2 13:07:15 2016 (r412406)
@@ -2,26 +2,23 @@
# $FreeBSD$
PORTNAME= pefile
-DISTVERSION= 1.2.10-139
+PORTVERSION= 2016.3.28
CATEGORIES= devel python
-MASTER_SITES= GOOGLE_CODE
+MASTER_SITES= CHEESESHOP \
+ https://github.com/erocarrera/pefile/files/192316/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine at FreeBSD.org
COMMENT= Python module to read and work with PE files
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python:2
-USE_PYTHON= distutils autoplist
-
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-PORTDOCS= README
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future
-OPTIONS_DEFINE= DOCS
-
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+NO_ARCH= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
Modified: head/devel/py-pefile/distinfo
==============================================================================
--- head/devel/py-pefile/distinfo Sat Apr 2 12:58:34 2016 (r412405)
+++ head/devel/py-pefile/distinfo Sat Apr 2 13:07:15 2016 (r412406)
@@ -1,2 +1,2 @@
-SHA256 (pefile-1.2.10-139.tar.gz) = 8b7c5d853c97a923d0f6e128d0ae76b962aa75fd608d552f5a32e46276908a16
-SIZE (pefile-1.2.10-139.tar.gz) = 57322
+SHA256 (pefile-2016.3.28.tar.gz) = f24021085b5c3ef7b0898bb1f1d93eecd3839e03512769e22b0c5a10d9095f7b
+SIZE (pefile-2016.3.28.tar.gz) = 58110
Added: head/devel/py-pefile/files/patch-pefile.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pefile/files/patch-pefile.py Sat Apr 2 13:07:15 2016 (r412406)
@@ -0,0 +1,11 @@
+--- pefile.py.orig 2016-03-28 18:56:29 UTC
++++ pefile.py
+@@ -5303,7 +5303,7 @@ class PE(object):
+ # [ Microsoft Portable Executable and Common Object File Format Specification ]
+ # "The alignment factor (in bytes) that is used to align the raw data of sections in
+ # the image file. The value should be a power of 2 between 512 and 64 K, inclusive.
+- # The default is 512. If the SectionAlignment is less than the architecture’s page
++ # The default is 512. If the SectionAlignment is less than the architecture's page
+ # size, then FileAlignment must match SectionAlignment."
+ #
+ # The following is a hard-coded constant if the Windows loader
Modified: head/devel/py-pefile/pkg-descr
==============================================================================
--- head/devel/py-pefile/pkg-descr Sat Apr 2 12:58:34 2016 (r412405)
+++ head/devel/py-pefile/pkg-descr Sat Apr 2 13:07:15 2016 (r412406)
@@ -2,4 +2,4 @@ pefile is a Python module to read and wo
information in the PE Header is accessible, as well as all the sections,
section's information and data.
-WWW: http://code.google.com/p/pefile/
+WWW: https://github.com/erocarrera/pefile
More information about the svn-ports-head
mailing list