From owner-svn-ports-all@freebsd.org Sat Apr 2 13:07:17 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 147D3B00E73; Sat, 2 Apr 2016 13:07:17 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3C5C1828; Sat, 2 Apr 2016 13:07:16 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u32D7GcL090488; Sat, 2 Apr 2016 13:07:16 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u32D7FN8090484; Sat, 2 Apr 2016 13:07:15 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201604021307.u32D7FN8090484@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 2 Apr 2016 13:07:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412406 - in head/devel/py-pefile: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2016 13:07:17 -0000 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@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 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