head 1.20; access; symbols pkgsrc-2023Q4:1.20.0.8 pkgsrc-2023Q4-base:1.20 pkgsrc-2023Q3:1.20.0.6 pkgsrc-2023Q3-base:1.20 pkgsrc-2023Q2:1.20.0.4 pkgsrc-2023Q2-base:1.20 pkgsrc-2023Q1:1.20.0.2 pkgsrc-2023Q1-base:1.20 pkgsrc-2022Q4:1.19.0.4 pkgsrc-2022Q4-base:1.19 pkgsrc-2022Q3:1.19.0.2 pkgsrc-2022Q3-base:1.19 pkgsrc-2022Q2:1.18.0.2 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.16.0.6 pkgsrc-2022Q1-base:1.16 pkgsrc-2021Q4:1.16.0.4 pkgsrc-2021Q4-base:1.16 pkgsrc-2021Q3:1.16.0.2 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.15.0.6 pkgsrc-2021Q2-base:1.15 pkgsrc-2021Q1:1.15.0.4 pkgsrc-2021Q1-base:1.15 pkgsrc-2020Q4:1.15.0.2 pkgsrc-2020Q4-base:1.15 pkgsrc-2020Q3:1.14.0.4 pkgsrc-2020Q3-base:1.14 pkgsrc-2020Q2:1.14.0.2 pkgsrc-2020Q2-base:1.14 pkgsrc-2020Q1:1.12.0.2 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.11.0.4 pkgsrc-2019Q4-base:1.11 pkgsrc-2019Q3:1.10.0.2 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.9.0.4 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.2 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.8.0.4 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.2 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.7.0.14 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.12 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.10 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.8 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.4 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.2 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.6.0.2 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.4.0.4 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.2 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.2 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @# @; 1.20 date 2023.01.09.10.17.13; author fcambus; state Exp; branches; next 1.19; commitid Famuw2jTCUHdVQ8E; 1.19 date 2022.06.27.15.29.16; author fcambus; state Exp; branches; next 1.18; commitid IQmQDlWLRNqyWGJD; 1.18 date 2022.06.18.18.34.59; author fcambus; state Exp; branches; next 1.17; commitid RlEcJtYYzwJmgyID; 1.17 date 2022.06.18.18.11.27; author fcambus; state Exp; branches; next 1.16; commitid wBlaeUC4qd8i8yID; 1.16 date 2021.09.14.16.49.01; author fcambus; state Exp; branches; next 1.15; commitid v7SFXRu4qmnbAW8D; 1.15 date 2020.12.20.12.41.27; author nia; state Exp; branches; next 1.14; commitid viHwVavFvSokPtAC; 1.14 date 2020.06.16.09.21.57; author fcambus; state Exp; branches; next 1.13; commitid aFHNdCmHba7xJqcC; 1.13 date 2020.03.30.15.35.09; author fcambus; state Exp; branches; next 1.12; commitid 5vYhOsq0ipX0jr2C; 1.12 date 2020.01.21.18.07.52; author fcambus; state Exp; branches; next 1.11; commitid MHg3EL4ZxCvWmATB; 1.11 date 2019.11.19.11.17.27; author fcambus; state Exp; branches; next 1.10; commitid 0wJfL0YEgqhG7sLB; 1.10 date 2019.08.14.13.33.43; author fcambus; state Exp; branches; next 1.9; commitid 7hVvkSCclVrDZZyB; 1.9 date 2019.01.18.18.06.21; author kamil; state Exp; branches; next 1.8; commitid QtimJCVv1FL4bi8B; 1.8 date 2018.07.04.13.40.25; author jperkin; state Exp; branches; next 1.7; commitid NnIyRkdX3Lbg3PIA; 1.7 date 2017.02.21.11.36.43; author maya; state Exp; branches; next 1.6; commitid rKeL2jrSqYFdpOGz; 1.6 date 2016.12.18.19.17.44; author maya; state Exp; branches; next 1.5; commitid mmI8i15YR46S2vyz; 1.5 date 2016.12.18.18.57.05; author maya; state Exp; branches; next 1.4; commitid SkJc5DWSs7DGVuyz; 1.4 date 2016.06.09.06.23.40; author wiz; state Exp; branches; next 1.3; commitid XLM7sK11wHgWVK9z; 1.3 date 2016.01.01.23.54.16; author kamil; state Exp; branches; next 1.2; commitid oErRplYCOeY1ThPy; 1.2 date 2015.09.27.21.03.48; author kamil; state Exp; branches; next 1.1; commitid UuUXTCCSU93H1WCy; 1.1 date 2015.09.08.21.50.28; author kamil; state Exp; branches; next ; commitid uTfqLA7Z0rObTuAy; desc @@ 1.20 log @ansiweather: update to 1.19.0. AnsiWeather 1.19.0 (2023-01-09) - Quote location in example, as this is a common source of error - Add an entry for "feels_like_text" in the .ansiweatherrc example file - Only set LC_NUMERIC=C, instead of LC_ALL. This prevents overriding locale date format when displaying days and months in forecast mode. @ text @# $NetBSD: Makefile,v 1.19 2022/06/27 15:29:16 fcambus Exp $ DISTNAME= ansiweather-1.19.0 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/} GITHUB_RELEASE= ${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/fcambus/ansiweather/ COMMENT= Display current weather conditions in your terminal LICENSE= 2-clause-bsd USE_LANGUAGES= # none USE_TOOLS+= cut:run date:run grep:run DEPENDS+= curl-[0-9]*:../../www/curl DEPENDS+= jq-[0-9]*:../../devel/jq NO_CONFIGURE= yes NO_BUILD= yes DOCDIR= share/doc/ansiweather EGDIR= share/examples/ansiweather AUTO_MKDIRS= yes INSTALLATION_DIRS+= ${PKGMANDIR}/man1 do-install: ${RUN}${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${DESTDIR}${PREFIX}/bin .for f in AUTHORS ChangeLog README.md ansiweather.plugin.zsh ${RUN}${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR} .endfor ${RUN}${INSTALL_MAN} ${WRKSRC}/ansiweather.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${RUN}${INSTALL_DATA} ${WRKSRC}/ansiweatherrc.example \ ${DESTDIR}${PREFIX}/${EGDIR} .include "../../mk/bsd.pkg.mk" @ 1.19 log @*: drop maintainership for packages not related to toolchains and ELF. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2022/06/18 18:34:59 fcambus Exp $ d3 1 a3 2 DISTNAME= ansiweather-1.18.0 PKGREVISION= 1 @ 1.18 log @ansiweather: stop installing a global configuration file, it's unused. Since revision 1.8, ansiweather wasn't patched anymore to read a global configuration file. One can argue there never really was any reason to patch the program as a default location is displayed if no parameter is passed or if no user configuration file is found. See PR pkg/52026 for more details. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2022/06/18 18:11:27 fcambus Exp $ d9 1 a9 1 MAINTAINER= fcambus@@NetBSD.org @ 1.17 log @ansiweather: remove SUBST directives, they are not run anymore. They haven't been run since SUBST_STAGE.config was set to pre-configure in revision 1.8, as NO_CONFIGURE is set to "yes". This accidentally fixed PR pkg/52026. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2021/09/14 16:49:01 fcambus Exp $ d4 1 a26 2 CONF_FILES+= ${EGDIR}/ansiweatherrc.example ${PKG_SYSCONFDIR}/ansiweatherrc @ 1.16 log @ansiweather: update to 1.18.0. AnsiWeather 1.18.0 (2021-09-14) - Update man page to add the -v option (Thanks Takayuki Hirota) - Add support for displaying feels like temperature (Thanks Andrew Abdalian) - Use command -v instead of which (Thanks er0k) - Add SPDX short license identifier in source file @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2020/12/20 12:41:27 nia Exp $ a27 5 SUBST_CLASSES+= config SUBST_FILES.config= ansiweather SUBST_SED.config= -e 's,~/.ansiweatherrc,${PKG_SYSCONFDIR}/ansiweatherrc,' SUBST_STAGE.config= pre-configure @ 1.15 log @ansiweather: Use INSTALL_SCRIPT to avoid problems with stripping @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2020/06/16 09:21:57 fcambus Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.17.0 @ 1.14 log @ansiweather: update to 1.17.0. AnsiWeather 1.17.0 (2020-06-16) - Use cut instead of awk for parsing the config file, allowing to use the colon character as part of the config value (Thanks Niklas Lindgren) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/03/30 15:35:09 fcambus Exp $ a22 2 INSTALL_UNSTRIPPED= yes d37 1 a37 1 ${RUN}${INSTALL_PROGRAM} ${WRKSRC}/ansiweather ${DESTDIR}${PREFIX}/bin @ 1.13 log @ansiweather: add GITHUB_RELEASE directive. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2020/01/21 18:07:52 fcambus Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.16.0 d15 1 a15 1 USE_TOOLS+= awk:run date:run grep:run @ 1.12 log @ansiweather: update to 1.16.0. AnsiWeather 1.16.0 (2020-01-21) - Switch default delimiter from "=>" to ":" and stop prepending space - Do not hardcode colon in forecast mode, use $delimiter instead @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2019/11/19 11:17:27 fcambus Exp $ d6 1 @ 1.11 log @ansiweather: update to 1.15.0. AnsiWeather 1.15.0 (2019-11-14) - Use HTTPS for performing weather API calls @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/08/14 13:33:43 fcambus Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.15.0 @ 1.10 log @ansiweather: Update to 1.14.0. ChangeLog: AnsiWeather 1.14.0 (2019-08-13) - Add final dots for options descriptions in ansiweather.1 - Stop mentioning that ftp can be used on Mac OS X, as it's apparently not the case anymore in Mojave - Remove space before percent sign for humidity display - Respect freedesktop/XDG spec for configuration (Thanks Ryan Delaney) OK kamil@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/01/18 18:06:21 kamil Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.14.0 @ 1.9 log @ansiweather: Update to 1.13.0 Patch submitted by Frederic Cambus, who takes maintainership. Upstream changelog ================== AnsiWeather 1.13.0 (2018-07-16) - Do not attempt to fetch UV data when in forecast mode AnsiWeather 1.12.0 (2018-06-29) - Replace spaces in city names by '%20', underscores are not accepted anymore by the OpenWeatherMap API - Add support for fetching and displaying UV index - Document the UV index feature and related flags and options AnsiWeather 1.11 (2017-06-21) - Unicode symbols display is now off by default - Shorten default greeting text: "Current weather" => "Weather" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2018/07/04 13:40:25 jperkin Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.13.0 d7 1 a7 1 MAINTAINER= fred@@statdns.com @ 1.8 log @*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2017/02/21 11:36:43 maya Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.10 d7 1 a7 1 MAINTAINER= pkgsrc-users@@NetBSD.org @ 1.7 log @ansiweather: update to 1.10 AnsiWeather 1.10 (2017-02-16) - Add a '-v' option to show version number - Exit with error code when an unknown option is invoked - Make wind direction customizable @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/12/18 19:17:44 maya Exp $ d32 1 a32 1 SUBST_STAGE.config= post-patch @ 1.6 log @ansiweather: install to the mandir. you saw nothing. appease pkglint a little. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2016/12/18 18:57:05 maya Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.09 @ 1.5 log @ansiweather: update to 1.09 Added man page, -v flag for version. License is now 2-clause BSD (dropped third BSD clause). from fcambus (author) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/06/09 06:23:40 wiz Exp $ d29 1 a29 1 SUBST_CLASSES+= config shebang d34 2 a35 1 AUTO_MKDIRS= yes d39 1 a39 1 .for f in AUTHORS ChangeLog README.md ansiweather.plugin.zsh ansiweather.1 d42 2 @ 1.4 log @Fix HOMEPAGE to be copy'n'pastable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/01/01 23:54:16 kamil Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.06 d10 1 a10 1 LICENSE= modified-bsd d38 1 a38 1 .for f in AUTHORS ChangeLog README.md ansiweather.plugin.zsh @ 1.3 log @Update misc/ansiweather to 1.06 - Added support for OpenWeatherMap API keys - Changed curl options from '-s' to '-sf' to fail silently on server errors - Removing auto location helper, user location must now be explicitly set - Changed default city to Rzeszow, Poland - Changing rain and thunderstorm icons default colors to white and yellow - Documentation updates Update by coypu@@ via pkgsrc-wip @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2015/09/27 21:03:48 kamil Exp $ d8 1 a8 1 HOMEPAGE= ${MASTER_SITE_GITHUB:=fcambus/ansiweather/} @ 1.2 log @Upgrade to 1.05 Stop fixing ansiweather's shebang (addressed upstream). Upstream changelog ================== AnsiWeather 1.05 (2015-09-27) - Fixes for numeric translation on NetBSD (Thanks Kamil Rytarowski) - Use xargs printf construct to avoid hardcoding path to external printf command (Thanks Kamil Rytarowski) - Use '/bin/sh' shebang instead of '/usr/bin/env sh' for portability reasons (Thanks Kamil Rytarowski) - Replacing spaces by underscores in location name before calling the weather API - Force bc to always return integers for wind directions (Thanks Lornix) - Documentation updates AnsiWeather 1.04 (2015-09-10) - Added a '-a' option to toggle ANSI colors display - Daylight option in the example configuration file now default to false to match program default - Better formatting for usage display - Documentation updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/09/08 21:50:28 kamil Exp $ d3 1 a3 1 DISTNAME= ansiweather-1.05 @ 1.1 log @Import ansiweather-1.03 as misc/ansiweather AnsiWeather is a Shell script for displaying the current weather conditions in your terminal, with support for ANSI colors and Unicode symbols. Weather data comes from the `OpenWeatherMap` free weather API. The default location of a configuration file can be overriden by the global environment variable ANSIWEATHERRC. Beware, if configuration file doesn't exists, the script queries a GeoIP API to try to approximate user location, this service may be overloaded at time so the application might appear stalled. Packaged in wip/ansiweather by Kamil Rytarowski @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= ansiweather-1.03 a33 4 SUBST_FILES.shebang= ansiweather SUBST_SED.shebang= -e 's,/usr/bin/env sh,${SH},' SUBST_STAGE.shebang= post-patch @