diff options
author | joerg <joerg@pkgsrc.org> | 2017-07-22 16:16:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-07-22 16:16:25 +0000 |
commit | 9e7ebb366f25604594ef39ddcb170a1d532d68cb (patch) | |
tree | 00d491a87a370f8bbec483c5b993a7e525ce8dc3 | |
parent | 8ea5412b53616092bbb0aacc93b41d2a1bd7d67b (diff) | |
download | pkgsrc-9e7ebb366f25604594ef39ddcb170a1d532d68cb.tar.gz |
Update to py27-hg-fastimport-20170211 to work with newer Mercurial.
Include a small hack to ignore deleteall as used by Fossil.
-rw-r--r-- | devel/py-hg-fastimport/Makefile | 12 | ||||
-rw-r--r-- | devel/py-hg-fastimport/PLIST | 5 | ||||
-rw-r--r-- | devel/py-hg-fastimport/distinfo | 11 | ||||
-rw-r--r-- | devel/py-hg-fastimport/patches/patch-hgfastimport_hgimport.py | 11 |
4 files changed, 27 insertions, 12 deletions
diff --git a/devel/py-hg-fastimport/Makefile b/devel/py-hg-fastimport/Makefile index 9e20a9a1bfd..510a15e8180 100644 --- a/devel/py-hg-fastimport/Makefile +++ b/devel/py-hg-fastimport/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2017/01/01 14:43:33 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2017/07/22 16:16:25 joerg Exp $ -DISTNAME= v20150518 -PKGNAME= ${PYPKGPREFIX}-hg-fastimport-${DISTNAME:S/v//} +DISTNAME= danielj7-hg-fastimport-d41a42894dfa +PKGNAME= ${PYPKGPREFIX}-hg-fastimport-20170211 CATEGORIES= devel -MASTER_SITES= https://bitbucket.org/danielj7/hg-fastimport/get/ +MASTER_SITES= -https://bitbucket.org/danielj7/hg-fastimport/get/v20170211.tar.bz2 EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org @@ -14,7 +14,6 @@ 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 @@ -25,8 +24,9 @@ PY_PATCHPLIST= yes do-build: do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/hgfastimport/* ${DESTDIR}${PREFIX}/${PYSITELIB}/hgfastimport + ${INSTALL_SCRIPT} ${WRKSRC}/hgfastimport/*.py ${DESTDIR}${PREFIX}/${PYSITELIB}/hgfastimport ${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/py-hg-fastimport + ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/${PYSITELIB}/hgfastimport .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-hg-fastimport/PLIST b/devel/py-hg-fastimport/PLIST index 97e26803acd..0535b7ec383 100644 --- a/devel/py-hg-fastimport/PLIST +++ b/devel/py-hg-fastimport/PLIST @@ -1,5 +1,8 @@ -@comment $NetBSD: PLIST,v 1.1 2015/06/07 08:19:36 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2017/07/22 16:16:25 joerg Exp $ ${PYSITELIB}/hgfastimport/__init__.py +${PYSITELIB}/hgfastimport/__init__.pyc ${PYSITELIB}/hgfastimport/hgechoprocessor.py +${PYSITELIB}/hgfastimport/hgechoprocessor.pyc ${PYSITELIB}/hgfastimport/hgimport.py +${PYSITELIB}/hgfastimport/hgimport.pyc share/doc/py-hg-fastimport/README.txt diff --git a/devel/py-hg-fastimport/distinfo b/devel/py-hg-fastimport/distinfo index 39e3eef91ca..873820cc987 100644 --- a/devel/py-hg-fastimport/distinfo +++ b/devel/py-hg-fastimport/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/03 03:29:08 agc Exp $ +$NetBSD: distinfo,v 1.3 2017/07/22 16:16:25 joerg Exp $ -SHA1 (v20150518.tar.bz2) = 619e0d70ac848c6ab48e39e3ce50fec0a913fef5 -RMD160 (v20150518.tar.bz2) = 44f4725fb35382357a2af188d517e167cfbac74d -SHA512 (v20150518.tar.bz2) = 9f0a9af3cc11de0b2e80b6d4e7f0fd1320aafaa84dd41c846fa127b17e08616b95d3715edeea95157b7e4d6fd2dfa0fe08d4a58fcb117f9e7d55ad97493dd60f -Size (v20150518.tar.bz2) = 30558 bytes +SHA1 (danielj7-hg-fastimport-d41a42894dfa.tar.bz2) = 8820358107c9de776d6250052a3f15ecccfbcd44 +RMD160 (danielj7-hg-fastimport-d41a42894dfa.tar.bz2) = c6d0f6654509632f3b8266f7a4da519ff6789542 +SHA512 (danielj7-hg-fastimport-d41a42894dfa.tar.bz2) = fc207c90721dc5f32d477bfbd5c4d7634f9a16c28d6e21254bbd942cd4ad7053dbcfd3f0fed91ee797759203f4196985d5bc3132618c58331c06a8fa764124b3 +Size (danielj7-hg-fastimport-d41a42894dfa.tar.bz2) = 30701 bytes +SHA1 (patch-hgfastimport_hgimport.py) = 42eb4f8e637cf24e52f3cabf6f499ebab9803fa7 diff --git a/devel/py-hg-fastimport/patches/patch-hgfastimport_hgimport.py b/devel/py-hg-fastimport/patches/patch-hgfastimport_hgimport.py new file mode 100644 index 00000000000..b1a1fc472d6 --- /dev/null +++ b/devel/py-hg-fastimport/patches/patch-hgfastimport_hgimport.py @@ -0,0 +1,11 @@ +$NetBSD: patch-hgfastimport_hgimport.py,v 1.1 2017/07/22 16:16:25 joerg Exp $ + +--- hgfastimport/hgimport.py.orig 2017-07-22 14:10:21.608040482 +0000 ++++ hgfastimport/hgimport.py +@@ -449,3 +452,6 @@ class HgImportCommitHandler(processor.Co + # copy oldname to newname and delete oldname + self.copies[filecmd.new_path] = filecmd.old_path + self.modified.append((filecmd.old_path, None)) ++ ++ def deleteall_handler(self, filecmd): ++ pass # Drop it for now, used by fossil when no parent exists. |