summaryrefslogtreecommitdiff
path: root/dev-qt/qtermwidget/qtermwidget-0.7.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-04 00:39:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-04 00:39:17 +0000
commit1aa28c58eb5192d2e893c910440e8098b8ddcfb2 (patch)
treea9d8d4212e12d01ce2abba79e67698b52b4b57d0 /dev-qt/qtermwidget/qtermwidget-0.7.1.ebuild
parent7e3b8ea34cd85a9e5d3b0b61563a935f0206c23d (diff)
dev-python/qtermwidget -> dev-qt/qtermwidget
Diffstat (limited to 'dev-qt/qtermwidget/qtermwidget-0.7.1.ebuild')
-rw-r--r--dev-qt/qtermwidget/qtermwidget-0.7.1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-qt/qtermwidget/qtermwidget-0.7.1.ebuild b/dev-qt/qtermwidget/qtermwidget-0.7.1.ebuild
new file mode 100644
index 00000000..127e975f
--- /dev/null
+++ b/dev-qt/qtermwidget/qtermwidget-0.7.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit eutils python-r1
+
+DESCRIPTION="Qt terminal emulator widget"
+HOMEPAGE="https://github.com/lxde/qtermwidget"
+SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+
+DEPEND="
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/sip[${PYTHON_USEDEP}]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ ~x11-libs/qtermwidget-${PV}
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${PV}/pyqt"
+
+src_prepare () {
+ default
+ eapply -p2 "${FILESDIR}"/${P}-pyqt5.7-compat.patch
+}
+
+src_compile () {
+ python_foreach_impl python config.py
+ emake || die
+}
+
+src_install () {
+ default
+}