mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
dev-util/plasma: Update and test ebuilds and deps
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
parent
15f539438c
commit
c6fc87b608
3 changed files with 72 additions and 14 deletions
50
dev-util/plasma/files/plasma-remove_pip.patch
Normal file
50
dev-util/plasma/files/plasma-remove_pip.patch
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
--- a/setup.py 2018-08-23 07:36:33.812024967 -0500
|
||||||
|
+++ b/setup.py 2018-08-23 07:36:56.878690371 -0500
|
||||||
|
@@ -5,25 +5,25 @@
|
||||||
|
except ImportError:
|
||||||
|
from distutils.core import setup
|
||||||
|
|
||||||
|
-try:
|
||||||
|
- from pip._internal.req import parse_requirements
|
||||||
|
-except ImportError:
|
||||||
|
- from pip.req import parse_requirements
|
||||||
|
+#try:
|
||||||
|
+# from pip._internal.req import parse_requirements
|
||||||
|
+#except ImportError:
|
||||||
|
+# from pip.req import parse_requirements
|
||||||
|
|
||||||
|
from distutils.core import Extension
|
||||||
|
import plasma
|
||||||
|
|
||||||
|
-requirements = parse_requirements('requirements.txt', session=False)
|
||||||
|
+#requirements = parse_requirements('requirements.txt', session=False)
|
||||||
|
|
||||||
|
-requires = []
|
||||||
|
-for item in requirements:
|
||||||
|
+#requires = []
|
||||||
|
+#for item in requirements:
|
||||||
|
# we want to handle package names and also repo urls
|
||||||
|
- if getattr(item, 'url', None): # older pip has url
|
||||||
|
- links.append(str(item.url))
|
||||||
|
- if getattr(item, 'link', None): # newer pip has link
|
||||||
|
- links.append(str(item.link))
|
||||||
|
- if item.req:
|
||||||
|
- requires.append(str(item.req))
|
||||||
|
+# if getattr(item, 'url', None): # older pip has url
|
||||||
|
+# links.append(str(item.url))
|
||||||
|
+# if getattr(item, 'link', None): # newer pip has link
|
||||||
|
+# links.append(str(item.link))
|
||||||
|
+# if item.req:
|
||||||
|
+# requires.append(str(item.req))
|
||||||
|
|
||||||
|
|
||||||
|
x86_analyzer = Extension('plasma.lib.arch.x86.analyzer',
|
||||||
|
@@ -59,7 +59,7 @@
|
||||||
|
'plasma.scripts',
|
||||||
|
],
|
||||||
|
package_dir={'plasma':'plasma'},
|
||||||
|
- install_requires=requires,
|
||||||
|
+# install_requires=requires,
|
||||||
|
entry_points = {
|
||||||
|
"console_scripts": [
|
||||||
|
"plasma = plasma.main:console_entry",
|
||||||
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
PYTHON_COMPAT=( python3_6 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="An interactive disassembler for x86/ARM/MIPS"
|
DESCRIPTION="An interactive disassembler for x86/ARM/MIPS"
|
||||||
HOMEPAGE="https://github.com/plasma-disassembler/plasma"
|
HOMEPAGE="https://github.com/plasma-disassembler/plasma"
|
||||||
|
|
@ -21,12 +23,14 @@ fi
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="dev-libs/capstone
|
DEPEND="dev-libs/capstone[python]
|
||||||
dev-python/pyelftools
|
|
||||||
dev-python/future
|
|
||||||
dev-python/msgpack
|
|
||||||
dev-libs/keystone
|
dev-libs/keystone
|
||||||
dev-python/nose"
|
dev-python/pyelftools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/future[${PYTHON_USEDEP}]
|
||||||
|
dev-python/msgpack[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PATCHES=""${FILESDIR}"/${PN}-remove_pip.patch"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{4,5,6,7} )
|
PYTHON_COMPAT=( python3_6 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="An interactive disassembler for x86/ARM/MIPS"
|
DESCRIPTION="An interactive disassembler for x86/ARM/MIPS"
|
||||||
HOMEPAGE="https://github.com/plasma-disassembler/plasma"
|
HOMEPAGE="https://github.com/plasma-disassembler/plasma"
|
||||||
|
|
@ -21,12 +23,14 @@ fi
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="dev-libs/capstone
|
DEPEND="dev-libs/capstone[python]
|
||||||
dev-python/pyelftools
|
|
||||||
dev-python/future
|
|
||||||
dev-python/msgpack
|
|
||||||
dev-libs/keystone
|
dev-libs/keystone
|
||||||
dev-python/nose"
|
dev-python/pyelftools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/future[${PYTHON_USEDEP}]
|
||||||
|
dev-python/msgpack[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PATCHES=""${FILESDIR}"/${PN}-remove_pip.patch"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue