Date: Mon, 15 Jul 2019 14:08:02 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506666 - head/ports-mgmt/portfmt Message-ID: <201907151408.x6FE82Y2091146@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Mon Jul 15 14:08:02 2019 New Revision: 506666 URL: https://svnweb.freebsd.org/changeset/ports/506666 Log: ports-mgmt/portfmt: Update to latest commit Add more portedit commands: - bump-epoch: bumps PORTEPOCH or inserts it at the right place - get: lookup unevaluated variable values - merge: Generic command to set/update variables while also formatting the updated variables properly and inserting them in the right places if necessary. Useful for merging output of tools like make cargo-crates, make stage-qa, or modules2tuple. - set-version: resets PORTREVISION, sets DISTVERSION or PORTVERSION Modified: head/ports-mgmt/portfmt/Makefile head/ports-mgmt/portfmt/distinfo head/ports-mgmt/portfmt/pkg-descr Modified: head/ports-mgmt/portfmt/Makefile ============================================================================== --- head/ports-mgmt/portfmt/Makefile Mon Jul 15 13:33:58 2019 (r506665) +++ head/ports-mgmt/portfmt/Makefile Mon Jul 15 14:08:02 2019 (r506666) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= portfmt -PORTVERSION= g20190625 +PORTVERSION= g20190715 CATEGORIES= ports-mgmt MAINTAINER= tobik@FreeBSD.org @@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= t6 -GH_TAGNAME= 87b395d53b67b9b4c506b0195ca2aa2d3f2e53fa +GH_TAGNAME= 710f98ca561502130f9bf6f51d6129a2a160da48 USE_LDCONFIG= yes HAS_CONFIGURE= yes Modified: head/ports-mgmt/portfmt/distinfo ============================================================================== --- head/ports-mgmt/portfmt/distinfo Mon Jul 15 13:33:58 2019 (r506665) +++ head/ports-mgmt/portfmt/distinfo Mon Jul 15 14:08:02 2019 (r506666) @@ -1,3 +1,3 @@ -TIMESTAMP = 1561436598 -SHA256 (t6-portfmt-g20190625-87b395d53b67b9b4c506b0195ca2aa2d3f2e53fa_GH0.tar.gz) = 6796f43e4134775735687070bea8298785e4fd45fa6fee331c9e9b5405572656 -SIZE (t6-portfmt-g20190625-87b395d53b67b9b4c506b0195ca2aa2d3f2e53fa_GH0.tar.gz) = 69216 +TIMESTAMP = 1563198376 +SHA256 (t6-portfmt-g20190715-710f98ca561502130f9bf6f51d6129a2a160da48_GH0.tar.gz) = 85cde78037424b06d945b414b7d4ef52714f052f6c963ecd02771a082d80fc5e +SIZE (t6-portfmt-g20190715-710f98ca561502130f9bf6f51d6129a2a160da48_GH0.tar.gz) = 70596 Modified: head/ports-mgmt/portfmt/pkg-descr ============================================================================== --- head/ports-mgmt/portfmt/pkg-descr Mon Jul 15 13:33:58 2019 (r506665) +++ head/ports-mgmt/portfmt/pkg-descr Mon Jul 15 14:08:02 2019 (r506666) @@ -6,7 +6,20 @@ It comes with several tools: - portfmt formats Makefiles - portclippy is a linter that checks if variables are in the correct order in a more comprehensive way than portlint -- portedit edits Makefiles. At the moment it only comes with a - bump-revision command +- portedit edits Makefiles. It comes with several commands + that can be used as a basis for your own port update scripts: + - bump-epoch: bumps PORTEPOCH or inserts it at the right place + - bump-revision: bumps PORTREVISION or inserts it at the right place + - get: lookup unevaluated variable values + - merge: Generic command to set/update variables while also + formatting the updated variables properly and inserting them + in the right places if necessary. Useful for merging output + of other tools like make cargo-crates, modules2tuple, or make + stage-qa. For example to mark a port deprecated: + + printf "DEPRECATED=%s\nEXPIRATION_DATE=%s" \ + Abandonware 2019-08-15 | portedit merge -i Makefile + + - set-version: resets PORTREVISION, sets DISTVERSION or PORTVERSION WWW: https://github.com/t6/portfmt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907151408.x6FE82Y2091146>