diff --git a/dev-util/pyew/Manifest b/dev-util/pyew/Manifest deleted file mode 100644 index 69d1d8e2b..000000000 --- a/dev-util/pyew/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pyew_2.0.orig.tar.gz 344273 SHA256 64a4dfb1850efbe2c9b06108697651f9ff25223fd132eec66c6fe84d5ecc17ae SHA512 2d9a925c1237b05494a7b27db5662198b513e72df091e1208a2cff3cebec6e950046da98b7dcd4074e65360767a5614bd284f9f779607a9996aad00cc55a2f3a WHIRLPOOL b50aadc8415634c86c24ac7c02eea083bce4bd5ae97307279d486d86336dcc68c7dc90e170a9692576746ca6af23578a536b85fe81e960643b782d8b9a17b8c7 diff --git a/dev-util/pyew/files/01_fix_python_mini.patch b/dev-util/pyew/files/01_fix_python_mini.patch deleted file mode 100644 index 9f93e6c48..000000000 --- a/dev-util/pyew/files/01_fix_python_mini.patch +++ /dev/null @@ -1,21 +0,0 @@ -Description: Fix interpreters in some of the scripts. - This patch addresses some wrong headers in the original pyew tarball. -Author: David Martínez Moreno -Forwarded: no -Reviewed-By: David Martínez Moreno -Last-Update: <2011-12-14> - ---- pyew-2.0.orig/pefile.py -+++ pyew-2.0/pefile.py -@@ -1,3 +1,4 @@ -+#!/usr/bin/env python - # -*- coding: Latin-1 -*- - """pefile, Portable Executable reader module - -@@ -4178,4 +4179,4 @@ class PE: - def is_suspicious(self): - """""" - pass -- -\ No newline at end of file -+ diff --git a/dev-util/pyew/files/02_kenshoto_bad_import.patch b/dev-util/pyew/files/02_kenshoto_bad_import.patch deleted file mode 100644 index 6a4f08d29..000000000 --- a/dev-util/pyew/files/02_kenshoto_bad_import.patch +++ /dev/null @@ -1,20 +0,0 @@ -Description: Fix import elf_parser path in Kenshoto's__init__.py. - __init__.py for the Kenshoto ELF parser imports an ELF parser with a - statement that won't always work (when importing pyew as a module for - example). -Author: David Martínez Moreno -Forwarded: no -Reviewed-By: David Martínez Moreno -Last-Update: 2012-01-05 - ---- pyew-2.0.orig/Elf/__init__.py -+++ pyew-2.0/Elf/__init__.py -@@ -25,7 +25,7 @@ import traceback - import zlib - - from stat import * --from Elf.elf_lookup import * -+from elf_lookup import * - - verbose = False - diff --git a/dev-util/pyew/files/101_system_install.patch b/dev-util/pyew/files/101_system_install.patch deleted file mode 100644 index 037db99ce..000000000 --- a/dev-util/pyew/files/101_system_install.patch +++ /dev/null @@ -1,36 +0,0 @@ -Description: Make Pyew available for wide system use. - This allows the repo to be run locally but makes Pyew only able to run - inside a normal system directory, also fixes a couple of assumptions - in the code. -Author: David Martínez Moreno -Forwarded: not-needed -Last-Update: <2011-12-14> - ---- pyew-2.0.orig/pyew -+++ pyew-2.0/pyew -@@ -1,5 +1,3 @@ - #!/bin/sh - --export LD_LIBRARY_PATH=`dirname $0`/lib --./pyew.py $@ -- -+/usr/share/pyshared/pyew/pyew.py $@ ---- pyew-2.0.orig/pydistorm.py -+++ pyew-2.0/pydistorm.py -@@ -34,7 +34,7 @@ osVer = platform.system() - if osVer == "Windows": - LIB_FILENAME = "distorm64.dll" - else: -- LIB_FILENAME = 'libdistorm64.so' -+ LIB_FILENAME = 'libdistorm3.so' - - distorm = cdll.LoadLibrary(LIB_FILENAME) - Decode16Bits = 0 ---- pyew-2.0.orig/config.py -+++ pyew-2.0/config.py -@@ -6,4 +6,4 @@ CODE_ANALYSIS=True - DEEP_CODE_ANALYSIS=False - CONFIG_ANALYSIS_TIMEOUT=0 - PLUGINS_PATH=os.path.dirname(__file__) + os.sep + "plugins" --DATABASE_PATH=os.path.dirname(__file__) + os.sep + "files.sqlite" -+DATABASE_PATH=os.path.expanduser('~' + os.sep + 'pyew-files.sqlite') diff --git a/dev-util/pyew/files/pyew b/dev-util/pyew/files/pyew deleted file mode 100644 index 887308055..000000000 --- a/dev-util/pyew/files/pyew +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/usr/share/pyew/pyew.py $@ diff --git a/dev-util/pyew/pyew-2.0.ebuild b/dev-util/pyew/pyew-2.0.ebuild deleted file mode 100644 index d3e66c035..000000000 --- a/dev-util/pyew/pyew-2.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: blshkv Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -inherit base eutils python-single-r1 - -DESCRIPTION="Hexadecimal viewer and disassembler" -HOMEPAGE="https://github.com/joxeankoret/pyew" -#SRC_URI="https://github.com/xx/${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI="http://http.debian.net/debian/pool/main/p/pyew/pyew_${PV}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -S="${WORKDIR}" - -src_prepare() { - epatch "${FILESDIR}"/01_fix_python_mini.patch - epatch "${FILESDIR}"/02_kenshoto_bad_import.patch - epatch "${FILESDIR}"/101_system_install.patch -} - -RDEPEND="dev-libs/distorm64" -DEPEND="${RDEPEND}" - -src_install() { - dodoc AUTHORS ChangeLog - - dobin ${FILESDIR}/pyew - insinto /usr/share/pyew/ - doins *.py - doins -r anal/ - doins -r contrib/ - doins -r Elf/ - doins -r plugins/ - python_fix_shebang "${ED}"/usr/share/pyew - fperms 755 /usr/share/pyew/pyew.py -}