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 Update to py27-hg-fastimport-20...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62519efe01ec
branches:  trunk
changeset: 365650:62519efe01ec
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jul 22 16:16:25 2017 +0000

description:
Update to py27-hg-fastimport-20170211 to work with newer Mercurial.
Include a small hack to ignore deleteall as used by Fossil.

diffstat:

 devel/py-hg-fastimport/Makefile                               |  12 +++++-----
 devel/py-hg-fastimport/PLIST                                  |   5 +++-
 devel/py-hg-fastimport/distinfo                               |  11 +++++----
 devel/py-hg-fastimport/patches/patch-hgfastimport_hgimport.py |  11 ++++++++++
 4 files changed, 27 insertions(+), 12 deletions(-)

diffs (80 lines):

diff -r 89c52da60da1 -r 62519efe01ec devel/py-hg-fastimport/Makefile
--- a/devel/py-hg-fastimport/Makefile   Sat Jul 22 15:13:41 2017 +0000
+++ b/devel/py-hg-fastimport/Makefile   Sat Jul 22 16:16:25 2017 +0000
@@ -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@localhost
@@ -14,7 +14,6 @@
 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 @@
 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 -r 89c52da60da1 -r 62519efe01ec devel/py-hg-fastimport/PLIST
--- a/devel/py-hg-fastimport/PLIST      Sat Jul 22 15:13:41 2017 +0000
+++ b/devel/py-hg-fastimport/PLIST      Sat Jul 22 16:16:25 2017 +0000
@@ -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 -r 89c52da60da1 -r 62519efe01ec devel/py-hg-fastimport/distinfo
--- a/devel/py-hg-fastimport/distinfo   Sat Jul 22 15:13:41 2017 +0000
+++ b/devel/py-hg-fastimport/distinfo   Sat Jul 22 16:16:25 2017 +0000
@@ -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 -r 89c52da60da1 -r 62519efe01ec devel/py-hg-fastimport/patches/patch-hgfastimport_hgimport.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hg-fastimport/patches/patch-hgfastimport_hgimport.py     Sat Jul 22 16:16:25 2017 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index