Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2019 19:03:15 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500361 - in head/net: . py-pytradfri
Message-ID:  <201904281903.x3SJ3FKg002831@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Apr 28 19:03:15 2019
New Revision: 500361
URL: https://svnweb.freebsd.org/changeset/ports/500361

Log:
  New port: net/py-pytradfri -- Control and observe your lights from Python
  
  Python package to communicate with the IKEA Tradfri ZigBee Gateway compatible
  with ZigBee Light Link products. By using this library you can communicate with
  the gateway and control IKEA's lights and wall plugs.
  
  Some of the features include:
  
   * Get information on the gateway
   * Observe lights, groups and other resources and get notified when they change
   * Control wall plugs
   * List all devices connected to gateway
   * List all lights and get attributes of lights (name, state, color temp,
     dimmer level etc) Change attribute values of lights (name, state, color
     temp, dimmer level etc)
   * Restart and reset the gateway
   * List smart tasks (wake up, on/off and not home) and their attributes
   * Alter values in smart tasks (some of these features not available in app yet)
  
  WWW: https://github.com/ggravlingen/pytradfri

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

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sun Apr 28 19:01:42 2019	(r500360)
+++ head/net/Makefile	Sun Apr 28 19:03:15 2019	(r500361)
@@ -1099,6 +1099,7 @@
     SUBDIR += py-python-ntlm
     SUBDIR += py-python-openstackclient
     SUBDIR += py-python-twitter
+    SUBDIR += py-pytradfri
     SUBDIR += py-pyvmomi
     SUBDIR += py-pyzmq
     SUBDIR += py-qt5-network

Added: head/net/py-pytradfri/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-pytradfri/Makefile	Sun Apr 28 19:03:15 2019	(r500361)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	pytradfri
+DISTVERSION=	6.0.1
+CATEGORIES=	net
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	tcberner@FreeBSD.org
+COMMENT=	Python IKEA Tradfri API controller
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiocoap>=0:net/py-aiocoap@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}DTLSSocket>=0:net/py-DTLSSocket@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/net/py-pytradfri/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-pytradfri/distinfo	Sun Apr 28 19:03:15 2019	(r500361)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1556475875
+SHA256 (pytradfri-6.0.1.tar.gz) = 8e92254adc90e16d317988714a9f06669887e9a3f671c3d580c3c7e7535cb8c5
+SIZE (pytradfri-6.0.1.tar.gz) = 19419

Added: head/net/py-pytradfri/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-pytradfri/pkg-descr	Sun Apr 28 19:03:15 2019	(r500361)
@@ -0,0 +1,18 @@
+Python package to communicate with the IKEA Tradfri ZigBee Gateway compatible
+with ZigBee Light Link products. By using this library you can communicate with
+the gateway and control IKEA's lights and wall plugs.
+
+Some of the features include:
+
+ * Get information on the gateway
+ * Observe lights, groups and other resources and get notified when they change
+ * Control wall plugs
+ * List all devices connected to gateway
+ * List all lights and get attributes of lights (name, state, color temp,
+   dimmer level etc) Change attribute values of lights (name, state, color
+   temp, dimmer level etc)
+ * Restart and reset the gateway
+ * List smart tasks (wake up, on/off and not home) and their attributes
+ * Alter values in smart tasks (some of these features not available in app yet)
+
+WWW: https://github.com/ggravlingen/pytradfri



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