pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pympress: update to 1.8.5.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Tue Jan 23 22:51:45 2024 +0100
Changeset:	a7abeb00fdef795993bb8ee8184984a5be3ba494

Modified Files:
	pympress/Makefile
	pympress/PLIST
	pympress/distinfo

Log Message:
py-pympress: update to 1.8.5.

Modernize package and update to latest version.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a7abeb00fdef795993bb8ee8184984a5be3ba494

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pympress/Makefile | 23 ++++++++++++++---------
 pympress/PLIST    | 31 +++++++++++++++++++++++--------
 pympress/distinfo |  6 +++---
 3 files changed, 40 insertions(+), 20 deletions(-)

diffs:
diff --git a/pympress/Makefile b/pympress/Makefile
index 15d90814c6..ee5697143c 100644
--- a/pympress/Makefile
+++ b/pympress/Makefile
@@ -1,26 +1,31 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	pympress
-GITHUB_TAG=	refs/tags/v1.6.1
-DISTNAME=	pympress-1.6.1
-PKGNAME=	${DISTNAME}
+DISTNAME=	pympress-1.8.5
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	print python
 MASTER_SITES=	${MASTER_SITE_GITHUB:=Cimbali/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/Cimbali/pympress/
 COMMENT=	PDF presentation tool
 LICENSE=	gnu-gpl-v2
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
-PYDISTUTILSPKG=	YES
-
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=	${PYPKGPREFIX}-gobject3>=3.36.1:../../devel/py-gobject3
 DEPENDS+=	${PYPKGPREFIX}-watchdog>=0.10.4:../../sysutils/py-watchdog
 
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+# icon and desktop file
+PYTHON_SELF_CONFLICT=	yes
+
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && ${MV} pympress pympress-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../devel/pango/buildlink3.mk"
 .include "../../graphics/py-cairo/buildlink3.mk"
 .include "../../print/poppler/buildlink3.mk"
diff --git a/pympress/PLIST b/pympress/PLIST
index 9580acce7b..8cbd05783e 100644
--- a/pympress/PLIST
+++ b/pympress/PLIST
@@ -1,11 +1,11 @@
 @comment $NetBSD$
-bin/pympress
-${PYSITELIB}/pympress-${PKGVERSION}-py3.8.egg-info/PKG-INFO
-${PYSITELIB}/pympress-${PKGVERSION}-py3.8.egg-info/SOURCES.txt
-${PYSITELIB}/pympress-${PKGVERSION}-py3.8.egg-info/dependency_links.txt
-${PYSITELIB}/pympress-${PKGVERSION}-py3.8.egg-info/entry_points.txt
-${PYSITELIB}/pympress-${PKGVERSION}-py3.8.egg-info/requires.txt
-${PYSITELIB}/pympress-${PKGVERSION}-py3.8.egg-info/top_level.txt
+bin/pympress-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pympress/__init__.py
 ${PYSITELIB}/pympress/__init__.pyc
 ${PYSITELIB}/pympress/__init__.pyo
@@ -21,6 +21,12 @@ ${PYSITELIB}/pympress/builder.pyo
 ${PYSITELIB}/pympress/config.py
 ${PYSITELIB}/pympress/config.pyc
 ${PYSITELIB}/pympress/config.pyo
+${PYSITELIB}/pympress/deck.py
+${PYSITELIB}/pympress/deck.pyc
+${PYSITELIB}/pympress/deck.pyo
+${PYSITELIB}/pympress/dialog.py
+${PYSITELIB}/pympress/dialog.pyc
+${PYSITELIB}/pympress/dialog.pyo
 ${PYSITELIB}/pympress/document.py
 ${PYSITELIB}/pympress/document.pyc
 ${PYSITELIB}/pympress/document.pyo
@@ -57,7 +63,13 @@ ${PYSITELIB}/pympress/share/locale/cs/LC_MESSAGES/pympress.mo
 ${PYSITELIB}/pympress/share/locale/de/LC_MESSAGES/pympress.mo
 ${PYSITELIB}/pympress/share/locale/es/LC_MESSAGES/pympress.mo
 ${PYSITELIB}/pympress/share/locale/fr/LC_MESSAGES/pympress.mo
+${PYSITELIB}/pympress/share/locale/hi/LC_MESSAGES/pympress.mo
+${PYSITELIB}/pympress/share/locale/it/LC_MESSAGES/pympress.mo
+${PYSITELIB}/pympress/share/locale/ja/LC_MESSAGES/pympress.mo
 ${PYSITELIB}/pympress/share/locale/pl/LC_MESSAGES/pympress.mo
+${PYSITELIB}/pympress/share/locale/zh_CN/LC_MESSAGES/pympress.mo
+${PYSITELIB}/pympress/share/locale/zh_HANT/LC_MESSAGES/pympress.mo
+${PYSITELIB}/pympress/share/locale/zh_TW/LC_MESSAGES/pympress.mo
 ${PYSITELIB}/pympress/share/pixmaps/eraser.png
 ${PYSITELIB}/pympress/share/pixmaps/marker_1.png
 ${PYSITELIB}/pympress/share/pixmaps/marker_2.png
@@ -75,8 +87,11 @@ ${PYSITELIB}/pympress/share/pixmaps/pympress-32.png
 ${PYSITELIB}/pympress/share/pixmaps/pympress-48.png
 ${PYSITELIB}/pympress/share/pixmaps/pympress-64.png
 ${PYSITELIB}/pympress/share/pixmaps/pympress.png
+${PYSITELIB}/pympress/share/xml/autoplay.glade
 ${PYSITELIB}/pympress/share/xml/content.glade
+${PYSITELIB}/pympress/share/xml/deck.glade
 ${PYSITELIB}/pympress/share/xml/highlight.glade
+${PYSITELIB}/pympress/share/xml/layout_dialog.glade
 ${PYSITELIB}/pympress/share/xml/media_overlay.glade
 ${PYSITELIB}/pympress/share/xml/menu_bar.xml
 ${PYSITELIB}/pympress/share/xml/presenter.glade
@@ -94,5 +109,5 @@ ${PYSITELIB}/pympress/ui.pyo
 ${PYSITELIB}/pympress/util.py
 ${PYSITELIB}/pympress/util.pyc
 ${PYSITELIB}/pympress/util.pyo
-share/applications/pympress.desktop
+share/applications/io.github.pympress.desktop
 share/pixmaps/pympress.png
diff --git a/pympress/distinfo b/pympress/distinfo
index 13d25eef5a..0961ad94f4 100644
--- a/pympress/distinfo
+++ b/pympress/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (pympress/pympress-1.6.1.tar.gz) = ddee8edcf6e1b82c08ef34cd228557e1bd155e62
-SHA512 (pympress/pympress-1.6.1.tar.gz) = 4598bcd0506ae4004b10c6168880d8470f4377f70a821c934b56354090b289ef181e1162d88d82434fb2daa2d9660373f57074391ce49f63c7ba180a5cdb7191
-Size (pympress/pympress-1.6.1.tar.gz) = 204655 bytes
+BLAKE2s (pympress-1.8.5.tar.gz) = 32d13ce187ffff559e237687e3b2e4b1b2cf7eab62ef1d627295b83b11f99a83
+SHA512 (pympress-1.8.5.tar.gz) = e110d99935a43f7b4b36581993247c8f44cb214759a98017f8d49f9aadcb998528787154a0c6e53d39c1da650df8a314513af06482b1dc145ea020dd278f4aea
+Size (pympress-1.8.5.tar.gz) = 260295 bytes


Home | Main Index | Thread Index | Old Index