FreeBSD Bugzilla – Attachment 158483 Details for
Bug 201396
[NEW PORT] databases/py-pysqlcipher: Python bindings for SQLCipher from https://leap.se
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Updated shar
py-pysqlcipher.shar (text/plain), 3.81 KB, created by
Yuri Victorovich
on 2015-07-07 08:53:06 UTC
(
hide
)
Description:
Updated shar
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2015-07-07 08:53:06 UTC
Size:
3.81 KB
patch
obsolete
># 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: ># ># databases/py-pysqlcipher ># databases/py-pysqlcipher/Makefile ># databases/py-pysqlcipher/pkg-descr ># databases/py-pysqlcipher/distinfo ># databases/py-pysqlcipher/files ># databases/py-pysqlcipher/files/patch-setup.py ># >echo c - databases/py-pysqlcipher >mkdir -p databases/py-pysqlcipher > /dev/null 2>&1 >echo x - databases/py-pysqlcipher/Makefile >sed 's/^X//' >databases/py-pysqlcipher/Makefile << 'f972d92e8841f821c7e3ff8547707539' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= pysqlcipher >XPORTVERSION= 2.6.4 >XCATEGORIES= databases python >XMASTER_SITES= GH:source >XMASTER_SITES+= https://downloads.leap.se/libs/pysqlcipher/:amalgamation >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >XDISTFILES= ${DISTNAME}.tar.gz:source >XDISTFILES+= amalgamation-sqlcipher-2.1.0.zip:amalgamation >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Python bindings for SQLCipher from https://leap.se >X >XLICENSE= TOU >XLICENSE_NAME= TOU >XLICENSE_FILE= ${WRKSRC}/LICENSE >XLICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} >X >XUSE_GITHUB= yes >XGH_ACCOUNT= leapcode >X >XUSES= python >XUSE_OPENSSL= yes >XUSE_PYTHON= autoplist distutils >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|zipfile.ZipFile("tmp.zip")|zipfile.ZipFile("${DISTDIR}/amalgamation-sqlcipher-2.1.0.zip")|g' \ >X ${BUILD_WRKSRC}/setup.py >Xpost-install: >X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*/site-packages/pysqlcipher/_sqlite.so >X >X.include <bsd.port.mk> >f972d92e8841f821c7e3ff8547707539 >echo x - databases/py-pysqlcipher/pkg-descr >sed 's/^X//' >databases/py-pysqlcipher/pkg-descr << '7dfcce2c44d3b18714e24bbaf3758410' >Xpysqlcipher is the fork of pysqlite adding encryption layer underneath it. >X >XWWW: https://github.com/leapcode/pysqlcipher >7dfcce2c44d3b18714e24bbaf3758410 >echo x - databases/py-pysqlcipher/distinfo >sed 's/^X//' >databases/py-pysqlcipher/distinfo << '21b00d5128bdac5ba0e854febe1181cb' >XSHA256 (leapcode-pysqlcipher-2.6.4_GH0.tar.gz) = 14fd616edc1ff6d09a7037378513e9f175c224bf0cc81a0cd7f9d73dfc1ea362 >XSIZE (leapcode-pysqlcipher-2.6.4_GH0.tar.gz) = 70963 >XSHA256 (amalgamation-sqlcipher-2.1.0.zip) = d479f166d6f8b07db75fbb8562350d608aed613a633d521f15bc137b26d62bcd >XSIZE (amalgamation-sqlcipher-2.1.0.zip) = 1370590 >21b00d5128bdac5ba0e854febe1181cb >echo c - databases/py-pysqlcipher/files >mkdir -p databases/py-pysqlcipher/files > /dev/null 2>&1 >echo x - databases/py-pysqlcipher/files/patch-setup.py >sed 's/^X//' >databases/py-pysqlcipher/files/patch-setup.py << 'af30ce24ab4e1856b2eb8d938d488176' >X--- setup.py.orig 2014-11-12 16:41:19 UTC >X+++ setup.py >X@@ -114,14 +114,14 @@ def get_amalgamation(): >X if os.path.exists(AMALGAMATION_ROOT): >X return >X os.mkdir(AMALGAMATION_ROOT) >X- print "Downloading amalgation." >X+ #print "Downloading amalgation." >X >X- amalgamation_url = ("https://downloads.leap.se/libs/pysqlcipher/" >X- "amalgamation-sqlcipher-2.1.0.zip") >X+ #amalgamation_url = ("https://downloads.leap.se/libs/pysqlcipher/" >X+ # "amalgamation-sqlcipher-2.1.0.zip") >X >X- # and download it >X- print 'amalgamation url: %s' % (amalgamation_url,) >X- urllib.urlretrieve(amalgamation_url, "tmp.zip") >X+ ## and download it >X+ #print 'amalgamation url: %s' % (amalgamation_url,) >X+ #urllib.urlretrieve(amalgamation_url, "tmp.zip") >X >X zf = zipfile.ZipFile("tmp.zip") >X files = ["sqlite3.c", "sqlite3.h"] >X@@ -133,7 +133,7 @@ def get_amalgamation(): >X outf.write(zf.read(directory + fn)) >X outf.close() >X zf.close() >X- os.unlink("tmp.zip") >X+ #os.unlink("tmp.zip") >X >X >X class AmalgamationBuilder(build): >af30ce24ab4e1856b2eb8d938d488176 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201396
:
158481
|
158482
|
158483
|
158489
|
158740