Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 2C2A67A469 for ; Sat, 9 Jul 2016 21:13:04 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id D5EA085EC5; Sat, 9 Jul 2016 21:13:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6608F85E92 for ; Sat, 9 Jul 2016 21:13:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id xhCtSQFedZJ3 for ; Sat, 9 Jul 2016 21:13:02 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CB08C84CF0 for ; Sat, 9 Jul 2016 21:13:02 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C55EAFBB5; Sat, 9 Jul 2016 21:13:02 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1468098782278260" MIME-Version: 1.0 Date: Sat, 9 Jul 2016 21:13:02 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/archivers/py-czipfile To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20160709211302.C55EAFBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1468098782278260 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sat Jul 9 21:13:02 UTC 2016 Added Files: pkgsrc/archivers/py-czipfile: DESCR Makefile PLIST distinfo pkgsrc/archivers/py-czipfile/patches: patch-setup.py Log Message: Import py27-czipfile-1.0.0 as archivers/py-czipfile. A replacement for the builtin zipfile module, with fast, C-based zipfile decryption czipfile is a replacement for Python's builtin "zipfile" module, and provides much faster, C-based zipfile decryption. The code is actually 95% identical to Python 2.6.5's Lib/zipfile.py, with some very minor modifications to allow it to compile in Cython, and the _ZipDecrypter class adapted to take advantage of native C datatypes. Package provided by Kimihiro Nonaka in PR 51326, with some cleanups by myself. (Fix typo in MASTER_SITES, pkglint.) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/py-czipfile/DESCR \ pkgsrc/archivers/py-czipfile/Makefile pkgsrc/archivers/py-czipfile/PLIST \ pkgsrc/archivers/py-czipfile/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/py-czipfile/patches/patch-setup.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1468098782278260 Content-Disposition: inline Content-Length: 3316 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/archivers/py-czipfile/DESCR diff -u /dev/null pkgsrc/archivers/py-czipfile/DESCR:1.1 --- /dev/null Sat Jul 9 21:13:02 2016 +++ pkgsrc/archivers/py-czipfile/DESCR Sat Jul 9 21:13:02 2016 @@ -0,0 +1,8 @@ +A replacement for the builtin zipfile module, with fast, C-based zipfile +decryption + +czipfile is a replacement for Python's builtin "zipfile" module, and provides +much faster, C-based zipfile decryption. The code is actually 95% identical to +Python 2.6.5's Lib/zipfile.py, with some very minor modifications to allow it +to compile in Cython, and the _ZipDecrypter class adapted to take advantage of +native C datatypes. Index: pkgsrc/archivers/py-czipfile/Makefile diff -u /dev/null pkgsrc/archivers/py-czipfile/Makefile:1.1 --- /dev/null Sat Jul 9 21:13:02 2016 +++ pkgsrc/archivers/py-czipfile/Makefile Sat Jul 9 21:13:02 2016 @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2016/07/09 21:13:02 wiz Exp $ + +DISTNAME= czipfile-1.0.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= archivers python +MASTER_SITES= ${MASTER_SITE_PYPI:=c/czipfile/} + +MAINTAINER= nonakap@gmail.com +HOMEPAGE= http://pypi.python.org/pypi/czipfile +COMMENT= Replacement for builtin zipfile, with fast, C-based zipfile decryption +LICENSE= python-software-foundation + +PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # for 2.x only + +.include "../../lang/python/egg.mk" +.include "../../devel/py-cython/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/archivers/py-czipfile/PLIST diff -u /dev/null pkgsrc/archivers/py-czipfile/PLIST:1.1 --- /dev/null Sat Jul 9 21:13:02 2016 +++ pkgsrc/archivers/py-czipfile/PLIST Sat Jul 9 21:13:02 2016 @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2016/07/09 21:13:02 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/czipfile.so Index: pkgsrc/archivers/py-czipfile/distinfo diff -u /dev/null pkgsrc/archivers/py-czipfile/distinfo:1.1 --- /dev/null Sat Jul 9 21:13:02 2016 +++ pkgsrc/archivers/py-czipfile/distinfo Sat Jul 9 21:13:02 2016 @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2016/07/09 21:13:02 wiz Exp $ + +SHA1 (czipfile-1.0.0.tar.gz) = 7155b7238c397a7bca130ce986d03613228ca318 +RMD160 (czipfile-1.0.0.tar.gz) = e86710e82c50e85dc86b8489eb042ccce0889d03 +SHA512 (czipfile-1.0.0.tar.gz) = 522e72aaa6b90e51190b0dc7abb2629779c6c24375e526a1347bc5b6a84769b794708ae8bb220801cbd069cbee28a497117c9f52025f60a60b424249004503a1 +Size (czipfile-1.0.0.tar.gz) = 144418 bytes +SHA1 (patch-setup.py) = 4064bad441316e88ec6dcbe97371c1b18d5a86e8 Index: pkgsrc/archivers/py-czipfile/patches/patch-setup.py diff -u /dev/null pkgsrc/archivers/py-czipfile/patches/patch-setup.py:1.1 --- /dev/null Sat Jul 9 21:13:02 2016 +++ pkgsrc/archivers/py-czipfile/patches/patch-setup.py Sat Jul 9 21:13:02 2016 @@ -0,0 +1,14 @@ +$NetBSD: patch-setup.py,v 1.1 2016/07/09 21:13:02 wiz Exp $ + +Use setuptools for packaging to create nice eggs. + +--- setup.py.orig 2010-07-28 06:19:12.000000000 +0900 ++++ setup.py 2016-07-07 21:11:32.000000000 +0900 +@@ -2,6 +2,7 @@ + # vim: set expandtab tabstop=4 shiftwidth=4: + + import os ++import setuptools + from distutils.core import setup + from distutils.extension import Extension + --_----------=_1468098782278260--