pkgsrc/devel/mercurial/Makefile

46 lines
1.4 KiB
Makefile
Raw Normal View History

Update to 2.9.2: This is a regularly-scheduled bugfix release. amend: save commit message into ".hg/last-message.txt" backout: correct commit status of no changes made (BC) (issue4190) backout: document return code of merge conflict commit: create new amend changeset as secret correctly for "--secret" option commit: propagate --secret option to subrepos (issue4182) convert: more clear documentation of the 'include' default of a 'include .' dispatch: only do import(debugger) when a debugger is requested log: solves bug regarding hg log -r 0:null (issue4039) hg: introduce "wirepeersetupfuncs" to setup wire peer by extensions (issue4109) hg: use "os.path.join()" to join path components which may be empty (issue4203) histedit: save manually edited commit message into ".hg/last-message.txt" localrepo: save manually edited commit message as soon as possible merge: fix lack of "%s" in format string causing TypeError at runtime paper: overlapping of section title on help pages (issue4051) phase: say "Returns 0" instead of "Return 0" like other command help qfold: save manually edited commit message into ".hg/last-message.txt" qnew: save manually edited commit message into ".hg/last-message.txt" rebase: use "commitforceeditor" instead of "ui.edit()" for "--collapse" revset: document the regular expression support for tag(name) subrepo: add trailing newlines to warnings subrepo: convert matched string to integer before comparing Git version subrepo: only retrieve the first two components of the Git version tag: save manually edited commit message into ".hg/last-message.txt" templater: apply "stringify()" on sub expression to get string correctly templater: avoid recursive evaluation of string literals completely templater: make strings in template expressions be "string-escape"-ed correctly templater: raise error for unknown function
2014-04-02 22:55:55 +02:00
# $NetBSD: Makefile,v 1.101 2014/04/02 20:55:55 wiz Exp $
Update to 2.9.2: This is a regularly-scheduled bugfix release. amend: save commit message into ".hg/last-message.txt" backout: correct commit status of no changes made (BC) (issue4190) backout: document return code of merge conflict commit: create new amend changeset as secret correctly for "--secret" option commit: propagate --secret option to subrepos (issue4182) convert: more clear documentation of the 'include' default of a 'include .' dispatch: only do import(debugger) when a debugger is requested log: solves bug regarding hg log -r 0:null (issue4039) hg: introduce "wirepeersetupfuncs" to setup wire peer by extensions (issue4109) hg: use "os.path.join()" to join path components which may be empty (issue4203) histedit: save manually edited commit message into ".hg/last-message.txt" localrepo: save manually edited commit message as soon as possible merge: fix lack of "%s" in format string causing TypeError at runtime paper: overlapping of section title on help pages (issue4051) phase: say "Returns 0" instead of "Return 0" like other command help qfold: save manually edited commit message into ".hg/last-message.txt" qnew: save manually edited commit message into ".hg/last-message.txt" rebase: use "commitforceeditor" instead of "ui.edit()" for "--collapse" revset: document the regular expression support for tag(name) subrepo: add trailing newlines to warnings subrepo: convert matched string to integer before comparing Git version subrepo: only retrieve the first two components of the Git version tag: save manually edited commit message into ".hg/last-message.txt" templater: apply "stringify()" on sub expression to get string correctly templater: avoid recursive evaluation of string literals completely templater: make strings in template expressions be "string-escape"-ed correctly templater: raise error for unknown function
2014-04-02 22:55:55 +02:00
DISTNAME= mercurial-2.9.2
CATEGORIES= devel scm
2009-07-17 00:12:17 +02:00
MASTER_SITES= http://mercurial.selenic.com/release/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://mercurial.selenic.com/
2006-04-09 01:01:58 +02:00
COMMENT= Fast, lightweight source control management system
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
Update to mercurial 1.0 and add DESTDIR support. Changes: General: * greatly improved merge tool configuration, see "hgrc.5.txt" for details * improved copy/rename handling in diffs, status, and merge * files in .hg inherit permissions from .hg/store * infer --repository when possible, so commands may be run from anywhere. * easy-installable * new "droplet" logo Commands: * archive: disable ".hg_archival.txt" file addition with "ui.archivemeta" * bisect: now built-in with greatly improved performance and usability * bundle: new --all option to bundle the whole repository more easily. * cat: apply decode filters with --decode * clone: can clone from a full-history bundle * commit: warn when creating a new head * debugancestor: index argument is now optional * diff: set the number of context line to show with -U/--unified * grep: display matched revisions commit date with --date * import: new --no-commit and --user options * incoming/outgoing: add --limit option * log: use -b/--only-branch to show revisions of a single branch * remove: improve handling for --after * revert: major speedup * serve: prefix the served path with --prefix (also in [web] section) * status: unknown files are skipped by --quiet * tag: allow multiple tags to be added or removed * tags: --verbose flags local tags * update: switch between named branches without -C Extensions: * churn: promoted to an official extension (previously in contrib) * color: new extension coloring "status" and "qseries" command outputs * convert: * hgk: configuration file changed from .gitk to .hgk * highlight: new extension enabling syntax highlighting in hgweb file view (requires pygments) * inotify: new extension using Linux 2.6 inotify API for instant status checking * keyword: new extension for filewise RCS-keyword expansion in working directory * mq: new --currentdate, --date, --currentuser, and --user options * record: add "qrecord" command when used with mq Web interface: * improved WSGI integration and compatibility * follow symlinks in hgwebdir collections * show branches in most of gitweb templates * add line anchors to annotate, changeset, diff and file views * support web.baseurl in hgwebdir, overriding SCRIPT_NAME Hooks: * standard hook to reject text files with CRLF in win32text extension * redirect stdout to stderr for ssh and http servers
2008-04-11 01:34:51 +02:00
Update to 0.9.2: New features: - merge now follows renames and copies - new layout protects against case-insensitivity issues - new branch and branches commands for managing named branches - push command accepts -r for pushing specified heads or named branches - proper storage of changelog and other metadata in UTF-8 - log, annotate and grep '--follow' follow renames and copies - date parsing is improved and log, update, and revert accept --date ranges - additional command options for log, status, addremove - improved schema for hgweb URLs - bundle can now use '-r' and '--base' removing the need of an base repository - support for git-style extended patches with --git option - new debuginstall command to check for common installation issues New contributions and extensions: - mq - support for quilt-style guards - can import existing changesets into mq ('qimport -r') or commit mq patches as regular changesets ('qdel -f') - edit the log message with 'qrefresh -e' - rename patches with 'qrename' - qheader to display the patch header of particular patches, and '--summary' for qseries, qapplied, qunapplied and qtop - combine patches with 'qfold' - qrefresh supports pattern options to import only a subset of the changes into a patch, to help split changes into multiple patches - patch names for applied patches act like local tags, and can be used in the revision arguments of any hg command - hgk - browse a subset of the history with '--limit' and revision range arguments - shows revision numbers as well as node hashes - churn: graph lines of code changed per user over a range of history - patchbomb: generate inline attachments with '-a' Behavior changes: - hg cat defaults to the working directory revision rather than tip - hg manifest no longer shows internal file revision hashes by default - hg revert now requires the -a flag to revert all files Developer notes: - new high-level API functions in the 'hg' module - new context API simplifies many operations - The changelog can now include arbitrary metadata in key: value form
2006-12-12 00:15:56 +01:00
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
Update to 1.3. Set LICENSE. Disallow Python-2.3 (see below). Major Changes * experimental support for sub-repositories * Python 2.3 is no longer supported; now requires Python 2.4-2.6 Commands * merge: add -P/--preview option * update: don't unlink added files when -C/--clean is specified * update: added -c/--check option to abort on local changes * update: allow merges going backwards * push: improved handling of named branches * branches/heads: add a -c/--closed option to show closed branches * help: new extensions topic General * add patch.eol config setting to work with cross-platform patches * fixed support for SSL through proxies * add ability to load hooks from arbitrary Python modules * hide passwords for HTTP repositories in error and log output * fix Python 2.6 support in the Windows installer * add mechanism for specifying HTTP authentication details in hgrc * prompts and choices are now shown even in non-interactive mode * performance improvements, especially on Windows * much improved zsh completion * improved Danish, Japanese, Italian and simplified Chinese translations * new German, French, Greek, Brazilian Portuguese and traditional Chinese translations Web interface * read configuration data from webdir configs * add branches page to hgweb * pluggable templater engine support * refresh hgwebdir configuration periodically * let web.encoding override ui.encoding setting * deal with dicts/lists like webdir config paths Extensions * experimental share extension * the alias extension has been moved into core * mq o add -P/--push option to qimport o numerous bug fixes * convert o improved source detection o support for comments in author maps o add branch map support o add different ordering options o svn: support OS-specific authn providers o svn: improved tag support o git: add committer tag only when needed o bzr: fix renaming support o bzr: add support for filemaps o bzr: handle timestamps correctly o bzr: fix symlink handling o bzr: restore paths to source encoding o cvs: add support for CVS merge(point)s o cvs: add support for synthetic revisions o cvs: better support for branchpoints o cvs: deprecate use of external cvsps o mtn: improve renaming support o mtn: support mtn database files as source o mtn: improve date/time support o p4: better handling of keywords, binary files and symlinks * rebase o don't lose copy/rename info o keep original mq patch format * zeroconf o advertise repositories by hostname o try to guess IP address if necessary * patchbomb o option to set attachment name o support for In-Reply-To header * inotify o fix handling of untracked files moved out of repository o fix support for directory deletion * acl: now works with push over https
2009-07-17 22:35:48 +02:00
USE_TOOLS+= gmake msgfmt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+= share/doc/mercurial
Update to 2.9: 1. Mercurial 2.9 (2014-02-01) This is a regularly-scheduled feature release. aliases: make "_checkshellalias()" invoke "findcmd()" with "strict=True" backout: add a message after backout that need manual commit backout: avoid update on simple case bash_completion: add completion for deleting a shelve bash_completion: add global support for -B|--bookmark bash_completion: add global support for -b|--branch bisect: --command without --noupdate should flag the parent rev it tested bookmarks: allow push -B to create a new remote head (issue2372) branchmap: cache open/closed branch head information cat: increase perf when catting single files changectx: increase perf of walk function clone: do not turn hidden changeset public on publishing clone (issue3935) convert: use branchmap to change default branch in destination (issue3469) date: allow %z in format (issue4040) diff: search beyond ancestor when detecting renames hgweb: infinite scroll support for coal, gitweb, and monoblue styles merge: consider successor changesets for a bare update patch: add support for git delta hunks phase: properly compute ancestors of --rev on push (issue3786) rebase: abort cleanly when we encounter a damaged rebasestate (issue4155) rebase: do not crash in panic when cwd disapear in the process (issue4121) record: --user/-u now works with record when ui.username not set (issue3857) record: re-enable whitespace-ignoring options relink: abort earlier when on different devices (issue3916) strip: add faster revlog strip computation subrepo: check phase of state in each subrepositories before committing subrepo: make it possible to update to hidden subrepo revisions subsettable: move from repoview to branchmap, the only place it's used templater: selecting a style with no templates does not crash (issue4140) update: consider successor changesets when moving active bookmark url: added authuri when login information is requested (issue3209)
2014-02-03 12:39:49 +01:00
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.9
# see also http://mercurial.selenic.com/wiki/SupportedPythonVersions
# 3.x support is not planned for the near future
#
# the following setup argument was requested when compiling
# for python-3.x
#.include "../../lang/python/pyversion.mk"
#
#.if ("${PYPKGPREFIX}" != "py26") && ("${PYPKGPREFIX}" != "py27")
#PYSETUPARGS+= --c2to3
#.endif
post-install:
Update to mercurial 1.0 and add DESTDIR support. Changes: General: * greatly improved merge tool configuration, see "hgrc.5.txt" for details * improved copy/rename handling in diffs, status, and merge * files in .hg inherit permissions from .hg/store * infer --repository when possible, so commands may be run from anywhere. * easy-installable * new "droplet" logo Commands: * archive: disable ".hg_archival.txt" file addition with "ui.archivemeta" * bisect: now built-in with greatly improved performance and usability * bundle: new --all option to bundle the whole repository more easily. * cat: apply decode filters with --decode * clone: can clone from a full-history bundle * commit: warn when creating a new head * debugancestor: index argument is now optional * diff: set the number of context line to show with -U/--unified * grep: display matched revisions commit date with --date * import: new --no-commit and --user options * incoming/outgoing: add --limit option * log: use -b/--only-branch to show revisions of a single branch * remove: improve handling for --after * revert: major speedup * serve: prefix the served path with --prefix (also in [web] section) * status: unknown files are skipped by --quiet * tag: allow multiple tags to be added or removed * tags: --verbose flags local tags * update: switch between named branches without -C Extensions: * churn: promoted to an official extension (previously in contrib) * color: new extension coloring "status" and "qseries" command outputs * convert: * hgk: configuration file changed from .gitk to .hgk * highlight: new extension enabling syntax highlighting in hgweb file view (requires pygments) * inotify: new extension using Linux 2.6 inotify API for instant status checking * keyword: new extension for filewise RCS-keyword expansion in working directory * mq: new --currentdate, --date, --currentuser, and --user options * record: add "qrecord" command when used with mq Web interface: * improved WSGI integration and compatibility * follow symlinks in hgwebdir collections * show branches in most of gitweb templates * add line anchors to annotate, changeset, diff and file views * support web.baseurl in hgwebdir, overriding SCRIPT_NAME Hooks: * standard hook to reject text files with CRLF in win32text extension * redirect stdout to stderr for ssh and http servers
2008-04-11 01:34:51 +02:00
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mercurial
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux" && empty(OS_VERSION:M2.4.*) && empty(OS_VERSION:M2.2.*)
PLIST_SRC+= ${.CURDIR}/PLIST ${.CURDIR}/PLIST.inotify
.endif
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"