./devel/shtk, Application toolkit for POSIX-compliant shell scripts

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.7, Package name: shtk-1.7, Maintainer: jmmv

The Shell Toolkit (shtk) is an application toolkit for programmers
writing POSIX-compliant shell scripts.

shtk provides a collection of reusable modules that work on a wide
variety of operating systems and shell interpreters. The included
modules aid developers in implementing usable and consistent CLI
interfaces, interacting with processes, parsing configuration files and
manipulating higher-level data types among other things.

shtk-based scripts are "built" by using the included shtk(1) utility,
which adds the necessary machinery to the scripts so that they can
trivially import and use the modular interfaces of shtk.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: f188f2e21fa9ebf221a92fe44aa0143f3a09c118
RMD160: 10e39c956cffe4abad524ac58c2b778b7a2eeafd
Filesize: 116.168 KB

Version history: (Expand)


CVS history: (Expand)


   2017-02-17 22:20:07 by Julio Merino | Files touched by this commit (3) | Package updated
Log message:
Update shtk to 1.7:

**Released on 2017-02-17.**

* This is the first release with fixes for and confirmed to work with all
  of bash, dash, pdksh, and zsh.  We now have continuous integration runs
  for all these interpreters to ensure that this holds true in future
  releases.

* Added the `shtk_abort` function to terminate a script on fatal internal
  errors.

* Added the `shtk_cli_debug` function to log debug-level messages.

* Added the `shtk_cli_log_level` and `shtk_cli_set_log_level` functions to
  query and set the maximum log level.

* Added the `shtk_fs` module with the `shtk_fs_join_paths` and
  `shtk_fs_normalize_path` functions.

* Added the `shtk_hw` module with the `shtk_hw_ncpus` function.

* Fixed option parsing to detect missing arguments to options.

* Fixed pattern matching in `shtk_list_filter` so that it supports
  alternative branches.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-03-11 20:39:57 by Tobias Nygren | Files touched by this commit (1) | Package updated
Log message:
update to my previous commit which was still sitting in my tree
   2015-03-07 15:31:03 by Tobias Nygren | Files touched by this commit (1)
Log message:
convert to USE_GITHUB
   2014-11-17 20:55:54 by Julio Merino | Files touched by this commit (3) | Package updated
Log message:
Update shtk to 1.6:

Released on 2014-11-17.

* Added the unittest module, a framework with which to implement
  robust test programs purely in shell.  This new module supports
  defining test programs as a collection of standalone test cases or
  test fixtures; supports assert-syle vs. expect-style checks; and
  provides advanced checks to simplify the implementation of tests
  cases for command-line utilities.  unittest-based test programs
  can be trivially plugged into the Kyua testing framework.

* Added manual pages for all public API functions.  See shtk(3) for
  an introduction and follow all linked pages for details.  All
  docstrings have been removed from the code in favor of the manual
  pages.

* Added the shtk_config_include function so that configuration files
  can source other files using relative (or absolute) paths.

* Removed 'set -e' calls from shtk and from any generated scripts.
  It is the user who should be enabling this feature if he chooses to
  because 'set -e' may have suprising and inconsistent behavior in
  large scripts (and shtk can be defined as large).
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
   2014-08-14 15:48:21 by Julio Merino | Files touched by this commit (3) | Package updated
Log message:
Update shtk to 1.4:

Released on 2013-12-30.

* Added support for a user-defined SHTK_MODULESPATH variable.  This
  colon-separated, user-tunable variable lists the directories that
  contain modules.

* Added a modulesdir variable to shtk.pc so that third-party packages
  can install shtk-compliant modules into the shared directory.  This
  variable is also exposed by the SHTK_CHECK macro of shtk.m4 as
  SHTK_MODULESDIR.

* Added a new bool module with a shtk_bool_check function to convert a
  string to a boolean.

* Added a new cleanup module to simplify the installation and automatic
  execution of termination handlers.

* Fixed the config module in Mac OS X 10.9 to respect default values
  of configuration variables.
   2014-02-08 16:59:30 by Julio Merino | Files touched by this commit (7) | Package updated
Log message:
Depend on atf 0.20 (not atf-libs) and bump PKGREVISION.