Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2014 13:26:26 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374656 - in head/security: . py-pydeep
Message-ID:  <201412131326.sBDDQQQi068058@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	pydeep
+PORTVERSION=	0.2
+CATEGORIES=	security devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	antoine@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412131326.sBDDQQQi068058>