summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-04-28 19:00:01 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-04-28 19:00:01 +0000
commit04f3e92a74ee2909ccb39804394032b7e0bb8a5d (patch)
tree1d35ec28552f74a34f7ed667b1f3515d6fb46614
parentUpdate vala to 0.40.15. (diff)
New port: net/py-aiocoap -- The Python CoAP library
The aiocoap package is an implementation of CoAP, the Constrained Application Protocol. It is written in Python 3 using its native asyncio methods to facilitate concurrent operations while maintaining an easy to use interface. aiocoap is originally based on txThings. If you want to use CoAP in your existing Twisted application, or can not migrate to Python 3 yet, that is probably more useful to you than aiocoap. WWW: https://github.com/chrysn/aiocoap
Notes
Notes: svn path=/head/; revision=500359
-rw-r--r--net/Makefile1
-rw-r--r--net/py-aiocoap/Makefile18
-rw-r--r--net/py-aiocoap/distinfo3
-rw-r--r--net/py-aiocoap/pkg-descr11
4 files changed, 33 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index c227ec3dfef1..326b3a814c9d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1012,6 +1012,7 @@
SUBDIR += pxe
SUBDIR += pxe-pdhcp
SUBDIR += py-GeoIP2
+ SUBDIR += py-aiocoap
SUBDIR += py-aiohttp-socks
SUBDIR += py-amqp
SUBDIR += py-amqplib
diff --git a/net/py-aiocoap/Makefile b/net/py-aiocoap/Makefile
new file mode 100644
index 000000000000..d3bf214268aa
--- /dev/null
+++ b/net/py-aiocoap/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= aiocoap
+DISTVERSION= 0.3
+CATEGORIES= net
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tcberner@FreeBSD.org
+COMMENT= Python CoAP library
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.5+
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/net/py-aiocoap/distinfo b/net/py-aiocoap/distinfo
new file mode 100644
index 000000000000..c955fe3a1cf7
--- /dev/null
+++ b/net/py-aiocoap/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1556476156
+SHA256 (aiocoap-0.3.tar.gz) = 402d4151db6d8d0b1d66af5b6e10e0de1521decbf12140637e5b8d2aa9c5aef6
+SIZE (aiocoap-0.3.tar.gz) = 78461
diff --git a/net/py-aiocoap/pkg-descr b/net/py-aiocoap/pkg-descr
new file mode 100644
index 000000000000..4fc52c4ea4a6
--- /dev/null
+++ b/net/py-aiocoap/pkg-descr
@@ -0,0 +1,11 @@
+The aiocoap package is an implementation of CoAP, the Constrained Application
+Protocol.
+
+It is written in Python 3 using its native asyncio methods to facilitate
+concurrent operations while maintaining an easy to use interface.
+
+aiocoap is originally based on txThings. If you want to use CoAP in your
+existing Twisted application, or can not migrate to Python 3 yet, that is
+probably more useful to you than aiocoap.
+
+WWW: https://github.com/chrysn/aiocoap