Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2016 11:19:20 +0000 (UTC)
From:      Bartek Rutkowski <robak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425792 - in head/misc/ansiweather: . files
Message-ID:  <201611091119.uA9BJKtN034032@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: robak
Date: Wed Nov  9 11:19:20 2016
New Revision: 425792
URL: https://svnweb.freebsd.org/changeset/ports/425792

Log:
  misc/ansiweather: update 1.08 -> 1.09
  
  PR:		213629
  Submitted by:	Danilo G. Baio <dbaio@bsd.com.br> (maintainer)

Modified:
  head/misc/ansiweather/Makefile
  head/misc/ansiweather/distinfo
  head/misc/ansiweather/files/patch-ansiweather
  head/misc/ansiweather/pkg-plist

Modified: head/misc/ansiweather/Makefile
==============================================================================
--- head/misc/ansiweather/Makefile	Wed Nov  9 11:02:10 2016	(r425791)
+++ head/misc/ansiweather/Makefile	Wed Nov  9 11:19:20 2016	(r425792)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	ansiweather
-PORTVERSION=	1.08
+PORTVERSION=	1.09
 CATEGORIES=	misc
 
 MAINTAINER=	dbaio@bsd.com.br
@@ -29,6 +29,7 @@ do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/ansiweather.plugin.zsh ${STAGEDIR}${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/ansiweather.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 do-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/misc/ansiweather/distinfo
==============================================================================
--- head/misc/ansiweather/distinfo	Wed Nov  9 11:02:10 2016	(r425791)
+++ head/misc/ansiweather/distinfo	Wed Nov  9 11:19:20 2016	(r425792)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1469537228
-SHA256 (fcambus-ansiweather-1.08_GH0.tar.gz) = 22dd814ef158df13b3fdbe72ca39e820874e710a4d341d1a2367aa771609665d
-SIZE (fcambus-ansiweather-1.08_GH0.tar.gz) = 16991
+TIMESTAMP = 1476884144
+SHA256 (fcambus-ansiweather-1.09_GH0.tar.gz) = 75f705263c8ca1eea74039c478b6c760632f26e3b503ac9d04cd1ab188d1ca77
+SIZE (fcambus-ansiweather-1.09_GH0.tar.gz) = 17360

Modified: head/misc/ansiweather/files/patch-ansiweather
==============================================================================
--- head/misc/ansiweather/files/patch-ansiweather	Wed Nov  9 11:02:10 2016	(r425791)
+++ head/misc/ansiweather/files/patch-ansiweather	Wed Nov  9 11:19:20 2016	(r425792)
@@ -1,15 +1,6 @@
---- ansiweather.orig	2016-07-26 11:16:31 UTC
+--- ansiweather.orig	2016-10-18 17:14:59 UTC
 +++ ansiweather
-@@ -66,7 +66,7 @@ done
- 
- if [ "$usage" = true ]
- then
--	printf "%s\n" \
-+	gprintf "%s\n" \
- 		"" \
- 		"AnsiWeather 1.08" \
- 		"Copyright (c) 2013-2016, Frederic Cambus" \
-@@ -224,7 +224,7 @@ then
+@@ -205,7 +205,7 @@ then
  	forecast=$([ "$forecast" -gt "$flength" ] && echo "$flength" || echo "$forecast")
  else
  	city=$(echo "$weather" | jq -r '.name')
@@ -18,7 +9,7 @@
  	humidity=$(echo "$weather" | jq '.main.humidity')
  	pressure=$(echo "$weather" | jq '.main.pressure')
  	sky=$(echo "$weather" | jq -r '.weather[0].main')
-@@ -304,7 +304,7 @@ case $units in
+@@ -285,7 +285,7 @@ case $units in
  		scale="°C"
  		speed_unit="m/s"
  		pressure_unit="hPa"
@@ -27,7 +18,7 @@
  		;;
  	imperial)
  		scale="°F"
-@@ -312,7 +312,7 @@ case $units in
+@@ -293,7 +293,7 @@ case $units in
  		pressure_unit="inHg"
  		if [ "$forecast" = 0 ]
  		then
@@ -36,7 +27,7 @@
  		fi
  		;;
  esac
-@@ -368,8 +368,8 @@ then
+@@ -349,8 +349,8 @@ then
  	do
  		day=$(echo "$weather" | jq ".list[$i]")
  		date=$(epoch_to_date "$(echo "$day" | jq -r '.dt')")
@@ -47,7 +38,7 @@
  
  		icon=""
  		if [ "$symbols" = true ]
-@@ -401,7 +401,7 @@ fi
+@@ -397,7 +397,7 @@ fi
  
  if [ "$ansi" = true ]
  then

Modified: head/misc/ansiweather/pkg-plist
==============================================================================
--- head/misc/ansiweather/pkg-plist	Wed Nov  9 11:02:10 2016	(r425791)
+++ head/misc/ansiweather/pkg-plist	Wed Nov  9 11:19:20 2016	(r425792)
@@ -1,4 +1,5 @@
 bin/ansiweather
+man/man1/ansiweather.1.gz
 %%DATADIR%%/ansiweather.plugin.zsh
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/README.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611091119.uA9BJKtN034032>