diff --git a/science/py-oddt/Makefile b/science/py-oddt/Makefile index 09450612a8e3..2cda6e2cb6c6 100644 --- a/science/py-oddt/Makefile +++ b/science/py-oddt/Makefile @@ -1,26 +1,28 @@ PORTNAME= oddt DISTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Open Drug Discovery Toolkit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYNUMPY} \ +PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}joblib>=0.9.4:devel/py-joblib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0.19.2:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.17:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} -RUN_DEPENDS:= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} USES= python:3.7+ USE_GITHUB= yes USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes .include diff --git a/science/py-oddt/files/patch-setup.py b/science/py-oddt/files/patch-setup.py new file mode 100644 index 000000000000..ce95f655591f --- /dev/null +++ b/science/py-oddt/files/patch-setup.py @@ -0,0 +1,13 @@ +- same patch as suggested here: https://github.com/oddt/oddt/issues/160 + +--- setup.py.orig 2022-03-25 17:16:33 UTC ++++ setup.py +@@ -9,7 +9,7 @@ setup(name='oddt', + author_email='mwojcikowski@ibb.waw.pl', + url='https://github.com/oddt/oddt', + license='BSD', +- packages=find_packages(), ++ packages=find_packages(exclude=['test*']), + package_data={'oddt.scoring.functions': ['NNScore/*.csv', + 'RFScore/*.csv', + 'PLECscore/*.json',