pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/py-czipfile Import py27-czipfile-1.0.0 as ar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc61046e448a
branches:  trunk
changeset: 349536:dc61046e448a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jul 09 21:13:02 2016 +0000

description:
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.)

diffstat:

 archivers/py-czipfile/DESCR                  |   8 ++++++++
 archivers/py-czipfile/Makefile               |  17 +++++++++++++++++
 archivers/py-czipfile/PLIST                  |   6 ++++++
 archivers/py-czipfile/distinfo               |   7 +++++++
 archivers/py-czipfile/patches/patch-setup.py |  14 ++++++++++++++
 5 files changed, 52 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r f55c2a5b0929 -r dc61046e448a archivers/py-czipfile/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-czipfile/DESCR       Sat Jul 09 21:13:02 2016 +0000
@@ -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.
diff -r f55c2a5b0929 -r dc61046e448a archivers/py-czipfile/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-czipfile/Makefile    Sat Jul 09 21:13:02 2016 +0000
@@ -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@localhost
+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"
diff -r f55c2a5b0929 -r dc61046e448a archivers/py-czipfile/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-czipfile/PLIST       Sat Jul 09 21:13:02 2016 +0000
@@ -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
diff -r f55c2a5b0929 -r dc61046e448a archivers/py-czipfile/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-czipfile/distinfo    Sat Jul 09 21:13:02 2016 +0000
@@ -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
diff -r f55c2a5b0929 -r dc61046e448a archivers/py-czipfile/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-czipfile/patches/patch-setup.py      Sat Jul 09 21:13:02 2016 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index