Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2015 21:15:52 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383360 - in head/devel: . py-pymtbl
Message-ID:  <201504052115.t35LFqvl063284@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Sun Apr  5 21:15:52 2015
New Revision: 383360
URL: https://svnweb.freebsd.org/changeset/ports/383360

Log:
  New port: devel/py-pymtbl
  
  pymtbl: Python bindings for the mtbl sorted string table library
  
  pymtbl provides a simple Pythonic wrapper for mtbl's reader, writer,
  sorter, and merger interfaces. The examples/ directory contains
  scripts demonstrating each of these interfaces.
  
  Differential Revision:	https://reviews.freebsd.org/D2220
  Approved by:	mat (mentor)
  Sponsored by:	Farsight Security, Inc.

Added:
  head/devel/py-pymtbl/
  head/devel/py-pymtbl/Makefile   (contents, props changed)
  head/devel/py-pymtbl/distinfo   (contents, props changed)
  head/devel/py-pymtbl/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Apr  5 21:13:50 2015	(r383359)
+++ head/devel/Makefile	Sun Apr  5 21:15:52 2015	(r383360)
@@ -3996,6 +3996,7 @@
     SUBDIR += py-pyke
     SUBDIR += py-pymarc
     SUBDIR += py-pympler
+    SUBDIR += py-pymtbl
     SUBDIR += py-pyparsing15
     SUBDIR += py-pyro
     SUBDIR += py-pyshapelib

Added: head/devel/py-pymtbl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pymtbl/Makefile	Sun Apr  5 21:15:52 2015	(r383360)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	pymtbl
+PORTVERSION=	0.2
+CATEGORIES=	devel python
+MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	truckman@FreeBSD.org
+COMMENT=	Python wrapper for devel/mtbl
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
+LIB_DEPENDS=	libmtbl.so:${PORTSDIR}/devel/mtbl
+
+USE_PYTHON=	distutils autoplist
+USES=		python shebangfix uniquefiles:dirs
+
+python_CMD=	${PYTHON_CMD}
+python_OLD_CMD=	/usr/bin/env python
+SHEBANG_FILES=	examples/*.py examples/*/*.py
+
+PORTEXAMPLES=	*
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/mtbl.so
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
+.include <bsd.port.mk>

Added: head/devel/py-pymtbl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pymtbl/distinfo	Sun Apr  5 21:15:52 2015	(r383360)
@@ -0,0 +1,2 @@
+SHA256 (pymtbl-0.2.tar.gz) = 36edd559f34a8f55f3d4843c380fa58db711e40ad18f148f495386e6323e6857
+SIZE (pymtbl-0.2.tar.gz) = 59916

Added: head/devel/py-pymtbl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pymtbl/pkg-descr	Sun Apr  5 21:15:52 2015	(r383360)
@@ -0,0 +1,8 @@
+pymtbl: Python bindings for the mtbl sorted string table library
+
+pymtbl provides a simple Pythonic wrapper for mtbl's reader, writer,
+sorter, and merger interfaces. The examples/ directory contains
+scripts demonstrating each of these interfaces. The following
+transcript shows the basic reader and writer interfaces:
+
+WWW: https://github.com/farsightsec/pymtbl



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