From 58a5321d95da9df7dc477f442d76f2ff35fc34ee Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Mon, 13 Feb 2023 08:48:40 -0600 Subject: [PATCH] Rework dependencies using JDB Softwar package repo instead of URLs. --- pit.nimble | 19 +++++++++++-------- src/pit.nim | 2 +- src/pitpkg/cliconstants.nim | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/pit.nimble b/pit.nimble index 2dcdb95..3de976f 100644 --- a/pit.nimble +++ b/pit.nimble @@ -1,6 +1,6 @@ # Package -version = "4.21.0" +version = "4.21.1" author = "Jonathan Bernard" description = "Personal issue tracker." license = "MIT" @@ -11,14 +11,17 @@ bin = @["pit", "pit_api"] requires @[ "nim >= 1.4.0", - "docopt 0.6.8", - "jester 0.5.0", - "uuids 0.1.10", + "docopt >= 0.6.8", + "jester >= 0.5.0", + "uuids >= 0.1.10" +] - "https://git.jdb-software.com/jdb/nim-cli-utils.git >= 0.6.4", - "https://git.jdb-software.com/jdb/nim-lang-utils.git >= 0.4.0", - "https://git.jdb-software.com/jdb/nim-time-utils.git >= 0.4.0", - "https://git.jdb-software.com/jdb/nim-data-uri.git >= 1.0.0", +# Dependencies from git.jdb-software.com/nim-jdb/packages +requires @[ + "cliutils >= 0.6.4", + "langutils >= 0.4.0", + "timeutils >= 0.4.0", + "data_uri > 1.0.0", "https://git.jdb-software.com/jdb/update-nim-package-version >= 0.2.0" ] diff --git a/src/pit.nim b/src/pit.nim index fe0d7c9..5257d40 100644 --- a/src/pit.nim +++ b/src/pit.nim @@ -318,7 +318,7 @@ when isMainModule: if args["--echo-args"]: stderr.writeLine($args) if args["help"]: - stderr.writeLine(USAGE & "\n") + stderr.writeLine(USAGE & "\p") stderr.writeLine(ONLINE_HELP) quit() diff --git a/src/pitpkg/cliconstants.nim b/src/pitpkg/cliconstants.nim index 69cd8f2..ce986ae 100644 --- a/src/pitpkg/cliconstants.nim +++ b/src/pitpkg/cliconstants.nim @@ -1,4 +1,4 @@ -const PIT_VERSION* = "4.21.0" +const PIT_VERSION* = "4.21.1" const USAGE* = """Usage: pit ( new | add) [] [options] @@ -172,4 +172,4 @@ Issue Properties: If present, expected to be a comma-delimited list of text tags. The -g option is a short-hand for '-p tags:'. -""" +""" \ No newline at end of file