git: fd18175fac62 - main - devel/py-game_sdl2: Refactor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Dec 2024 10:38:10 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fd18175fac62fef80cbd29335d9b18b0393f078d
commit fd18175fac62fef80cbd29335d9b18b0393f078d
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-12-27 09:25:26 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-12-27 10:37:23 +0000
devel/py-game_sdl2: Refactor
- Remove GENTOO MASTER_SITES as it no longer provides flat layout
- Pet portfmt
- Drop support for python:2.7
Approved by: portmgr (blanket)
---
devel/py-game_sdl2/Makefile | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/devel/py-game_sdl2/Makefile b/devel/py-game_sdl2/Makefile
index efbd9bf2f324..08587927c47d 100644
--- a/devel/py-game_sdl2/Makefile
+++ b/devel/py-game_sdl2/Makefile
@@ -2,8 +2,7 @@ PORTNAME= game_sdl2
PORTVERSION= 7.4.11
PORTREVISION= 3
CATEGORIES= devel python
-MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/ \
- GENTOO
+MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-2.1.0-for-renpy-${DISTVERSION}
@@ -16,16 +15,15 @@ LICENSE_COMB= multi
LIB_DEPENDS= libpng.so:graphics/png
-# Upstream tends to reroll distfiles before moving under /release/
-PORTSCOUT= site:http://www.renpy.org/dl/release/
-
-USES= jpeg localbase python:2.7+ sdl
-USE_SDL= image2 mixer2 ttf2
+USES= jpeg localbase python sdl
USE_PYTHON= autoplist distutils cython
-EXCLUDE= gen gen3 PKG-INFO '*.egg-info'
-EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
+USE_SDL= image2 mixer2 ttf2
BINARY_ALIAS= cython=cython-${PYTHON_VER}
+EXCLUDE= gen gen3 PKG-INFO '*.egg-info'
+EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
+# Upstream tends to reroll distfiles before moving under /release/
+PORTSCOUT= site:http://www.renpy.org/dl/release/
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name \*.so \