aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2016-08-24 22:00:34 +0800
committerkevlo <kevlo@FreeBSD.org>2016-08-24 22:00:34 +0800
commit0c7e51546b9f6c1b6959917b702ec994ca1e8c11 (patch)
tree7001741064a2f5ec03f2303e4552a791b10671d3 /net
parentd26d9b5052651b69832f1439dcabf4035791f193 (diff)
downloadfreebsd-ports-gnome-0c7e51546b9f6c1b6959917b702ec994ca1e8c11.tar.gz
freebsd-ports-gnome-0c7e51546b9f6c1b6959917b702ec994ca1e8c11.tar.zst
freebsd-ports-gnome-0c7e51546b9f6c1b6959917b702ec994ca1e8c11.zip
Import py-nnpy 1.2
py-nnpy is CFFI-based Python bindings for nanomsg.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/py-nnpy/Makefile20
-rw-r--r--net/py-nnpy/distinfo3
-rw-r--r--net/py-nnpy/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 39ae95e872b1..767fa249abe3 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -981,6 +981,7 @@
SUBDIR += py-netifaces
SUBDIR += py-netlib
SUBDIR += py-netstring
+ SUBDIR += py-nnpy
SUBDIR += py-novaclient
SUBDIR += py-ntplib
SUBDIR += py-oauth
diff --git a/net/py-nnpy/Makefile b/net/py-nnpy/Makefile
new file mode 100644
index 000000000000..499fefc51659
--- /dev/null
+++ b/net/py-nnpy/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= nnpy
+PORTVERSION= 1.2
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kevlo@FreeBSD.org
+COMMENT= cffi-based Python bindings for nanomsg
+
+LICENSE= MIT
+
+LIB_DEPENDS= libnanomsg.so:net/nanomsg
+RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so:devel/py-cffi
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/net/py-nnpy/distinfo b/net/py-nnpy/distinfo
new file mode 100644
index 000000000000..faabfec793ea
--- /dev/null
+++ b/net/py-nnpy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1472030915
+SHA256 (nnpy-1.2.tar.gz) = c7465f72a43f2cc128d9ce6aae32cc112c59a011139e2eb8080c21dfdb229e72
+SIZE (nnpy-1.2.tar.gz) = 4492
diff --git a/net/py-nnpy/pkg-descr b/net/py-nnpy/pkg-descr
new file mode 100644
index 000000000000..474f4b5d37af
--- /dev/null
+++ b/net/py-nnpy/pkg-descr
@@ -0,0 +1,3 @@
+CFFI-based Python bindings for nanomsg.
+
+WWW: https://github.com/nanomsg/nnpy