pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-hg-fastimport Import py27-hg-fastimport-20150...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f71c667abb7c
branches:  trunk
changeset: 652699:f71c667abb7c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 07 08:19:36 2015 +0000

description:
Import py27-hg-fastimport-20150518 as devel/py-hg-fastimport.

The "fast import" format originates with Git, where it is used as
the generic backend for converting other SCM repositories to git.
It's generic enough that it can be used to feed a Mercurial repository
as well, and that's what this extension does: read a "fast import"
stream and turn it into changesets in a Mercurial repository. The
potential of this extension is that any foreign SCM that can be
converted to Git can also be converted to Mercurial, regardless of
the capabilities of Mercurial's own ConvertExtension. The catch is
that the conversion is a little cumbersome: first convert to a
fast-import dump, then feed that dump to Mercurial.

diffstat:

 devel/py-hg-fastimport/DESCR    |  10 ++++++++++
 devel/py-hg-fastimport/Makefile |  32 ++++++++++++++++++++++++++++++++
 devel/py-hg-fastimport/PLIST    |   5 +++++
 devel/py-hg-fastimport/distinfo |   5 +++++
 4 files changed, 52 insertions(+), 0 deletions(-)

diffs (68 lines):

diff -r 5683f1cdd775 -r f71c667abb7c devel/py-hg-fastimport/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hg-fastimport/DESCR      Sun Jun 07 08:19:36 2015 +0000
@@ -0,0 +1,10 @@
+The "fast import" format originates with Git, where it is used as
+the generic backend for converting other SCM repositories to git.
+It's generic enough that it can be used to feed a Mercurial repository
+as well, and that's what this extension does: read a "fast import"
+stream and turn it into changesets in a Mercurial repository. The
+potential of this extension is that any foreign SCM that can be
+converted to Git can also be converted to Mercurial, regardless of
+the capabilities of Mercurial's own ConvertExtension. The catch is
+that the conversion is a little cumbersome: first convert to a
+fast-import dump, then feed that dump to Mercurial.
diff -r 5683f1cdd775 -r f71c667abb7c devel/py-hg-fastimport/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hg-fastimport/Makefile   Sun Jun 07 08:19:36 2015 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2015/06/07 08:19:36 wiz Exp $
+
+DISTNAME=      v20150518
+PKGNAME=       ${PYPKGPREFIX}-hg-fastimport-${DISTNAME:S/v//}
+CATEGORIES=    devel
+MASTER_SITES=  https://bitbucket.org/danielj7/hg-fastimport/get/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://mercurial.selenic.com/wiki/FastImportExtension
+COMMENT=       Mercurial extension for importing from a git fast-import stream
+LICENSE=       gnu-gpl-v2
+
+DEPENDS+=      ${PYPKGPREFIX}-fastimport-[0-9]*:../../devel/py-fastimport
+DEPENDS+=      ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
+
+WRKSRC=                ${WRKDIR}/danielj7-hg-fastimport-b947b2283dc8
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS+=    ${PYSITELIB}/hgfastimport share/doc/py-hg-fastimport
+
+PYTHON_VERSIONS_INCOMPATIBLE=  33 34 # py-mercurial
+PY_PATCHPLIST=                 yes
+
+do-build:
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/hgfastimport/* ${DESTDIR}${PREFIX}/${PYSITELIB}/hgfastimport
+       ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/py-hg-fastimport
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5683f1cdd775 -r f71c667abb7c devel/py-hg-fastimport/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hg-fastimport/PLIST      Sun Jun 07 08:19:36 2015 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2015/06/07 08:19:36 wiz Exp $
+${PYSITELIB}/hgfastimport/__init__.py
+${PYSITELIB}/hgfastimport/hgechoprocessor.py
+${PYSITELIB}/hgfastimport/hgimport.py
+share/doc/py-hg-fastimport/README.txt
diff -r 5683f1cdd775 -r f71c667abb7c devel/py-hg-fastimport/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hg-fastimport/distinfo   Sun Jun 07 08:19:36 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/06/07 08:19:36 wiz Exp $
+
+SHA1 (v20150518.tar.bz2) = 619e0d70ac848c6ab48e39e3ce50fec0a913fef5
+RMD160 (v20150518.tar.bz2) = 44f4725fb35382357a2af188d517e167cfbac74d
+Size (v20150518.tar.bz2) = 30558 bytes



Home | Main Index | Thread Index | Old Index