1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Resurrect devel/py-pymtbl and upgrade to version 0.5.0, which is

compatible with python 3.

MFH:		2021Q1
Sponsored by:	Farsight Security, Inc.
This commit is contained in:
Don Lewis 2021-01-31 07:43:38 +00:00
parent 4ffb972d27
commit c4c3c05f9d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563477
5 changed files with 46 additions and 1 deletions

1
MOVED
View File

@ -15212,7 +15212,6 @@ devel/py-protocols||2020-08-15|Has expired: Uses deprecated version of python
devel/py-ptrace||2020-08-15|Has expired: Uses deprecated version of python
devel/py-pydoop||2020-08-15|Has expired: Uses deprecated version of python
devel/py-pyke||2020-08-15|Has expired: Uses deprecated version of python
devel/py-pymtbl||2020-08-15|Has expired: Uses deprecated version of python
devel/py-pyshapelib||2020-08-15|Has expired: Uses deprecated version of python
devel/py-pytemplate||2020-08-15|Has expired: Uses deprecated version of python
devel/py-python2-pythondialog||2020-08-15|Has expired: Uses deprecated version of python

View File

@ -4881,6 +4881,7 @@
SUBDIR += py-pymaven-patch
SUBDIR += py-pymisp
SUBDIR += py-pympler
SUBDIR += py-pymtbl
SUBDIR += py-pynest2d
SUBDIR += py-pyopencl
SUBDIR += py-pyparsing

34
devel/py-pymtbl/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= pymtbl
PORTVERSION= 0.5.0
#PORTREVISION= 1
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:devel/mtbl
USES= pkgconfig python shebangfix uniquefiles:dirs
USE_PYTHON= autoplist cython distutils
SHEBANG_FILES= examples/*.py examples/*/*.py
PORTEXAMPLES= *
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= EXAMPLES
post-install:
${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/mtbl.so
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>

3
devel/py-pymtbl/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1612041602
SHA256 (pymtbl-0.5.0.tar.gz) = 99d3c87a15a0c7efd69287e861218186ba0617788043873dd73e5bb5db8fefec
SIZE (pymtbl-0.5.0.tar.gz) = 14046

View File

@ -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