commit:     f4f65d45f22443126899e9da05a580c3efeac386
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 09:37:56 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 09:40:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f65d45

Revert "app-misc/pip3line: package removal"

package was removed without proper last riting procedure

This reverts commit 95d2003eee1eb4748f177b5732d78d5590253a3b.

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 app-misc/pip3line/Manifest              |  1 +
 app-misc/pip3line/metadata.xml          | 17 +++++++
 app-misc/pip3line/pip3line-3.6.0.ebuild | 87 +++++++++++++++++++++++++++++++++
 app-misc/pip3line/pip3line-9999.ebuild  | 87 +++++++++++++++++++++++++++++++++
 4 files changed, 192 insertions(+)

diff --git a/app-misc/pip3line/Manifest b/app-misc/pip3line/Manifest
new file mode 100644
index 00000000000..25f8349bf5a
--- /dev/null
+++ b/app-misc/pip3line/Manifest
@@ -0,0 +1 @@
+DIST pip3line-3.6.0.tar.gz 736294 BLAKE2B 
75bc3bcd3ad547a31a1fc97f525a8575136ba1bcb48e5e9d7292732c04d2a62cd03710a4e6d76a652d5259e5081cf8cc8c2dfc3265ecf1f3ea5cbc6870c02ab6
 SHA512 
4263d18749533f1137dc3546a6a5b5856f9c5dc09355c866c7e6a8fc59787c84ee979f648f563c465aab314ff9155bba6e34e7d4641438d96bdb786c93dfaec8

diff --git a/app-misc/pip3line/metadata.xml b/app-misc/pip3line/metadata.xml
new file mode 100644
index 00000000000..9cc54c99226
--- /dev/null
+++ b/app-misc/pip3line/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>gabriel.caudrel...@gmail.com</email>
+               <name>Gabriel Caudrelier</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <use>
+               <flag name='distorm'>Compile the Distorm plugin</flag>
+               <flag name='qscintilla'>Use QScintilla for more efficient text 
display</flag>
+               <flag name='ssl'>Compile the plugin adding miscellaneous hashes 
from OpenSSL</flag>
+       </use>
+</pkgmetadata>

