1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Resurrect net/py-pynmsg and upgrade to version 0.5.0, which is compatible

with python 3.

Pet portlint.

MFH:		2021Q1
Sponsored by:	Farsight Security, Inc.
This commit is contained in:
Don Lewis 2021-01-31 18:32:43 +00:00
parent d2a2200fb0
commit 82b7b94bef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563508
5 changed files with 42 additions and 1 deletions

1
MOVED
View File

@ -15264,7 +15264,6 @@ multimedia/py-flvlib||2020-08-15|Has expired: Uses deprecated version of python
net/py-gspreadsheet||2020-08-15|Has expired: Uses deprecated version of python
net/py-libnet||2020-08-15|Has expired: Uses deprecated version of python
net/py-netlib||2020-08-15|Has expired: Uses deprecated version of python
net/py-pynmsg||2020-08-15|Has expired: Uses deprecated version of python
net/py-rainbowstream||2020-08-15|Has expired: Uses deprecated version of python
net/py-wolframalpha||2020-08-15|Has expired: Uses deprecated version of python
net-im/empathy||2020-08-15|Has expired: Uses deprecated version of python

View File

@ -1054,6 +1054,7 @@
SUBDIR += py-pygeoip
SUBDIR += py-pyicap
SUBDIR += py-pynamecheap
SUBDIR += py-pynmsg
SUBDIR += py-pynsq
SUBDIR += py-pypcap
SUBDIR += py-pyroute2

33
net/py-pynmsg/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $FreeBSD$
PORTNAME= pynmsg
PORTVERSION= 0.5.0
CATEGORIES= net python
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= truckman@FreeBSD.org
COMMENT= Python wrapper for net/nmsg
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libnmsg.so:net/nmsg
USES= pkgconfig python shebangfix uniquefiles:dirs
USE_PYTHON= autoplist cython distutils
SHEBANG_FILES= examples/*.py
PORTEXAMPLES= *
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= EXAMPLES
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nmsg.so
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>

3
net/py-pynmsg/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1612050823
SHA256 (pynmsg-0.5.0.tar.gz) = 03727e80b7b268712a8ec482ff607fdb4f6164b504a91a12a1610b9c0194edf9
SIZE (pynmsg-0.5.0.tar.gz) = 140852

5
net/py-pynmsg/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
This is pynmsg, a Python extension module implemented in Cython for
the nmsg C library.
WWW: https://github.com/farsightsec/pynmsg