Files

54 lines
1.2 KiB
Makefile
Raw Permalink Normal View History

2024-11-29 21:02:45 +00:00
COMMENT= Python library implementing a Zigbee stack
2025-09-08 10:20:05 +00:00
MODPY_DISTV= 0.82.3
2026-01-26 16:58:14 +00:00
REVISION= 0
2024-12-21 11:37:40 +00:00
DISTNAME= zigpy-${MODPY_DISTV}
2024-11-29 21:02:45 +00:00
PKGNAME= py-${DISTNAME}
GH_ACCOUNT= zigpy
GH_PROJECT= zigpy
2024-12-21 11:37:40 +00:00
GH_TAGNAME= ${MODPY_DISTV}
2024-11-29 21:02:45 +00:00
CATEGORIES= comms
HOMEPAGE= https://github.com/zigpy/zigpy
# GPLv3
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PYBUILD= setuptools
2024-12-21 11:37:40 +00:00
BUILD_DEPENDS= devel/py-setuptools-git-versioning
2024-11-29 21:02:45 +00:00
2024-12-21 11:37:40 +00:00
RUN_DEPENDS= devel/py-attrs \
www/py-aiohttp \
databases/py-aiosqlite \
devel/py-crccheck \
security/py-cryptography \
devel/py-voluptuous \
devel/py-jsonschema \
comms/py-serial-asyncio \
devel/py-typing-extensions \
devel/py-frozendict \
2024-11-29 21:02:45 +00:00
2024-12-21 11:37:40 +00:00
TEST_DEPENDS= textproc/py-tomli \
devel/py-asynctest \
devel/py-coveralls \
devel/py-test-asyncio \
devel/py-test-cov \
devel/py-test-timeout \
devel/py-freezegun \
devel/py-aioresponses
2024-11-29 21:02:45 +00:00
# to disable online tests
#MODPY_PYTEST_ARGS= --ignore tests/ota/test_ota_providers.py
# sdist misses all files under tests/ except for test*.py, so use the
# github tar instead, but that isn't handled by setuptools-git-version
# so fake it here:
post-extract:
2024-12-21 11:37:40 +00:00
echo "Version: ${MODPY_DISTV}" > ${WRKSRC}/PKG-INFO
2024-11-29 21:02:45 +00:00
.include <bsd.port.mk>