38 lines
819 B
Makefile
38 lines
819 B
Makefile
# $OpenBSD: Makefile,v 1.3 2021/06/14 18:37:52 martin Exp $
|
|
|
|
COMMENT = interface with Tuya WiFi smart devices
|
|
|
|
MODPY_EGG_VERSION = 1.2.6
|
|
DISTNAME = tinytuya-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-tinytuya-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = https://github.com/jasonacox/tinytuya
|
|
|
|
MAINTAINER = Martin Reindl <martin@catai.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
GH_ACCOUNT = jasonacox
|
|
GH_PROJECT = tinytuya
|
|
GH_TAGNAME = v${MODPY_EGG_VERSION}
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR = python3
|
|
|
|
BUILD_DEPENDS = security/py-cryptodome${MODPY_FLAVOR} \
|
|
www/py-requests${MODPY_FLAVOR}
|
|
|
|
RUN_DEPENDS = security/py-cryptodome${MODPY_FLAVOR} \
|
|
www/py-requests${MODPY_FLAVOR}
|
|
|
|
# tests require actual devices and editing the test file
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|