Skip to content

Commit

Permalink
commitizen: update to 2.10.0 and add bash completion
Browse files Browse the repository at this point in the history
  • Loading branch information
harens authored and herbygillot committed Dec 4, 2020
1 parent 568b4e8 commit 7f6d66d
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions devel/commitizen/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup python 1.0

name commitizen
version 2.9.0
version 2.10.0
categories-prepend devel
platforms darwin
license MIT
Expand All @@ -25,14 +25,14 @@ long_description Commitizen is a tool designed for teams. Its main purpose is

homepage https://commitizen-tools.github.io/commitizen/

checksums rmd160 cff681cfa397a8e1c9e1718cda4d39584014b82f \
sha256 9d1b92688d417d600257e50d55c1f9aa61dea0588ac4272d33b75caf02687ca6 \
size 29386
checksums rmd160 59ed92de84ef7d097c9eeb6a8d80cab278ea8388 \
sha256 33e515940e49355381d29f41081124c0203d92dfce399b82ea4b04a74fc16cba \
size 29807

depends_build-append \
port:py${python.version}-setuptools

depends_lib-append \
depends_run-append \
port:py${python.version}-colorama \
port:py${python.version}-decli \
port:py${python.version}-jinja2 \
Expand All @@ -42,4 +42,16 @@ depends_lib-append \
port:py${python.version}-tomlkit \
port:py${python.version}-yaml

default_variants +bash

variant bash description {Include Bash completion support} {
depends_run-append \
port:py${python.version}-argcomplete \
port:bash

notes-append "
To use bash completion, run the following:
register-python-argcomplete-${python.branch} cz >> ~/.bashrc"
}

livecheck.type pypi

0 comments on commit 7f6d66d

Please sign in to comment.