pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ctemplate Update MASTER_SITES and HOMEPAGE. Use ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52824920adf9
branches:  trunk
changeset: 649832:52824920adf9
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sat Apr 11 03:05:26 2015 +0000

description:
Update MASTER_SITES and HOMEPAGE. Use REPLACE_PYTHON to fix interpreter
path in file used in build stage. ChangeLog for 2.3:

        * Fixed some more C++11 issues.
        * Removed deprecated Template::SetEscapedValueAndShowSection()
          and Template::ReloadIfChanged().

diffstat:

 devel/ctemplate/Makefile                                          |  12 +++++---
 devel/ctemplate/distinfo                                          |   9 +++---
 devel/ctemplate/patches/patch-src_ctemplate_template__string.h.in |  13 ----------
 3 files changed, 11 insertions(+), 23 deletions(-)

diffs (62 lines):

diff -r 3fe309ea1c51 -r 52824920adf9 devel/ctemplate/Makefile
--- a/devel/ctemplate/Makefile  Sat Apr 11 02:26:02 2015 +0000
+++ b/devel/ctemplate/Makefile  Sat Apr 11 03:05:26 2015 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.7 2014/05/29 23:35:34 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2015/04/11 03:05:26 rodent Exp $
 
-DISTNAME=      ctemplate-2.2
-PKGREVISION=   2
+DISTNAME=      ctemplate-2.3
 CATEGORIES=    devel
-MASTER_SITES=  http://google-ctemplate.googlecode.com/files/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=OlafvdSpek/}
+GITHUB_TAG=    ${DISTNAME}
 
 MAINTAINER=    rodent%NetBSD.org@localhost
-HOMEPAGE=      http://code.google.com/p/google-ctemplate/
+HOMEPAGE=      ${MASTER_SITE_GITHUB:=OlafvdSpek/ctemplate}
 COMMENT=       Simple but powerful template language for C++
 LICENSE=       modified-bsd
 
@@ -19,6 +19,8 @@
 PKGCONFIG_OVERRIDE+=   libctemplate_nothreads.pc
 PKGCONFIG_OVERRIDE_STAGE=post-build
 REPLACE_PERL=          src/template-converter
+REPLACE_PYTHON=                src/htmlparser/generate_fsm.py
 
+.include "../../lang/python/application.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3fe309ea1c51 -r 52824920adf9 devel/ctemplate/distinfo
--- a/devel/ctemplate/distinfo  Sat Apr 11 02:26:02 2015 +0000
+++ b/devel/ctemplate/distinfo  Sat Apr 11 03:05:26 2015 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2013/04/21 11:23:38 rodent Exp $
+$NetBSD: distinfo,v 1.5 2015/04/11 03:05:26 rodent Exp $
 
-SHA1 (ctemplate-2.2.tar.gz) = b00a35291bc5c5bb8493a68bbf76d6a9cfa5c117
-RMD160 (ctemplate-2.2.tar.gz) = fb5cf475f47b9bd651d05418f5dc01c039b50070
-Size (ctemplate-2.2.tar.gz) = 889458 bytes
-SHA1 (patch-src_ctemplate_template__string.h.in) = 55510338a7df8486e1f9502336c65fd06de2b4fc
+SHA1 (ctemplate-2.3.tar.gz) = be6ba46bf64287887f9b806719a851af50f79acd
+RMD160 (ctemplate-2.3.tar.gz) = 329f503a80566c1293a811b5b79eb879c59b8091
+Size (ctemplate-2.3.tar.gz) = 720717 bytes
 SHA1 (patch-src_tests_template__regtest.cc) = 234fce61f0ebc72238276df21002dbe1397dbac2
diff -r 3fe309ea1c51 -r 52824920adf9 devel/ctemplate/patches/patch-src_ctemplate_template__string.h.in
--- a/devel/ctemplate/patches/patch-src_ctemplate_template__string.h.in Sat Apr 11 02:26:02 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_ctemplate_template__string.h.in,v 1.1 2013/03/02 18:17:14 joerg Exp $
-
---- src/ctemplate/template_string.h.in.orig    2011-01-22 05:27:29.000000000 +0000
-+++ src/ctemplate/template_string.h.in
-@@ -359,7 +359,7 @@ class @ac_windows_dllexport@ StaticTempl
- 
- // Don't use this.  This is used only in auto-generated .varnames.h files.
- #define STS_INIT_WITH_HASH(name, str, hash)                                   \
--  { { str, sizeof(""str"")-1, hash } };                                       \
-+  { { str, sizeof("" str "")-1, hash } };                                     \
-   namespace ctemplate_sts_init {                                              \
-   static const @ac_google_namespace@::StaticTemplateStringInitializer name##_init(&name); \
-   }



Home | Main Index | Thread Index | Old Index