diff --git a/app-misc/pip3line/pip3line-3.6.0.ebuild 
b/app-misc/pip3line/pip3line-3.6.0.ebuild
new file mode 100644
index 00000000000..8506a3ba996
--- /dev/null
+++ b/app-misc/pip3line/pip3line-3.6.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit cmake-utils python-r1 python-utils-r1
+
+DESCRIPTION="Raw bytes manipulation, transformations (decoding and more) and 
interception"
+HOMEPAGE="https://github.com/metrodango/pip3line";
+
+if [[ ${PV} == 9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/metrodango/pip3line.git";
+       EGIT_BRANCH="master"
+else
+       SRC_URI="https://github.com/metrodango/pip3line/archive/v${PV}.tar.gz  
-> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+# A few comments
+# the ssl flag is just there to enable the plugin for low level crypto 
algorithms. 
+# It has nothing to do with the SSL/TLS protocol itself.
+
+IUSE="distorm python qscintilla ssl"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       dev-qt/qtconcurrent:5
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtxmlpatterns:5
+       qscintilla? ( x11-libs/qscintilla )
+       ssl? ( dev-libs/openssl:0= )"
+
+DEPEND="${RDEPEND}
+       distorm? ( dev-vcs/git )"
+
+src_configure() {
+
+       local mycmakeargs=(
+               -DBASIC=yes
+               -DWITH_DISTORM=$(usex distorm)
+               -DWITH_OPENSSL=$(usex ssl)
+               -DWITH_SCINTILLA=$(usex qscintilla)
+       )
+
+       # distorm is statically linked, due to insufficiencies
+       # in the current distorm64 package 
+
+       if use distorm; then
+               mycmakeargs+=(-DWITH_DISTORM_LINK_STATICALLY=ON)
+       fi
+
+       if use python; then
+               local targets=( ${PYTHON_TARGETS} )
+               for target in ${targets[@]}; do
+                       if python_is_python3 ${target}; then
+                               python_export ${target} PYTHON PYTHON_LIBPATH 
PYTHON_INCLUDEDIR
+                               mycmakeargs+=(-DWITH_PYTHON3=ON
+                                       
-DPYTHON3_INCLUDE_DIRS=${PYTHON_INCLUDEDIR}
+                                       -DPYTHON3_LIBRARIES=${PYTHON_LIBPATH}
+                               )
+                               break
+                       fi
+               done
+               for target in ${targets[@]}; do
+                       if ! python_is_python3 ${target}; then
+                               python_export ${target} PYTHON PYTHON_LIBPATH 
PYTHON_INCLUDEDIR
+                               mycmakeargs+=(-DWITH_PYTHON27=ON
+                                       
-DPYTHON27_INCLUDE_DIRS=${PYTHON_INCLUDEDIR}
+                                       -DPYTHON27_LIBRARIES=${PYTHON_LIBPATH}
+                               )
+                               break
+                       fi
+               done
+       fi
+
+       cmake-utils_src_configure
+}

diff --git a/app-misc/pip3line/pip3line-9999.ebuild 
b/app-misc/pip3line/pip3line-9999.ebuild
new file mode 100644
index 00000000000..8506a3ba996
--- /dev/null
+++ b/app-misc/pip3line/pip3line-9999.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit cmake-utils python-r1 python-utils-r1
+
+DESCRIPTION="Raw bytes manipulation, transformations (decoding and more) and 
interception"
+HOMEPAGE="https://github.com/metrodango/pip3line";
+
+if [[ ${PV} == 9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/metrodango/pip3line.git";
+       EGIT_BRANCH="master"
+else
+       SRC_URI="https://github.com/metrodango/pip3line/archive/v${PV}.tar.gz  
-> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+# A few comments
+# the ssl flag is just there to enable the plugin for low level crypto 
algorithms. 
+# It has nothing to do with the SSL/TLS protocol itself.
+
+IUSE="distorm python qscintilla ssl"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       dev-qt/qtconcurrent:5
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtxmlpatterns:5
+       qscintilla? ( x11-libs/qscintilla )
+       ssl? ( dev-libs/openssl:0= )"
+
+DEPEND="${RDEPEND}
+       distorm? ( dev-vcs/git )"
+
+src_configure() {
+
+       local mycmakeargs=(
+               -DBASIC=yes
+               -DWITH_DISTORM=$(usex distorm)
+               -DWITH_OPENSSL=$(usex ssl)
+               -DWITH_SCINTILLA=$(usex qscintilla)
+       )
+
+       # distorm is statically linked, due to insufficiencies
+       # in the current distorm64 package 
+
+       if use distorm; then
+               mycmakeargs+=(-DWITH_DISTORM_LINK_STATICALLY=ON)
+       fi
+
+       if use python; then
+               local targets=( ${PYTHON_TARGETS} )
+               for target in ${targets[@]}; do
+                       if python_is_python3 ${target}; then
+                               python_export ${target} PYTHON PYTHON_LIBPATH 
PYTHON_INCLUDEDIR
+                               mycmakeargs+=(-DWITH_PYTHON3=ON
+                                       
-DPYTHON3_INCLUDE_DIRS=${PYTHON_INCLUDEDIR}
+                                       -DPYTHON3_LIBRARIES=${PYTHON_LIBPATH}
+                               )
+                               break
+                       fi
+               done
+               for target in ${targets[@]}; do
+                       if ! python_is_python3 ${target}; then
+                               python_export ${target} PYTHON PYTHON_LIBPATH 
PYTHON_INCLUDEDIR
+                               mycmakeargs+=(-DWITH_PYTHON27=ON
+                                       
-DPYTHON27_INCLUDE_DIRS=${PYTHON_INCLUDEDIR}
+                                       -DPYTHON27_LIBRARIES=${PYTHON_LIBPATH}
+                               )
+                               break
+                       fi
+               done
+       fi
+
+       cmake-utils_src_configure
+}

Reply via email to