ports/math/py-hdbscan/files/patch-setup.py
Po-Chuan Hsieh f42471ff18
math/py-hdbscan: Convert to USE_PYTHON=pep517
- Remove cython version check from BUILD_DEPENDS
- Bump PORTREVISION for package change
2024-05-13 22:02:45 +08:00

11 lines
347 B
Python

--- setup.py.orig 2023-07-18 17:51:04 UTC
+++ setup.py
@@ -85,7 +85,7 @@ configuration = {
'cmdclass': {'build_ext': CustomBuildExtCommand},
'test_suite': 'nose.collector',
'tests_require': ['nose'],
- 'data_files': ('hdbscan/dist_metrics.pxd',)
+ 'package_data': {'': ['hdbscan/dist_metrics.pxd']},
}
if not HAVE_CYTHON: