pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-SDL2



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jun 29 09:28:02 UTC 2023

Modified Files:
        pkgsrc/devel/py-SDL2: Makefile PLIST distinfo

Log Message:
py-SDL2: updated to 0.9.16

0.9.16
------

New Features:

* Updated to wrap new functions and constants in SDL2 2.28.0.
* Added a new method :meth:`~sdl2.ext.Renderer.rcopy` for copying textures to
  a Renderer by aligning a given point on the texture to a given location on the
  rendering context. Useful for centering textures in the renderer.
* Added a new function :func:`~sdl2.ext.key_pressed` for easily checking
  if a given key has been pressed (or released).
* Added a new function :func:`~sdl2.ext.mouse_clicked` for easily checking
  if a mouse button has been pressed (or released), as well as a
  :func:`~sdl2.ext.get_clicks` function for retrieving the pixel coordinates
  of any mouse clicks.
* Added a new function :func:`~sdl2.ext.get_text_input` for returning
  text input as a unicode string, as well as :func:`~sdl2.ext.start_text_input`,
  :func:`~sdl2.ext.stop_text_input`, and :func:`~sdl2.ext.text_input_enabled`
  functions for toggling and querying whether SDL text input events are enabled.
* Added a new function :func:`~sdl2.ext.quit_requested` for easily checking
  :func:`~sdl2.ext.get_events` output for quit requests.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-SDL2/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-SDL2/PLIST \
    pkgsrc/devel/py-SDL2/distinfo

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

Modified files:

Index: pkgsrc/devel/py-SDL2/Makefile
diff -u pkgsrc/devel/py-SDL2/Makefile:1.4 pkgsrc/devel/py-SDL2/Makefile:1.5
--- pkgsrc/devel/py-SDL2/Makefile:1.4   Sat May  6 19:09:11 2023
+++ pkgsrc/devel/py-SDL2/Makefile       Thu Jun 29 09:28:02 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2023/05/06 19:09:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.5 2023/06/29 09:28:02 adam Exp $
 
-DISTNAME=      PySDL2-0.9.15
+DISTNAME=      PySDL2-0.9.16
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Py//}
-PKGREVISION=   3
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PySDL2/}
 

Index: pkgsrc/devel/py-SDL2/PLIST
diff -u pkgsrc/devel/py-SDL2/PLIST:1.1 pkgsrc/devel/py-SDL2/PLIST:1.2
--- pkgsrc/devel/py-SDL2/PLIST:1.1      Mon Jan 23 12:08:34 2023
+++ pkgsrc/devel/py-SDL2/PLIST  Thu Jun 29 09:28:02 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/01/23 12:08:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/06/29 09:28:02 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -126,6 +126,9 @@ ${PYSITELIB}/sdl2/ext/events.pyo
 ${PYSITELIB}/sdl2/ext/image.py
 ${PYSITELIB}/sdl2/ext/image.pyc
 ${PYSITELIB}/sdl2/ext/image.pyo
+${PYSITELIB}/sdl2/ext/input.py
+${PYSITELIB}/sdl2/ext/input.pyc
+${PYSITELIB}/sdl2/ext/input.pyo
 ${PYSITELIB}/sdl2/ext/mouse.py
 ${PYSITELIB}/sdl2/ext/mouse.pyc
 ${PYSITELIB}/sdl2/ext/mouse.pyo
@@ -392,6 +395,9 @@ ${PYSITELIB}/sdl2/test/sdl2ext_font_test
 ${PYSITELIB}/sdl2/test/sdl2ext_image_test.py
 ${PYSITELIB}/sdl2/test/sdl2ext_image_test.pyc
 ${PYSITELIB}/sdl2/test/sdl2ext_image_test.pyo
+${PYSITELIB}/sdl2/test/sdl2ext_input_test.py
+${PYSITELIB}/sdl2/test/sdl2ext_input_test.pyc
+${PYSITELIB}/sdl2/test/sdl2ext_input_test.pyo
 ${PYSITELIB}/sdl2/test/sdl2ext_mouse_test.py
 ${PYSITELIB}/sdl2/test/sdl2ext_mouse_test.pyc
 ${PYSITELIB}/sdl2/test/sdl2ext_mouse_test.pyo
Index: pkgsrc/devel/py-SDL2/distinfo
diff -u pkgsrc/devel/py-SDL2/distinfo:1.1 pkgsrc/devel/py-SDL2/distinfo:1.2
--- pkgsrc/devel/py-SDL2/distinfo:1.1   Mon Jan 23 12:08:34 2023
+++ pkgsrc/devel/py-SDL2/distinfo       Thu Jun 29 09:28:02 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2023/01/23 12:08:34 wiz Exp $
+$NetBSD: distinfo,v 1.2 2023/06/29 09:28:02 adam Exp $
 
-BLAKE2s (PySDL2-0.9.15.tar.gz) = d40c235584986da57508a3ce5630b13185231fa8a1818a0368a87d38fb7b6dc4
-SHA512 (PySDL2-0.9.15.tar.gz) = dda0de0fa6a64750e2b9483f40cddf7e8ba6c6105a99d6738dfb876c1bc99d171ca632a1c4ad314b95ad9a66c5c681988c93eeca6ecfd80d1137cbdd8b4385ed
-Size (PySDL2-0.9.15.tar.gz) = 766172 bytes
+BLAKE2s (PySDL2-0.9.16.tar.gz) = 28dad3954d30f53fb4406e5017f81e5361e571a2dc11323f937fa40d7e635430
+SHA512 (PySDL2-0.9.16.tar.gz) = ffe7abe8e828926934677c81a42c9af794c4817144eba50c40430c150d476dea40f0b36e639b2c270cbd8e00ab5bf5b032a4c0e514255cceef8161c8d76f8cb2
+Size (PySDL2-0.9.16.tar.gz) = 773537 bytes



Home | Main Index | Thread Index | Old Index