Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/tscrape tscrape: Update to 0.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01a7a33b13d1
branches:  trunk
changeset: 430819:01a7a33b13d1
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon May 04 15:40:06 2020 +0000

description:
tscrape: Update to 0.5

pkgsrc changes:
 - Remove patch that was backported from upstream Git HEAD

0.5
---
 - Use a <pre> section per feed for tscrape_html
 - Ignore possible consecutive `js-stream-item' when parsing a single tweet:
   previously some tweets could be accidentally not parsed
 - Misc bug fixes and improvements

diffstat:

 www/tscrape/Makefile                |   5 ++---
 www/tscrape/distinfo                |  11 +++++------
 www/tscrape/patches/patch-tscrape.c |  19 -------------------
 3 files changed, 7 insertions(+), 28 deletions(-)

diffs (52 lines):

diff -r 02062f410517 -r 01a7a33b13d1 www/tscrape/Makefile
--- a/www/tscrape/Makefile      Mon May 04 15:37:23 2020 +0000
+++ b/www/tscrape/Makefile      Mon May 04 15:40:06 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/03/26 10:16:56 leot Exp $
+# $NetBSD: Makefile,v 1.8 2020/05/04 15:40:06 leot Exp $
 
-DISTNAME=      tscrape-0.4
-PKGREVISION=   2
+DISTNAME=      tscrape-0.5
 CATEGORIES=    www
 MASTER_SITES=  http://codemadness.org/releases/tscrape/
 
diff -r 02062f410517 -r 01a7a33b13d1 www/tscrape/distinfo
--- a/www/tscrape/distinfo      Mon May 04 15:37:23 2020 +0000
+++ b/www/tscrape/distinfo      Mon May 04 15:40:06 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.5 2020/03/26 10:16:56 leot Exp $
+$NetBSD: distinfo,v 1.6 2020/05/04 15:40:06 leot Exp $
 
-SHA1 (tscrape-0.4.tar.gz) = 1cd9dca90f3a4a73be3377f4b6b230af5caa771b
-RMD160 (tscrape-0.4.tar.gz) = a32cb25537a0d5f785abf3758c05ab6d2b5c1f5c
-SHA512 (tscrape-0.4.tar.gz) = cbf626ba3d3bdefbf67253e810d211f0928c5931334d9656d5dffab24972fb7974a4a6f9c4d95d7d7f87c8adb000255ec1a25adf435f4c692c2af6574625cb17
-Size (tscrape-0.4.tar.gz) = 15348 bytes
-SHA1 (patch-tscrape.c) = 45a10d3b0517a6f40c683efe19b098e540d0d4f0
+SHA1 (tscrape-0.5.tar.gz) = 4340d160234f09d54c1a9b0291b2c3b321be758e
+RMD160 (tscrape-0.5.tar.gz) = f954ab3bc77b14e35f9e9436f20760295ac5be32
+SHA512 (tscrape-0.5.tar.gz) = 0930a3383b1f6fc7fe06c3d5437ed3cdb2e695269d4858cb8a2c237c19f4065ef78c919281f5af758355c620381d94e8c802f3d1c57d604c392b69ec335b6002
+Size (tscrape-0.5.tar.gz) = 15230 bytes
diff -r 02062f410517 -r 01a7a33b13d1 www/tscrape/patches/patch-tscrape.c
--- a/www/tscrape/patches/patch-tscrape.c       Mon May 04 15:37:23 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-tscrape.c,v 1.1 2020/03/23 15:06:08 leot Exp $
-
-Ignore possible consecutive `js-stream-item' when parsing a single tweet.
-
-Backport from upstream commit:
-
- 426522824e719e081c9c5e47ba8771779b0fdc85
-
---- tscrape.c.orig     2020-02-23 19:36:28.000000000 +0000
-+++ tscrape.c
-@@ -159,6 +159,8 @@ xmltagstartparsed(XMLParser *x, const ch
-               state = 0;
-       } else if (!strcmp(t, "li") &&
-                  isclassmatch(classname, STRP("js-stream-item"))) {
-+              if (state & Item)
-+                      return;
-               state |= Item;
-               datatime[0] = text[0] = timestamp[0] = itemfullname[0] = '\0';
-               itemid[0] = itemusername[0] = retweetid[0] = '\0';



Home | Main Index | Thread Index | Old Index