pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/py-czipfile



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.

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@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"
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
+ 



Home | Main Index | Thread Index | Old Index