pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/py-DPainter



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jul 26 22:15:27 UTC 2024

Added Files:
        pkgsrc/graphics/py-DPainter: DESCR Makefile PLIST distinfo

Log Message:
graphics/py-DPainter: import py-DPainter-1.2.2

PyDPainter, pronounced "Pied Painter" (like Pied Piper), is an
attempt to create a usable pixel art program in Python using PyGame.

The original inspiration came from the Commodore Amiga version of
Deluxe Paint released by Electronic Arts in 1985.  Back then, Deluxe
Paint helped define the user interface of a paint program with tool
bars, menus, and the novel use of left and right mouse buttons for
painting and erasing. After pixel art gave way to photo-realism
and high-resolution 24 bit color, Deluxe Paint was largely forgotten
for artistic work -- left behind in the ever-progressing march of
technology.

Recently, with a resurgence of all things "retro," low-resolution
pixel art and limited color palettes have become popular once again.
Many tools to deal with this medium are either too complicated or
too crude. This project is an attempt to bring back an old but
reliable tool and enhance it with some features to help it better
coexist in the modern world.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/py-DPainter/DESCR \
    pkgsrc/graphics/py-DPainter/Makefile pkgsrc/graphics/py-DPainter/PLIST \
    pkgsrc/graphics/py-DPainter/distinfo

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

Added files:

