pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51326: new package: archivers/py-czipfile
>Number: 51326
>Category: pkg
>Synopsis: new package: archivers/py-czipfile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jul 08 16:15:00 +0000 2016
>Originator: Kimihiro Nonaka
>Release: HEAD (20160708)
>Organization:
>Environment:
NetBSD koharu.myhome.nonakap.org 7.99.33 NetBSD 7.99.33 (GENERIC) #1: Fri Jul 8 23:09:29 JST 2016 nonaka%build.myhome.nonakap.org@localhost:/home/snapshot/NetBSD/HEAD-20160707/obj.NetBSD-amd64/amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
new pkgsrc package for python czipfile module.
>How-To-Repeat:
>Fix:
extract the following shar archive.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# archivers/py-czipfile/DESCR
# archivers/py-czipfile/Makefile
# archivers/py-czipfile/PLIST
# archivers/py-czipfile/distinfo
# archivers/py-czipfile/patches
# archivers/py-czipfile/patches/patch-setup.py
#
echo x - archivers/py-czipfile/DESCR
sed 's/^X//' >archivers/py-czipfile/DESCR << 'END-of-archivers/py-czipfile/DESCR'
XA replacement for the builtin zipfile module, with fast, C-based zipfile
Xdecryption
X
Xczipfile is a replacement for Python?s builtin ?zipfile? module, and provides
Xmuch faster, C-based zipfile decryption. The code is actually 95% identical to
XPython 2.6.5?s Lib/zipfile.py, with some very minor modifications to allow it
Xto compile in Cython, and the _ZipDecrypter class adapted to take advantage of
Xnative C datatypes.
END-of-archivers/py-czipfile/DESCR
echo x - archivers/py-czipfile/Makefile
sed 's/^X//' >archivers/py-czipfile/Makefile << 'END-of-archivers/py-czipfile/Makefile'
X# $NetBSD$
X
XDISTNAME= czipfile-1.0.0
XPKGNAME= ${PYPKGPREFIX}-${DISTNAME}
XCATEGORIES= archivers python
XMASTER_SITES= ${MASTER_SITE_PYPI:=s/czipfile/}
X
XMAINTAINER= nonakap%gmail.com@localhost
XHOMEPAGE= http://pypi.python.org/pypi/czipfile
XCOMMENT= Replacement for the builtin zipfile module, with fast, C-based zipfile decryption
XLICENSE= python-software-foundation
X
XPYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # for 2.x only
X
X.include "../../lang/python/application.mk"
X.include "../../lang/python/egg.mk"
X.include "../../devel/py-cython/buildlink3.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-archivers/py-czipfile/Makefile
echo x - archivers/py-czipfile/PLIST
sed 's/^X//' >archivers/py-czipfile/PLIST << 'END-of-archivers/py-czipfile/PLIST'
X@comment $NetBSD$
X${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
X${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
X${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
X${PYSITELIB}/${EGG_INFODIR}/top_level.txt
X${PYSITELIB}/czipfile.so
END-of-archivers/py-czipfile/PLIST
echo x - archivers/py-czipfile/distinfo
sed 's/^X//' >archivers/py-czipfile/distinfo << 'END-of-archivers/py-czipfile/distinfo'
X$NetBSD$
X
XSHA1 (czipfile-1.0.0.tar.gz) = 7155b7238c397a7bca130ce986d03613228ca318
XRMD160 (czipfile-1.0.0.tar.gz) = e86710e82c50e85dc86b8489eb042ccce0889d03
XSHA512 (czipfile-1.0.0.tar.gz) = 522e72aaa6b90e51190b0dc7abb2629779c6c24375e526a1347bc5b6a84769b794708ae8bb220801cbd069cbee28a497117c9f52025f60a60b424249004503a1
XSize (czipfile-1.0.0.tar.gz) = 144418 bytes
XSHA1 (patch-setup.py) = 59b5907ef441d4cfa287292afe3f942435494320
END-of-archivers/py-czipfile/distinfo
echo c - archivers/py-czipfile/patches
mkdir -p archivers/py-czipfile/patches > /dev/null 2>&1
echo x - archivers/py-czipfile/patches/patch-setup.py
sed 's/^X//' >archivers/py-czipfile/patches/patch-setup.py << 'END-of-archivers/py-czipfile/patches/patch-setup.py'
X$NetBSD$
X
X--- setup.py.orig 2010-07-28 06:19:12.000000000 +0900
X+++ setup.py 2016-07-07 21:11:32.000000000 +0900
X@@ -2,6 +2,7 @@
X # vim: set expandtab tabstop=4 shiftwidth=4:
X
X import os
X+import setuptools
X from distutils.core import setup
X from distutils.extension import Extension
X
END-of-archivers/py-czipfile/patches/patch-setup.py
exit
Home |
Main Index |
Thread Index |
Old Index