From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6EF0138334 for ; Sat, 8 Dec 2018 22:17:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C10EAE0946; Sat, 8 Dec 2018 22:17:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C351E0946 for ; Sat, 8 Dec 2018 22:17:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF5B2335CA6 for ; Sat, 8 Dec 2018 22:17:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8668E4DD for ; Sat, 8 Dec 2018 22:17:45 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1544307430.ba60ed0e19d82ec34f3a7e5cddfe14e6e7c2045f.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/pip3line/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/pip3line/Manifest app-misc/pip3line/pip3line-3.5.5.ebuild X-VCS-Directories: app-misc/pip3line/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: ba60ed0e19d82ec34f3a7e5cddfe14e6e7c2045f X-VCS-Branch: master Date: Sat, 8 Dec 2018 22:17:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd94ac3c-957b-4d83-9577-34a86609b524 X-Archives-Hash: 161c624304ca89023a999fbea03d4256 commit: ba60ed0e19d82ec34f3a7e5cddfe14e6e7c2045f Author: Gabriel Caudrelier gmail com> AuthorDate: Wed Dec 5 03:27:35 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sat Dec 8 22:17:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba60ed0e app-misc/pip3line: version bump to 3.5.5. Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Gabriel Caudrelier gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10575 Signed-off-by: Patrice Clement gentoo.org> app-misc/pip3line/Manifest | 1 + app-misc/pip3line/pip3line-3.5.5.ebuild | 87 +++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/app-misc/pip3line/Manifest b/app-misc/pip3line/Manifest index 49dcda22a14..7d9839be610 100644 --- a/app-misc/pip3line/Manifest +++ b/app-misc/pip3line/Manifest @@ -1 +1,2 @@ DIST pip3line-3.5.4.tar.gz 732872 BLAKE2B e544a2e1af958f3b1ef2e523d8489c807976523109ef8cc73f2c43b543ba9bd0b48d49009637d386e69f7768db6e2bd5a8f098d30dbd199a0b3d6bdaf782c103 SHA512 4a5421e4bf197d8ba2802c3007cfdd4d75a8c356f5bd8774d7f50bb3301e6beb52cc06f7d3486e85c3eaa16d192643afeb00b95e4d174ce16665b509e522ee6a +DIST pip3line-3.5.5.tar.gz 733385 BLAKE2B e9577fb02d778b689d1c3f5849f714b7d27a5ad49a7a68e412a19cb8251e7ca1d76d0a046bfe10db2257593ccba4f1aa5fff0f34c317975f75ef347f50172088 SHA512 95cbc567f1a7f2bcbc07fe7d560829d9538c126a2748b762fcf505bad47926376abea9d8eaba8670f4c3826b988ea1ea1338faf625a6cdf8db17f457af4edbbb diff --git a/app-misc/pip3line/pip3line-3.5.5.ebuild b/app-misc/pip3line/pip3line-3.5.5.ebuild new file mode 100644 index 00000000000..9789c01998c --- /dev/null +++ b/app-misc/pip3line/pip3line-3.5.5.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,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 +}