git: 5ab84301ecad - main - net/py-tinytuya: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Sep 2026 17:09:42 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5ab84301ecadd84b18228d7cfb391e440e6290f7
commit 5ab84301ecadd84b18228d7cfb391e440e6290f7
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2026-09-23 17:04:59 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2026-09-23 17:09:26 +0000
net/py-tinytuya: new port
Python module to control and monitor Tuya WiFi smart devices over the
local network or through the Tuya IoT cloud API.
---
net/Makefile | 1 +
net/py-tinytuya/Makefile | 29 +++++++++++++++++++++++++++++
net/py-tinytuya/distinfo | 3 +++
net/py-tinytuya/pkg-descr | 4 ++++
4 files changed, 37 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index b9b9cf60e97e..09b08fb39dbc 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1193,6 +1193,7 @@
SUBDIR += py-suds
SUBDIR += py-terminado
SUBDIR += py-tiny-proxy
+ SUBDIR += py-tinytuya
SUBDIR += py-tofu
SUBDIR += py-transip
SUBDIR += py-trio
diff --git a/net/py-tinytuya/Makefile b/net/py-tinytuya/Makefile
new file mode 100644
index 000000000000..acd6145fc1a4
--- /dev/null
+++ b/net/py-tinytuya/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= tinytuya
+PORTVERSION= 1.20.0
+CATEGORIES= net python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= manu@FreeBSD.org
+COMMENT= Python module to control and monitor Tuya WiFi smart devices
+WWW= https://github.com/jasonacox/tinytuya \
+ https://pypi.org/project/tinytuya/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0:www/py-requests@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0:www/py-requests@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-tinytuya/distinfo b/net/py-tinytuya/distinfo
new file mode 100644
index 000000000000..5440fd9f7c72
--- /dev/null
+++ b/net/py-tinytuya/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790174351
+SHA256 (tinytuya-1.20.0.tar.gz) = 54bfcd0b3411ae4c94cf473e1ca28a2ffa4d376ed2d8e7e4e4adfcdf4ca1657c
+SIZE (tinytuya-1.20.0.tar.gz) = 190632
diff --git a/net/py-tinytuya/pkg-descr b/net/py-tinytuya/pkg-descr
new file mode 100644
index 000000000000..07747016c3d6
--- /dev/null
+++ b/net/py-tinytuya/pkg-descr
@@ -0,0 +1,4 @@
+Python module to control and monitor Tuya WiFi smart devices over the
+local network or through the Tuya IoT cloud API.
+
+https://github.com/jasonacox/tinytuya