commit:     8fe2072acfa73a68ecbc91abbf51a098ba3a7796
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 01:33:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 12:10:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe2072a

dev-python/qpageview: new package, add 0.6.2

Bug: https://bugs.gentoo.org/850922
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/qpageview/Manifest               |  1 +
 dev-python/qpageview/metadata.xml           | 12 ++++++++++++
 dev-python/qpageview/qpageview-0.6.2.ebuild | 24 ++++++++++++++++++++++++
 3 files changed, 37 insertions(+)

diff --git a/dev-python/qpageview/Manifest b/dev-python/qpageview/Manifest
new file mode 100644
index 000000000000..263ac454d066
--- /dev/null
+++ b/dev-python/qpageview/Manifest
@@ -0,0 +1 @@
+DIST qpageview-0.6.2.gh.tar.gz 159098 BLAKE2B 
bd28acaf0f2a123963136acd32ce1a7ee72bba3c19f253af821b44e38bbf314ac3ccb48a8c96b06f484d399ed13bd3b8b3cf62e7b2a44d85edb38d04b60ceccf
 SHA512 
80b1d6d4419594bcac195450ab030ab0b4fe3fe92dc9a6db598d1dd2282670f0d0b9d957b3c37313d7002f8f7dbc1bdd101edca81e5edca19c6e33ec4f6e4ffe

diff --git a/dev-python/qpageview/metadata.xml 
b/dev-python/qpageview/metadata.xml
new file mode 100644
index 000000000000..bf0b8f79adf0
--- /dev/null
+++ b/dev-python/qpageview/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>so...@gentoo.org</email>
+               <name>Gentoo Sound project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">wbsoft/qpageview</remote-id>
+               <remote-id type="pypi">qpageview</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/qpageview/qpageview-0.6.2.ebuild 
b/dev-python/qpageview/qpageview-0.6.2.ebuild
new file mode 100644
index 000000000000..90d467d7a46c
--- /dev/null
+++ b/dev-python/qpageview/qpageview-0.6.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Page-based viewer widget for Qt5/PyQt5"
+HOMEPAGE="https://qpageview.org/";
+SRC_URI="https://github.com/frescobaldi/qpageview/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+# GPL-2+ added here because of 
https://github.com/frescobaldi/qpageview/issues/15
+# Should be GPL-3+ once cleared up
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/PyQt5[gui,printsupport,svg,widgets,${PYTHON_USEDEP}]
+       dev-python/python-poppler-qt5[${PYTHON_USEDEP}]"
+
+pkg_postinst() {
+       optfeature "Printing support" dev-python/pycups
+}

Reply via email to