pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-pydeep Import py27-pydeep-0.2 as security/...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4bbb001c81b1
branches: trunk
changeset: 635238:4bbb001c81b1
user: rodent <rodent%pkgsrc.org@localhost>
date: Mon Jun 02 00:00:15 2014 +0000
description:
Import py27-pydeep-0.2 as security/py-pydeep.
Python/C bindings for the ssdeep library at http://ssdeep.sourceforge.net:
* hash_buf / hash_bytes - returns the ssdeep hash for a given buffer
* hash_file - returns the ssdeep hash for filepath
* compare - returns the % match between 2 hashes
import pydeep
pydeep.hash_buf('somedata')
pydeep.hash_file('path-to-file')
pydeep.compare('hash1','hash2')
diffstat:
security/py-pydeep/DESCR | 10 ++++++++++
security/py-pydeep/Makefile | 15 +++++++++++++++
security/py-pydeep/PLIST | 3 +++
security/py-pydeep/distinfo | 5 +++++
4 files changed, 33 insertions(+), 0 deletions(-)
diffs (49 lines):
diff -r 54fb321462b8 -r 4bbb001c81b1 security/py-pydeep/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-pydeep/DESCR Mon Jun 02 00:00:15 2014 +0000
@@ -0,0 +1,10 @@
+Python/C bindings for the ssdeep library at http://ssdeep.sourceforge.net:
+
+ * hash_buf / hash_bytes - returns the ssdeep hash for a given buffer
+ * hash_file - returns the ssdeep hash for filepath
+ * compare - returns the % match between 2 hashes
+
+import pydeep
+pydeep.hash_buf('somedata')
+pydeep.hash_file('path-to-file')
+pydeep.compare('hash1','hash2')
diff -r 54fb321462b8 -r 4bbb001c81b1 security/py-pydeep/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-pydeep/Makefile Mon Jun 02 00:00:15 2014 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2014/06/02 00:00:15 rodent Exp $
+
+DISTNAME= pydeep-0.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python security
+MASTER_SITES= https://pypi.python.org/packages/source/p/pydeep/
+
+MAINTAINER= rodent%NetBSD.org@localhost
+HOMEPAGE= http://www.github.com/kbandla/pydeep
+COMMENT= Python bindings for ssdeep
+LICENSE= modified-bsd
+
+.include "../../security/ssdeep/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 54fb321462b8 -r 4bbb001c81b1 security/py-pydeep/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-pydeep/PLIST Mon Jun 02 00:00:15 2014 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/06/02 00:00:15 rodent Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/pydeep.so
diff -r 54fb321462b8 -r 4bbb001c81b1 security/py-pydeep/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-pydeep/distinfo Mon Jun 02 00:00:15 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/06/02 00:00:15 rodent Exp $
+
+SHA1 (pydeep-0.2.tar.gz) = 948a0dd5f8e3894ee8c11a6fd7b710a4b7542def
+RMD160 (pydeep-0.2.tar.gz) = 4b232bc55d9da0a0883a50ac9e260b35672baebd
+Size (pydeep-0.2.tar.gz) = 1645 bytes
Home |
Main Index |
Thread Index |
Old Index