In 2006, Numeric was added as a dependency to angrydd, but unfortunately 
no details on why it was added.

=========================================================================
revision 1.2
date: 2006/11/11 19:09:11;  author: ajacoutot;  state: Exp;  lines: +4 -2;
- add math/py-Numeric to RUN_DEPENDS

noticed by steven@
=========================================================================

I'm assuming it was because surfarray from pygame (at that time) depended 
on py-Numeric and the game would crash if py-Numeric was not installed.

These days, pygame got rid of the py-Numeric dependency and uses numpy 
instead.

Indeed, I've verified that the game will crash if numpy is not available 
at runtime.

Diff below fixes the port and brings us closer to being able to get rid 
of py-Numeric itself.

ok?

(p.s. HOMEPAGE is long dead, but i left it in as documentation if anyone 
wants to look at a cached version of the old site on archive.org or 
similar).

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/angrydd/Makefile,v
retrieving revision 1.16
diff -u -p -u -r1.16 Makefile
--- Makefile    12 Jul 2019 20:46:14 -0000      1.16
+++ Makefile    17 Oct 2020 07:54:44 -0000
@@ -3,7 +3,7 @@
 COMMENT=       falling blocks puzzle game
 
 DISTNAME=      angrydd-1.0.1
-REVISION =     7
+REVISION =     8
 CATEGORIES=    games
 
 HOMEPAGE=      http://www.sacredchao.net/~piman/angrydd/
@@ -14,7 +14,7 @@ PERMIT_PACKAGE=       Yes
 MASTER_SITES=  ${HOMEPAGE}
 
 RUN_DEPENDS=   devel/pygame>=1.7 \
-               math/py-Numeric
+               math/py-numpy
 
 MODULES=       lang/python
 NO_BUILD=      Yes

Reply via email to