svn commit: r374656 - in head/security: . py-pydeep
Antoine Brodin
antoine at FreeBSD.org
Sat Dec 13 13:26:28 UTC 2014
Author: antoine
Date: Sat Dec 13 13:26:25 2014
New Revision: 374656
URL: https://svnweb.freebsd.org/changeset/ports/374656
QAT: https://qat.redports.org/buildarchive/r374656/
Log:
New port: security/py-pydeep
Python bindings for ssdeep
WWW: https://github.com/kbandla/pydeep
PR: ports/195640
Added:
head/security/py-pydeep/
head/security/py-pydeep/Makefile (contents, props changed)
head/security/py-pydeep/distinfo (contents, props changed)
head/security/py-pydeep/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Sat Dec 13 13:08:53 2014 (r374655)
+++ head/security/Makefile Sat Dec 13 13:26:25 2014 (r374656)
@@ -801,6 +801,7 @@
SUBDIR += py-pyclamd
SUBDIR += py-pycrypto
SUBDIR += py-pycryptopp
+ SUBDIR += py-pydeep
SUBDIR += py-pylibacl
SUBDIR += py-pyme
SUBDIR += py-pyptlib
Added: head/security/py-pydeep/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-pydeep/Makefile Sat Dec 13 13:26:25 2014 (r374656)
@@ -0,0 +1,29 @@
+# Created by: Antoine Brodin <antoine at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pydeep
+PORTVERSION= 0.2
+CATEGORIES= security devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= antoine at FreeBSD.org
+COMMENT= Python bindings for ssdeep
+
+LICENSE= BSD3CLAUSE
+
+LIB_DEPENDS= libfuzzy.so:${PORTSDIR}/security/ssdeep
+
+USES= python:2
+USE_PYTHON= distutils autoplist
+
+post-patch:
+ ${REINPLACE_CMD} 's|libraries = \["fuzzy"],|libraries = ["fuzzy"], \
+ include_dirs = ["${LOCALBASE}/include"], \
+ library_dirs = ["${LOCALBASE}/lib"],|' \
+ ${WRKSRC}/setup.py
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pydeep.so
+
+.include <bsd.port.mk>
Added: head/security/py-pydeep/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-pydeep/distinfo Sat Dec 13 13:26:25 2014 (r374656)
@@ -0,0 +1,2 @@
+SHA256 (pydeep-0.2.tar.gz) = 5caee269f9b38317036cf29877c5229013e422e1086b45b7c720a128c10b14f0
+SIZE (pydeep-0.2.tar.gz) = 1645
Added: head/security/py-pydeep/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-pydeep/pkg-descr Sat Dec 13 13:26:25 2014 (r374656)
@@ -0,0 +1,3 @@
+Python bindings for ssdeep
+
+WWW: https://github.com/kbandla/pydeep
More information about the svn-ports-all
mailing list