Date: Thu, 9 May 2019 14:19:59 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501098 - in head/astro/gnuastro: . files Message-ID: <201905091419.x49EJxGB037495@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Thu May 9 14:19:58 2019 New Revision: 501098 URL: https://svnweb.freebsd.org/changeset/ports/501098 Log: - Update Gnuastro to version 0.9 - Debashize and degawkize one script Reported by: portscout Added: head/astro/gnuastro/files/ head/astro/gnuastro/files/patch-bin_script_sort-by-night.in (contents, props changed) Modified: head/astro/gnuastro/Makefile head/astro/gnuastro/distinfo head/astro/gnuastro/pkg-plist Modified: head/astro/gnuastro/Makefile ============================================================================== --- head/astro/gnuastro/Makefile Thu May 9 14:14:57 2019 (r501097) +++ head/astro/gnuastro/Makefile Thu May 9 14:19:58 2019 (r501098) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gnuastro -PORTVERSION= 0.8 +PORTVERSION= 0.9 CATEGORIES= astro MASTER_SITES= GNU Modified: head/astro/gnuastro/distinfo ============================================================================== --- head/astro/gnuastro/distinfo Thu May 9 14:14:57 2019 (r501097) +++ head/astro/gnuastro/distinfo Thu May 9 14:19:58 2019 (r501098) @@ -1,3 +1,3 @@ -TIMESTAMP = 1553427026 -SHA256 (gnuastro-0.8.tar.gz) = 3a8070f9dd896a463f1d898be82b1fe5abcd39e6407be9162f4dbea7fe9caed4 -SIZE (gnuastro-0.8.tar.gz) = 5140848 +TIMESTAMP = 1555520218 +SHA256 (gnuastro-0.9.tar.gz) = c98dba97f022960d1792ffdba1f3bd411fb2945cd577902f79c73296799b6818 +SIZE (gnuastro-0.9.tar.gz) = 5312132 Added: head/astro/gnuastro/files/patch-bin_script_sort-by-night.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/gnuastro/files/patch-bin_script_sort-by-night.in Thu May 9 14:19:58 2019 (r501098) @@ -0,0 +1,53 @@ +--- bin/script/sort-by-night.in.orig 2019-04-11 18:40:12 UTC ++++ bin/script/sort-by-night.in +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + + # Separate input datasets into multiple nights, run with `--help', or see + # description under `print_help' (below) for more. +@@ -127,7 +127,7 @@ EOF + + + # Functions to check option values and complain if necessary. +-function on_off_option_error() { ++on_off_option_error() { + if [ "x$2" = x ]; then + echo "$scriptname: '$1' doesn't take any values." + else +@@ -136,7 +136,7 @@ function on_off_option_error() { + exit 1 + } + +-function check_v() { ++check_v() { + if [ x"$2" = x ]; then + echo "$scriptname: option '$1' requires an argument." + echo "Try '$scriptname --help' for more information." +@@ -172,7 +172,7 @@ function check_v() { + # if a value is appended to the short format it should crash. So in the + # second test for these (`-l*') will account for both the case where we + # have an equal sign and where we don't. +-while [[ $# -gt 0 ]] ++while [ $# -gt 0 ] + do + case "$1" in + # Input parameters. +@@ -242,8 +242,8 @@ fi + list=$(for f in $inputs; do + astfits $f --datetosec=$key --hdu=$hdu -q \ + | awk -vh=$hour \ +- '{d=int($1/86400); print "'$f'", $1, \ +- int($1)%86400<(h*3600) ? d-1 : d }' ++ '{d=int($1/86400); print "'$f'", $1; \ ++ if (int($1)%86400<(h*3600)) print d-1; else print d }' + done) + + +@@ -302,5 +302,5 @@ echo "$unique" | while read l; do + done + + # Increment the night-counter. +- ((counter++)) ++ counter=$((counter+1)) + done Modified: head/astro/gnuastro/pkg-plist ============================================================================== --- head/astro/gnuastro/pkg-plist Thu May 9 14:14:57 2019 (r501097) +++ head/astro/gnuastro/pkg-plist Thu May 9 14:19:58 2019 (r501098) @@ -10,6 +10,7 @@ bin/astmkcatalog bin/astmknoise bin/astmkprof bin/astnoisechisel +bin/astscript-sort-by-night bin/astsegment bin/aststatistics bin/asttable @@ -64,8 +65,8 @@ include/gnuastro/type.h include/gnuastro/wcs.h lib/libgnuastro.a lib/libgnuastro.so -lib/libgnuastro.so.6 -lib/libgnuastro.so.6.0.0 +lib/libgnuastro.so.7 +lib/libgnuastro.so.7.0.0 libdata/pkgconfig/gnuastro.pc man/man1/astarithmetic.1.gz man/man1/astbuildprog.1.gz @@ -79,10 +80,12 @@ man/man1/astmkcatalog.1.gz man/man1/astmknoise.1.gz man/man1/astmkprof.1.gz man/man1/astnoisechisel.1.gz +man/man1/astscript-sort-by-night.1.gz man/man1/astsegment.1.gz man/man1/aststatistics.1.gz man/man1/asttable.1.gz man/man1/astwarp.1.gz +share/info/gnuastro-figures/README share/info/gnuastro-figures/epicycles.eps share/info/gnuastro-figures/epicycles.png share/info/gnuastro-figures/epicycles.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905091419.x49EJxGB037495>