summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-21 01:24:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-21 02:02:51 +0100
commit4f6bb56f5402a65c2bf20b191368ea8da22d0099 (patch)
treefb621f31cee90cbd450b6bed035825c227c0d88a /dev-python/python-poppler-qt5
parentapp-crypt/yubikey-manager-qt: take over the maintenance (diff)
downloadgentoo-4f6bb56f5402a65c2bf20b191368ea8da22d0099.tar.gz
gentoo-4f6bb56f5402a65c2bf20b191368ea8da22d0099.tar.bz2
gentoo-4f6bb56f5402a65c2bf20b191368ea8da22d0099.zip
dev-python/python-poppler-qt5: New package
Thanks-to: N. Andrew Walsh <n.andrew.walsh@gmail.com> Thanks-to: Jouni Kosonen <jouni.kosonen@tukesoft.com> Closes: https://bugs.gentoo.org/609734 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python/python-poppler-qt5')
-rw-r--r--dev-python/python-poppler-qt5/Manifest1
-rw-r--r--dev-python/python-poppler-qt5/metadata.xml11
-rw-r--r--dev-python/python-poppler-qt5/python-poppler-qt5-0.24.2_p20170214.ebuild29
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/python-poppler-qt5/Manifest b/dev-python/python-poppler-qt5/Manifest
new file mode 100644
index 000000000000..80a671f29b93
--- /dev/null
+++ b/dev-python/python-poppler-qt5/Manifest
@@ -0,0 +1 @@
+DIST python-poppler-qt5-0.24.2_p20170214.tar.gz 20676 BLAKE2B 450f1f40618686f393a21bb2f9ae25b71ab31b4270420a278c65dfdad722a7505cab50d17968400304df936f8694a7d2d5aafeac355675756ca70271f3ff666c SHA512 28fbc4584d32ae18a0545beaf2954f89da6aaa5c2d4bbb25dc36996dd5799c38c491254330c5ac12f3a97df33656f1b49bcb672207602031ff37086a08cbb1fc
diff --git a/dev-python/python-poppler-qt5/metadata.xml b/dev-python/python-poppler-qt5/metadata.xml
new file mode 100644
index 000000000000..6154aff3c15e
--- /dev/null
+++ b/dev-python/python-poppler-qt5/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">wbsoft/python-poppler-qt5</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-poppler-qt5/python-poppler-qt5-0.24.2_p20170214.ebuild b/dev-python/python-poppler-qt5/python-poppler-qt5-0.24.2_p20170214.ebuild
new file mode 100644
index 000000000000..e13b154e9b8e
--- /dev/null
+++ b/dev-python/python-poppler-qt5/python-poppler-qt5-0.24.2_p20170214.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+COMMIT=50fb2eb9ea34cf94e3756b7ddfc601af023267d5
+inherit distutils-r1 flag-o-matic qmake-utils vcs-snapshot
+
+DESCRIPTION="A python binding for libpoppler-qt5"
+HOMEPAGE="https://github.com/wbsoft/python-poppler-qt5"
+SRC_URI="https://github.com/wbsoft/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-text/poppler:=[qt5]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ >=dev-python/sip-4.19:=[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+python_configure_all() {
+ append-cxxflags -std=c++11
+ mydistutilsargs=( build_ext --qmake-bin=$(qt5_get_bindir)/qmake )
+}