Tue Nov 29 16:26:57 2011 UTC ()
General cleanups.

The old starship site is gone.  Get from NetBSD.org now.

Change homepage to a working one.

Add license.  Note that the only license reference I could find was "It
is distributed for free under a BSD-style license" which I took to mean
"original-bsd."

Doesn't work under Python 3.  Since it is deprecated in favour of the
py-imaging module there is no point in struggling with it.

Added comment to patch and regenerated distinfo.

No PKGREVISION bump since there are no changes to any code that ever built.


(darcy)
diff -r1.36 -r1.37 pkgsrc/graphics/py-gd/Makefile
diff -r1.4 -r1.5 pkgsrc/graphics/py-gd/distinfo
diff -r1.2 -r1.3 pkgsrc/graphics/py-gd/patches/patch-aa

cvs diff -r1.36 -r1.37 pkgsrc/graphics/py-gd/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/py-gd/Attic/Makefile 2011/11/01 06:01:43 1.36
+++ pkgsrc/graphics/py-gd/Attic/Makefile 2011/11/29 16:26:57 1.37
@@ -1,26 +1,28 @@ @@ -1,26 +1,28 @@
1# $NetBSD: Makefile,v 1.36 2011/11/01 06:01:43 sbd Exp $ 1# $NetBSD: Makefile,v 1.37 2011/11/29 16:26:57 darcy Exp $
2 2
3DISTNAME= gdmodule.c 3DISTNAME= gdmodule.c
4PKGNAME= ${PYPKGPREFIX}-gd-1.3 4PKGNAME= ${PYPKGPREFIX}-gd-1.3
5PKGREVISION= 14 5PKGREVISION= 14
6CATEGORIES= graphics python 6CATEGORIES= graphics python
7MASTER_SITES= http://starship.python.net/~richard/gdmodule/ 7MASTER_SITES= # on ftp.NetBSD.org
8EXTRACT_SUFX= 8EXTRACT_SUFX=
9 9
10MAINTAINER= darcy@NetBSD.org 10MAINTAINER= darcy@NetBSD.org
11HOMEPAGE= http://starship.python.net/~richard/gdmodule/ 11HOMEPAGE= http://newcenturycomputers.net/projects/gdmodule.html
12COMMENT= Python interface to gd graphics library 12COMMENT= Python interface to gd graphics library
 13LICENSE= original-bsd
13 14
14PKG_DESTDIR_SUPPORT= user-destdir 15PKG_DESTDIR_SUPPORT= user-destdir
 16PYTHON_VERSIONS_ACCEPTED= 27 26 25
15 17
16WRKSRC= ${WRKDIR} 18WRKSRC= ${WRKDIR}
17BUILD_TARGET= default 19BUILD_TARGET= default
18 20
19EGG_NAME= ${DISTNAME:S/.c/-${PKGVERSION_NOREV}/} 21EGG_NAME= ${DISTNAME:S/.c/-${PKGVERSION_NOREV}/}
20 22
21post-patch: 23post-patch:
22 ${SED} 's+@GD_PREFIX@+${BUILDLINK_PREFIX.gd}+g' ${FILESDIR}/Setup.in > ${WRKSRC}/setup.py 24 ${SED} 's+@GD_PREFIX@+${BUILDLINK_PREFIX.gd}+g' ${FILESDIR}/Setup.in > ${WRKSRC}/setup.py
23 25
24.include "../../graphics/gd/buildlink3.mk" 26.include "../../graphics/gd/buildlink3.mk"
25.include "../../lang/python/distutils.mk" 27.include "../../lang/python/distutils.mk"
26.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/graphics/py-gd/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/py-gd/Attic/distinfo 2005/12/19 16:01:34 1.4
+++ pkgsrc/graphics/py-gd/Attic/distinfo 2011/11/29 16:26:57 1.5
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.4 2005/12/19 16:01:34 joerg Exp $ 1$NetBSD: distinfo,v 1.5 2011/11/29 16:26:57 darcy Exp $
2 2
3SHA1 (gdmodule.c) = 1173fcd1e8dbe06d250d7c501317b5d5fe30fc68 3SHA1 (gdmodule.c) = 1173fcd1e8dbe06d250d7c501317b5d5fe30fc68
4RMD160 (gdmodule.c) = a07e85accbee1664f4aeb0d0beef494efde22f40 4RMD160 (gdmodule.c) = a07e85accbee1664f4aeb0d0beef494efde22f40
5Size (gdmodule.c) = 27972 bytes 5Size (gdmodule.c) = 27972 bytes
6SHA1 (patch-aa) = 680c50b4e515f9abc407769d67e1f1ccfacc6884 6SHA1 (patch-aa) = 2349484cc6a150e2feef9b51eb9d481dc24410db

cvs diff -r1.2 -r1.3 pkgsrc/graphics/py-gd/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/graphics/py-gd/patches/Attic/patch-aa 2005/12/19 16:01:34 1.2
+++ pkgsrc/graphics/py-gd/patches/Attic/patch-aa 2011/11/29 16:26:57 1.3
@@ -1,14 +1,16 @@ @@ -1,14 +1,16 @@
1$NetBSD: patch-aa,v 1.2 2005/12/19 16:01:34 joerg Exp $ 1$NetBSD: patch-aa,v 1.3 2011/11/29 16:26:57 darcy Exp $
 2
 3To work with PNG files instead of GIF.
2 4
3--- gdmodule.c.orig 2005-12-19 15:53:23.000000000 +0000 5--- gdmodule.c.orig 2005-12-19 15:53:23.000000000 +0000
4+++ gdmodule.c 6+++ gdmodule.c
5@@ -28,14 +28,13 @@ version 0.22 7@@ -28,14 +28,13 @@ version 0.22
6 #include <errno.h> 8 #include <errno.h>
7  9
8 static PyObject *ErrorObject; 10 static PyObject *ErrorObject;
9-extern int errno; 11-extern int errno;
10  12
11 /* DOCSTRING */ 13 /* DOCSTRING */
12 static char *gdModuleDocString = "GD module is an interface to the GD library written by Thomas Bouttel.\n\ 14 static char *gdModuleDocString = "GD module is an interface to the GD library written by Thomas Bouttel.\n\
13 \'It allows your code to quickly draw images complete with lines, arcs,\n\ 15 \'It allows your code to quickly draw images complete with lines, arcs,\n\
14 text, multiple colors, cut and paste from other images, and flood fills,\n\ 16 text, multiple colors, cut and paste from other images, and flood fills,\n\