devel/py-merossiot: Add new port
Python library for accessing Meross IoT devices
This commit is contained in:
@@ -5241,6 +5241,7 @@
|
||||
SUBDIR += py-memory-allocator
|
||||
SUBDIR += py-memory-profiler
|
||||
SUBDIR += py-mergedeep
|
||||
SUBDIR += py-merossiot
|
||||
SUBDIR += py-methodtools
|
||||
SUBDIR += py-microversion-parse
|
||||
SUBDIR += py-milc
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
PORTNAME= merossiot
|
||||
PORTVERSION= 0.4.9.0
|
||||
CATEGORIES= devel python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= MerossIot-${PORTVERSION}
|
||||
|
||||
MAINTAINER= mm@FreeBSD.org
|
||||
COMMENT= Python library for accessing Meross IoT devices
|
||||
WWW= https://github.com/albertogeniola/MerossIot
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paho-mqtt>=2.1.0:net/py-paho-mqtt@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=2.19.2:www/py-requests@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.4:www/py-aiohttp@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pycryptodomex>=3.20.0:security/py-pycryptodomex@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= albertogeniola
|
||||
GH_PROJECT= MerossIot
|
||||
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1746520167
|
||||
SHA256 (albertogeniola-MerossIot-0.4.9.0_GH0.tar.gz) = ba79d97c5f9d60b88165ad4c244051442de044bdaae9e61fbd25fd293cb25317
|
||||
SIZE (albertogeniola-MerossIot-0.4.9.0_GH0.tar.gz) = 7361775
|
||||
@@ -0,0 +1,19 @@
|
||||
--- setup.py.orig 2025-05-06 08:53:00 UTC
|
||||
+++ setup.py
|
||||
@@ -31,7 +31,6 @@ setup(
|
||||
long_description_content_type='text/markdown',
|
||||
keywords='meross smartplug smartbulb iot mqtt domotic switch MSL120 MSS110 MSS210 MSS310 MSS310h '
|
||||
'MSS425e MSS530H MSG100 MSH300 MS100 MSS710 MSXH0',
|
||||
- data_files=[('.', ['.version'])],
|
||||
project_urls={
|
||||
'Documentation': 'https://github.com/albertogeniola/MerossIot',
|
||||
'Funding': 'https://donate.pypi.org',
|
||||
@@ -41,7 +40,7 @@ setup(
|
||||
install_requires=[
|
||||
'paho-mqtt>=2.1.0,<3.0.0',
|
||||
'requests>=2.19.1,<3.0.0',
|
||||
- 'aiohttp[speedups]>=3.7.4.post0,<4.0.0',
|
||||
+ 'aiohttp>=3.7.4.post0,<4.0.0',
|
||||
'pycryptodomex>=3.20.0'
|
||||
],
|
||||
python_requires='>=3.8',
|
||||
@@ -0,0 +1,3 @@
|
||||
Async Python library for controlling Meross devices
|
||||
|
||||
https://albertogeniola.github.io/MerossIot/
|
||||
Reference in New Issue
Block a user