pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/py-ming py-ming: update to 0.4.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3ef4e82d56f
branches:  trunk
changeset: 314980:e3ef4e82d56f
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Nov 13 10:23:47 2018 +0000

description:
py-ming: update to 0.4.8

diffstat:

 multimedia/py-ming/Makefile |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (35 lines):

diff -r 9641dc8379e6 -r e3ef4e82d56f multimedia/py-ming/Makefile
--- a/multimedia/py-ming/Makefile       Tue Nov 13 10:22:25 2018 +0000
+++ b/multimedia/py-ming/Makefile       Tue Nov 13 10:23:47 2018 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2018/07/03 05:03:26 adam Exp $
+# $NetBSD: Makefile,v 1.30 2018/11/13 10:23:47 markd Exp $
 
 .include "../../multimedia/ming/Makefile.common"
 
-PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=           4
+PKGNAME=               ${PYPKGPREFIX}-${DISTNAME:S/_/./g}
 CATEGORIES=            multimedia
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
@@ -13,14 +12,14 @@
 
 PY_PATCHPLIST=         yes
 PYSETUPSUBDIR=         py_ext
-EGG_NAME=              ${DISTNAME:S/ming/mingc/}
+EGG_NAME=              ${DISTNAME:S/ming/mingc/:S/_/./g}
 
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37
 
-SUBST_CLASSES+=                giflib
-SUBST_STAGE.giflib=    pre-configure
-SUBST_FILES.giflib=    py_ext/setup.py
-SUBST_SED.giflib=      -e 's/ungif/gif/g'
+pre-configure:
+       cd ${WRKSRC}/py_ext; \
+       sed -e 's/@srcdir@/./' -e 's/@ZLIB@/-lz/' -e 's/@PNGLIB@/-lpng/' -e 's/@GIFLIB@/-lgif/' \
+       -e "s/@MING_VERSION@/${MING_VERSION}/" < setup.py.in > setup.py
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index