mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-11 09:43:40 +02:00
pefile: v2017.9.3 bump
This commit is contained in:
parent
df6d4e6738
commit
65307aa87e
4 changed files with 4 additions and 98 deletions
|
|
@ -1,3 +1,2 @@
|
|||
DIST pefile-1.2.10-139.tar.gz 56819 SHA256 3297cb72e6a51befefc3d9b27ec7690b743ee826538629ecf68f4eee64f331ab SHA512 9960f8c4840c17b30fd9c936245ea26e6cc5d8f8671847e52954ba6d2b27adffad9b49b129529a1df0d8be70e05ebf1ff9914f72861059f568eb240a6e08eb09 WHIRLPOOL e5c31e5681516c2e7abab7d0ffa52f8fb2d8648aa4f149d7491ede889f8a825310846980bd96ff64fe8e4dfa5646d25b51b81c15c88a123370819a490bbe1ed2
|
||||
DIST pefile-2016.3.28.tar.gz 58110 SHA256 f24021085b5c3ef7b0898bb1f1d93eecd3839e03512769e22b0c5a10d9095f7b SHA512 f27918634507fd839b3bc71677b57676f1b2e46c43970dba158b1b4cb4202344de41fef53fffd294dd70f89b1a52aec0124e835a410ff7f0bec9b11ece425201 WHIRLPOOL 7821421fda513a5f57de8d08b91b8397e6ba59f4711af773cddf3ecff74fb7653da5487bc486a20271abf86c42f5ca69d05da06c033ad73c37e39a8ba60579ad
|
||||
DIST pefile-2017.5.26.tar.gz 60766 SHA256 1fd02ae5489dd87ec7c9ecf44b675e92ee4a34e513efe7417befeb9f438e9987 SHA512 e6e0f707db8c7b3bf81311342878fd0b0d0b7e9a3c0a7fcd3f940354637318cb2fe4aa13af6e41d689b8d3265ff73c99e6b532b4d797d06aa20b25110b394652 WHIRLPOOL 9d42311ce2d8cc1924672dadb892f3b32d57b0d4085028415edf2c85271071b6a968149f9a2fefc30969500210f70cbc8e616b00aae433ff5de3bad30e993464
|
||||
DIST pefile-2017.9.3.tar.gz 61722 SHA256 99d45ef48c290fb74e30507e259b77e2a3ce3a4f4eea35e8089cb24e2c514e4d SHA512 aa8a92053eab156d70c719dee978f2f1b65debbceb151b9b9eca21f610f02bd47d65668bfc17cac5a95cacca67cf720e64c758e2dc1cb8d45fc46bf46086f4a6 WHIRLPOOL 9afb17048b69525ee964a92fecc5b4f69e41118af35e5cfe51f07b2b45ee629284f2e016da74b920da39080725cecd975ecbcfcfe6862de49a10bfbcbbe2f534
|
||||
|
|
|
|||
|
|
@ -1,64 +0,0 @@
|
|||
From 4f685a2f8b732db4803a47ba42ece688f1e72a89 Mon Sep 17 00:00:00 2001
|
||||
From: Joachim Metz <joachim.metz@gmail.com>
|
||||
Date: Sun, 17 May 2015 09:07:25 +0200
|
||||
Subject: [PATCH] Changes for deployment.
|
||||
|
||||
---
|
||||
pefile.py | 4 ++--
|
||||
setup.py | 14 +++++++++++---
|
||||
2 files changed, 13 insertions(+), 5 deletions(-)
|
||||
mode change 100644 => 100755 setup.py
|
||||
|
||||
diff --git a/pefile.py b/pefile.py
|
||||
index afbd581..8e18591 100644
|
||||
--- a/pefile.py
|
||||
+++ b/pefile.py
|
||||
@@ -20,9 +20,9 @@
|
||||
the root of the distribution archive.
|
||||
"""
|
||||
|
||||
-__revision__ = "$LastChangedRevision$"
|
||||
+__revision__ = '139'
|
||||
__author__ = 'Ero Carrera'
|
||||
-__version__ = '1.2.10-%d' % int( __revision__[21:-2] )
|
||||
+__version__ = '1.2.10-%d' % int( __revision__ )
|
||||
__contact__ = 'ero.carrera@gmail.com'
|
||||
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index 2a32c22..5891068
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1,4 +1,7 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/python
|
||||
+
|
||||
+import os
|
||||
+import sys
|
||||
|
||||
try:
|
||||
from setuptools import setup
|
||||
@@ -6,14 +9,19 @@
|
||||
from distutils.core import setup
|
||||
|
||||
import pefile
|
||||
-import os
|
||||
+
|
||||
|
||||
os.environ['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
|
||||
os.environ['COPYFILE_DISABLE'] = 'true'
|
||||
|
||||
+# build_msi does not support the 1.2.10-139 versioning schema
|
||||
+# (or 1.2.10.139), hence the revision number is stripped.
|
||||
+pefile_version = pefile.__version__
|
||||
+if 'bdist_msi' in sys.argv:
|
||||
+ pefile_version, _, _ = pefile_version.partition('-')
|
||||
|
||||
setup(name = 'pefile',
|
||||
- version = pefile.__version__,
|
||||
+ version = pefile_version,
|
||||
description = 'Python PE parsing module',
|
||||
author = pefile.__author__,
|
||||
author_email = pefile.__contact__,
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
MY_P=${P/_p/-}
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Module to read and work with Portable Executable (PE) files"
|
||||
HOMEPAGE="https://github.com/erocarrera/pefile"
|
||||
SRC_URI="https://github.com/erocarrera/pefile/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/pefile-${MY_P}"
|
||||
|
||||
src_prepare(){
|
||||
#https://github.com/erocarrera/pefile/issues/65
|
||||
epatch "${FILESDIR}/pefile-1.2.10_issue65.patch"
|
||||
}
|
||||
|
|
@ -1,16 +1,15 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
MY_P=${P/_p/-}
|
||||
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Module to read and work with Portable Executable (PE) files"
|
||||
HOMEPAGE="https://github.com/erocarrera/pefile"
|
||||
SRC_URI="https://github.com/erocarrera/pefile/files/192316/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
Loading…
Reference in a new issue