diff --git a/devel/py-game/Makefile b/devel/py-game/Makefile index 76eb6e2e7c9b..c5773ad38141 100644 --- a/devel/py-game/Makefile +++ b/devel/py-game/Makefile @@ -1,58 +1,57 @@ PORTNAME= game -DISTVERSION= 2.4.0 -PORTREVISION= 1 +DISTVERSION= 2.5.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Module designed to write games in Python WWW= https://www.pygame.org/news LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/docs/LGPL.txt BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libsmpeg.so:multimedia/smpeg RUN_DEPENDS= ${PYNUMPY} \ v4l_compat>0:multimedia/v4l_compat USES= compiler:c11 jpeg localbase pkgconfig python:3.6+ sdl xorg USE_SDL= sdl2 ttf2 image2 mixer2 USE_PYTHON= autoplist distutils USE_XORG= x11 SDLNOX11= sdl-nox11-[0-9]* DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * post-extract: @${RM} -r ${WRKSRC}/examples/.editorconfig post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} #Remove Un-needed macosx files @${RM} -r ${WRKSRC}/examples/macosx ${TAR} -C ${WRKSRC}/examples -cf - . | \ ${TAR} --unlink -C ${STAGEDIR}${EXAMPLESDIR} -xf - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${TAR} -C ${WRKSRC}/docs -cf - . | \ ${TAR} --unlink -C ${STAGEDIR}${DOCSDIR} -xf - post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pygame/*.so ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pygame/_sdl2/*.so .include diff --git a/devel/py-game/distinfo b/devel/py-game/distinfo index 886a1c159ea8..80a5ba657e35 100644 --- a/devel/py-game/distinfo +++ b/devel/py-game/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685617005 -SHA256 (pygame-2.4.0.tar.gz) = e3603e70e96ee30af1954ce57d4922a059402f368013e7138e90f1c03d185267 -SIZE (pygame-2.4.0.tar.gz) = 13203507 +TIMESTAMP = 1687734216 +SHA256 (pygame-2.5.0.tar.gz) = edd5745b79435976d92c0a7318aedcafcb7ac4567125ac6ba88aa473559ef9ab +SIZE (pygame-2.5.0.tar.gz) = 15560194 diff --git a/devel/py-game/files/patch-src__c_rwobject.c b/devel/py-game/files/patch-src__c_rwobject.c deleted file mode 100644 index 4ce428e056ed..000000000000 --- a/devel/py-game/files/patch-src__c_rwobject.c +++ /dev/null @@ -1,17 +0,0 @@ ---- src_c/rwobject.c.orig 2023-06-06 07:10:40 UTC -+++ src_c/rwobject.c -@@ -33,11 +33,10 @@ - - #if defined(_WIN32) - #define PG_LSEEK _lseeki64 --#elif defined(__APPLE__) --/* Mac does not implement lseek64 */ --#define PG_LSEEK lseek --#else -+#elif defined(__GLIBC__) - #define PG_LSEEK lseek64 -+#else -+#define PG_LSEEK lseek - #endif - - typedef struct {