Index: pkgsrc/graphics/py-DPainter/DESCR
diff -u /dev/null pkgsrc/graphics/py-DPainter/DESCR:1.1
--- /dev/null   Fri Jul 26 22:15:27 2024
+++ pkgsrc/graphics/py-DPainter/DESCR   Fri Jul 26 22:15:27 2024
@@ -0,0 +1,18 @@
+PyDPainter, pronounced "Pied Painter" (like Pied Piper), is an
+attempt to create a usable pixel art program in Python using PyGame.
+
+The original inspiration came from the Commodore Amiga version of
+Deluxe Paint released by Electronic Arts in 1985.  Back then, Deluxe
+Paint helped define the user interface of a paint program with tool
+bars, menus, and the novel use of left and right mouse buttons for
+painting and erasing. After pixel art gave way to photo-realism
+and high-resolution 24 bit color, Deluxe Paint was largely forgotten
+for artistic work -- left behind in the ever-progressing march of
+technology.
+
+Recently, with a resurgence of all things "retro," low-resolution
+pixel art and limited color palettes have become popular once again.
+Many tools to deal with this medium are either too complicated or
+too crude. This project is an attempt to bring back an old but
+reliable tool and enhance it with some features to help it better
+coexist in the modern world.
Index: pkgsrc/graphics/py-DPainter/Makefile
diff -u /dev/null pkgsrc/graphics/py-DPainter/Makefile:1.1
--- /dev/null   Fri Jul 26 22:15:27 2024
+++ pkgsrc/graphics/py-DPainter/Makefile        Fri Jul 26 22:15:27 2024
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2024/07/26 22:15:27 wiz Exp $
+
+DISTNAME=      PyDPainter-1.2.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Py//}
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mriale/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mriale/PyDPainter/
+COMMENT=       Usable pixel art paint program written in Python
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+DEPENDS+=      ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
+
+USE_LANGUAGES= # none
+USE_TOOLS+=    pax
+
+WRKSRC=                ${WRKDIR}/PyDPainter-${PKGVERSION_NOREV}
+
+INSTALLATION_DIRS+=    bin share/py-DPainter
+
+REPLACE_PYTHON=        *.py */*.py
+
+do-build:
+       ${ECHO} '#!/bin/sh' > ${WRKSRC}/PyDPainter.sh
+       ${ECHO} "cd ${PREFIX}/share/py-DPainter && ${PYTHONBIN} PyDPainter.py \""'$$@'"\"" >> ${WRKSRC}/PyDPainter.sh
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/PyDPainter.sh ${DESTDIR}${PREFIX}/bin
+       cd ${WRKSRC} && ${PAX} -pp -rw PyDPainter.py data iff_pics libs logo ${DESTDIR}${PREFIX}/share/py-DPainter
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/py-DPainter/PLIST
diff -u /dev/null pkgsrc/graphics/py-DPainter/PLIST:1.1
--- /dev/null   Fri Jul 26 22:15:27 2024
+++ pkgsrc/graphics/py-DPainter/PLIST   Fri Jul 26 22:15:27 2024
@@ -0,0 +1,57 @@
+@comment $NetBSD: PLIST,v 1.1 2024/07/26 22:15:27 wiz Exp $
+bin/PyDPainter.sh
+share/py-DPainter/PyDPainter.py
+share/py-DPainter/data/Displayinfo.ods
+share/py-DPainter/data/FreeSans.ttf
+share/py-DPainter/data/FreeSansBold.ttf
+share/py-DPainter/data/crng_arrows.png
+share/py-DPainter/data/cursors.png
+share/py-DPainter/data/half_dots.png
+share/py-DPainter/data/icon.png
+share/py-DPainter/data/jewel32.png
+share/py-DPainter/data/logo.png
+share/py-DPainter/data/minitools.png
+share/py-DPainter/data/multiscale.py
+share/py-DPainter/data/palettearrows.png
+share/py-DPainter/data/quarter_dots.png
+share/py-DPainter/data/smooth_example.png
+share/py-DPainter/data/tools.png
+share/py-DPainter/iff_pics/RaytracedHiRes.iff
+share/py-DPainter/iff_pics/RaytracedLoRes.iff
+share/py-DPainter/iff_pics/cat_clock.iff
+share/py-DPainter/iff_pics/cycles.iff
+share/py-DPainter/iff_pics/fire.iff
+share/py-DPainter/iff_pics/fish.iff
+share/py-DPainter/iff_pics/lamppost.iff
+share/py-DPainter/iff_pics/pipe_brush.iff
+share/py-DPainter/libs/background.py
+share/py-DPainter/libs/colorrange.py
+share/py-DPainter/libs/config.py
+share/py-DPainter/libs/cursor.py
+share/py-DPainter/libs/displayinfo.py
+share/py-DPainter/libs/gadget.py
+share/py-DPainter/libs/hotkey.py
+share/py-DPainter/libs/menubar.py
+share/py-DPainter/libs/menureq.py
+share/py-DPainter/libs/menus.py
+share/py-DPainter/libs/minitools.py
+share/py-DPainter/libs/palreq.py
+share/py-DPainter/libs/picio.py
+share/py-DPainter/libs/pixelfont.py
+share/py-DPainter/libs/prim.py
+share/py-DPainter/libs/stencil.py
+share/py-DPainter/libs/tiptext.py
+share/py-DPainter/libs/toolbar.py
+share/py-DPainter/libs/toolreq.py
+share/py-DPainter/libs/tools.py
+share/py-DPainter/libs/version.py
+share/py-DPainter/libs/zoom.py
+share/py-DPainter/logo/logo.iff
+share/py-DPainter/logo/logo.png
+share/py-DPainter/logo/logo.svg
+share/py-DPainter/logo/logo_32.png
+share/py-DPainter/logo/logo_big.png
+share/py-DPainter/logo/logo_mockup.png
+share/py-DPainter/logo/oldest-known-picture-of-the-Pied-Piper.jpg
+share/py-DPainter/logo/socialcard.png
+share/py-DPainter/logo/socialcard.svg
Index: pkgsrc/graphics/py-DPainter/distinfo
diff -u /dev/null pkgsrc/graphics/py-DPainter/distinfo:1.1
--- /dev/null   Fri Jul 26 22:15:27 2024
+++ pkgsrc/graphics/py-DPainter/distinfo        Fri Jul 26 22:15:27 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/07/26 22:15:27 wiz Exp $
+
+BLAKE2s (PyDPainter-1.2.2.tar.gz) = b002752341a022e5947dddd326e64d57bda88832f200db17806c391098566558
+SHA512 (PyDPainter-1.2.2.tar.gz) = a783abdca918b2f54854258b31cb60bf8d66086115d9a52e4c922d17c817794956d04f2b8c405e80a24b7ef9ed5fe1dbfaaa292268f03746658f06604e73d387
+Size (PyDPainter-1.2.2.tar.gz) = 5155148 bytes



Home | Main Index | Thread Index | Old Index