mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-13 03:00:34 -05:00
dev-python/pympress: new package, add 1.8.6
Closes: https://github.com/gentoo/guru/pull/322 Signed-off-by: Alexander Puck Neuwirth <apn-pucky@gentoo.org>
This commit is contained in:
3 files changed
+69
No files matched your search
@@ -0,0 +1 @@
|
||||
DIST pympress-1.8.6.tar.gz 237373 BLAKE2B 9de1c88c5338970859c1a81ee5a9b8ace9f1f7bdb47f6c214f993e911f0912e4ed2aee3577e6de72ed126e51bebf16612debf5fae45580f1f5ebb250d92bda70 SHA512 d6cd646132670139e0a8831c4e3806a194377d56f284a95f2bbe422d5c50f96f5c54022271b1abbc92d1ed23a1ba179b528ca343ebe8f9afdddce928e621978b
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>apn-pucky@gentoo.org</email>
|
||||
<name>Alexander Puck Neuwirth</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Pympress is a PDF presentation tool designed for dual-screen setups such as presentations and public talks. Highly configurable, fully-featured, and portable.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="vlc">Build with python-vlc bindings</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pympress</remote-id>
|
||||
<remote-id type="github">Cimbali/pympress</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 optfeature pypi xdg-utils
|
||||
|
||||
DESCRIPTION="A simple and powerful dual-screen PDF reader designed for presentations"
|
||||
HOMEPAGE="
|
||||
https://github.com/Cimbali/pympress
|
||||
https://pypi.org/project/pympress/
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="vlc"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
app-text/poppler
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/cairo
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf
|
||||
vlc? ( dev-python/python-vlc[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# >=python3_13 only works with >dev-python/pygobject-3.51
|
||||
# https://github.com/Cimbali/pympress/issues/330
|
||||
sed -i 's/ a_widget.props/ list(a_widget.props)/' pympress/builder.py || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "gstreamer support" media-libs/gstreamer
|
||||
|
||||
# QA: update desktop database MIME=
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# QA: update desktop database MIME=
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
Reference in new issue
Block a user