Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commitizen: update to 2.10.0 and add bash completion #9332

Merged
merged 1 commit into from
Dec 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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