summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2016-09-08 14:13:07 +0000
committeradam <adam@pkgsrc.org>2016-09-08 14:13:07 +0000
commit684e7e85d8f1227b99460be90c859feee2faa258 (patch)
tree3616331348f5b4532fe1e49998b495f128d0c518 /graphics
parentc7a8ef63f4e5a5f0e6a09927f89d65326917933d (diff)
downloadpkgsrc-684e7e85d8f1227b99460be90c859feee2faa258.tar.gz
Changes 0.59:
Bug fixes.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-gdmodule/Makefile25
-rw-r--r--graphics/py-gdmodule/distinfo10
2 files changed, 19 insertions, 16 deletions
diff --git a/graphics/py-gdmodule/Makefile b/graphics/py-gdmodule/Makefile
index cafc80959f9..7870caa78e6 100644
--- a/graphics/py-gdmodule/Makefile
+++ b/graphics/py-gdmodule/Makefile
@@ -1,25 +1,28 @@
-# $NetBSD: Makefile,v 1.8 2016/08/03 10:22:55 adam Exp $
+# $NetBSD: Makefile,v 1.9 2016/09/08 14:13:07 adam Exp $
-DISTNAME= v0.58
-PKGNAME= ${PYPKGPREFIX}-gdmodule-${DISTNAME:S/v//}
-PKGREVISION= 3
+DISTNAME= gdmodule-0.59
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
-MASTER_SITES= https://github.com/Solomoriah/gdmodule/archive/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Solomoriah/}
+GITHUB_PROJECT= gdmodule
+GITHUB_TAG= v0.59
MAINTAINER= darcy@NetBSD.org
HOMEPAGE= https://github.com/Solomoriah/gdmodule
COMMENT= Python interface to gd graphics library
LICENSE= original-bsd
-DIST_SUBDIR= py-gdmodule
-WRKSRC= ${WRKDIR}/gdmodule-${DISTNAME:S/v//}
+PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 0.59
-EGG_NAME= gdmodule-${DISTNAME:S/v//}
-
-PYSETUP= Setup.py
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 0.58
+SUBST_CLASSES+= pkgpath
+SUBST_STAGE.pkgpath= pre-configure
+SUBST_MESSAGE.pkgpath= Use correct pkgsrc prefix.
+SUBST_FILES.pkgpath= setup.py
+SUBST_SED.pkgpath= -e 's,"/usr/local,"${PREFIX},g'
+SUBST_SED.pkgpath+= -e 's,"png","png16",g'
BUILDLINK_API_DEPENDS.gd+= gd>=2.0.23
.include "../../graphics/gd/buildlink3.mk"
+.include "../../graphics/giflib/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-gdmodule/distinfo b/graphics/py-gdmodule/distinfo
index 6cf3305c186..54a92d245c0 100644
--- a/graphics/py-gdmodule/distinfo
+++ b/graphics/py-gdmodule/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 21:34:16 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/09/08 14:13:07 adam Exp $
-SHA1 (py-gdmodule/v0.58.tar.gz) = 99513a36e601b983aba268860e09c205a6c54b9a
-RMD160 (py-gdmodule/v0.58.tar.gz) = 014aeb3f1e417cf168e43c4f8b75d2269e073311
-SHA512 (py-gdmodule/v0.58.tar.gz) = ea6d0a244051245f718a00488c10404c72178511fc8f269f35007ccf0409a285ec536e2b8624a4acb2309b3c45ecc904139ed9ff85284915b6cd7575e28415de
-Size (py-gdmodule/v0.58.tar.gz) = 76670 bytes
+SHA1 (gdmodule-0.59.tar.gz) = 8255d5852566baa801409c92367771a4222f7d77
+RMD160 (gdmodule-0.59.tar.gz) = 9aeadc06d30ab2e2fe44f526a20c36ecf0490aa3
+SHA512 (gdmodule-0.59.tar.gz) = 55bfd9d411cba23e6ec5595615b1e4010b0bfbbc2d15ea6766782d20041a32e6ae8227d587dba7c410f79a124a3227152518500c7ce26733ad2384763b60b21d
+Size (gdmodule-0.59.tar.gz) = 76479 bytes