diff --git a/devel/py-homebase/Makefile b/devel/py-homebase/Makefile index 6d26b7665d11..554fd76b02af 100644 --- a/devel/py-homebase/Makefile +++ b/devel/py-homebase/Makefile @@ -1,24 +1,24 @@ PORTNAME= homebase DISTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Platform independent access to user data folders WWW= https://github.com/dwavesystems/homebase LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= python USE_PYTHON= distutils cython autoplist unittest # many tests fail, see https://github.com/dwavesystems/homebase/issues/35 USE_GITHUB= yes GH_ACCOUNT= dwavesystems TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes .include diff --git a/devel/py-homebase/files/patch-setup.py b/devel/py-homebase/files/patch-setup.py new file mode 100644 index 000000000000..cce2ab4a236b --- /dev/null +++ b/devel/py-homebase/files/patch-setup.py @@ -0,0 +1,12 @@ +-- Exclude test directory from package discovery to avoid installing it into site-packages. +--- setup.py.orig 2026-06-23 15:40:30 UTC ++++ setup.py +@@ -38,7 +38,7 @@ setup( + author='D-Wave Systems Inc.', + author_email='oshklarsky@dwavesys.com', + long_description=readme(here), +- packages=find_packages(), ++ packages=find_packages(exclude=["test", "test.*"]), + install_requires=requirements(here), + license='Apache 2.0', + url='https://github.com/dwavesystems/homebase',