public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pympress/
@ 2025-07-28 12:36 Alexander Puck Neuwirth
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2025-07-28 12:36 UTC (permalink / raw
  To: gentoo-commits

commit:     8a6a69d2ca4fbba317203528a142048949a749ba
Author:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 28 12:23:05 2025 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Mon Jul 28 12:29:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a6a69d2

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 <AT> gentoo.org>

 dev-python/pympress/Manifest              |  1 +
 dev-python/pympress/metadata.xml          | 19 ++++++++++++
 dev-python/pympress/pympress-1.8.6.ebuild | 49 +++++++++++++++++++++++++++++++
 3 files changed, 69 insertions(+)

diff --git a/dev-python/pympress/Manifest b/dev-python/pympress/Manifest
new file mode 100644
index 0000000000..51ee2aa645
--- /dev/null
+++ b/dev-python/pympress/Manifest
@@ -0,0 +1 @@
+DIST pympress-1.8.6.tar.gz 237373 BLAKE2B 9de1c88c5338970859c1a81ee5a9b8ace9f1f7bdb47f6c214f993e911f0912e4ed2aee3577e6de72ed126e51bebf16612debf5fae45580f1f5ebb250d92bda70 SHA512 d6cd646132670139e0a8831c4e3806a194377d56f284a95f2bbe422d5c50f96f5c54022271b1abbc92d1ed23a1ba179b528ca343ebe8f9afdddce928e621978b

diff --git a/dev-python/pympress/metadata.xml b/dev-python/pympress/metadata.xml
new file mode 100644
index 0000000000..621d855f1b
--- /dev/null
+++ b/dev-python/pympress/metadata.xml
@@ -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>
+

diff --git a/dev-python/pympress/pympress-1.8.6.ebuild b/dev-python/pympress/pympress-1.8.6.ebuild
new file mode 100644
index 0000000000..dcb8bfdc6e
--- /dev/null
+++ b/dev-python/pympress/pympress-1.8.6.ebuild
@@ -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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pympress/
@ 2025-07-28 14:18 Alexander Puck Neuwirth
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2025-07-28 14:18 UTC (permalink / raw
  To: gentoo-commits

commit:     a24bd42516f64a4d7def5e7b69d4b500c3d07b30
Author:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 28 14:14:12 2025 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Mon Jul 28 14:17:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a24bd425

dev-python/pympress: add copyright

Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>

 dev-python/pympress/pympress-1.8.6.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/pympress/pympress-1.8.6.ebuild b/dev-python/pympress/pympress-1.8.6.ebuild
index dcb8bfdc6e..d1db420fdf 100644
--- a/dev-python/pympress/pympress-1.8.6.ebuild
+++ b/dev-python/pympress/pympress-1.8.6.ebuild
@@ -1,3 +1,6 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
 EAPI=8
 
 PYTHON_COMPAT=( python3_{11..13} )


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-28 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 12:36 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pympress/ Alexander Puck Neuwirth
  -- strict thread matches above, loose matches on Subject: below --
2025-07-28 14:18 Alexander Puck Neuwirth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox