diff options
author | Jason W. Bacon <jwb@FreeBSD.org> | 2020-04-14 12:13:55 +0000 |
---|---|---|
committer | Jason W. Bacon <jwb@FreeBSD.org> | 2020-04-14 12:13:55 +0000 |
commit | bad93f9f141866746c755c7acb4dfc41f8030628 (patch) | |
tree | 697cd2ebb6baeb0b67b19b5ab83f8d91f5d0b6a5 /biology | |
parent | e605d0d939f49aec491e7ee7ee6b32f12ea0a7f5 (diff) |
Notes
Diffstat (limited to 'biology')
-rw-r--r-- | biology/py-macs2/Makefile | 3 | ||||
-rw-r--r-- | biology/py-macs2/distinfo | 6 | ||||
-rw-r--r-- | biology/py-macs2/files/patch-setup.py | 25 |
3 files changed, 29 insertions, 5 deletions
diff --git a/biology/py-macs2/Makefile b/biology/py-macs2/Makefile index ddfd0d8d9715..04de15a42e81 100644 --- a/biology/py-macs2/Makefile +++ b/biology/py-macs2/Makefile @@ -2,8 +2,7 @@ PORTNAME= macs2 DISTVERSIONPREFIX= v -DISTVERSION= 2.2.6 -PORTREVISION= 1 +DISTVERSION= 2.2.7.1 CATEGORIES= biology python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/biology/py-macs2/distinfo b/biology/py-macs2/distinfo index 989029cdfc1a..296f6d147a29 100644 --- a/biology/py-macs2/distinfo +++ b/biology/py-macs2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1578626999 -SHA256 (taoliu-MACS-v2.2.6_GH0.tar.gz) = 7c51561787d15d85370b11c9121e4ab7174ce11cfde36043b9ee95de8451db3a -SIZE (taoliu-MACS-v2.2.6_GH0.tar.gz) = 133721230 +TIMESTAMP = 1586702732 +SHA256 (taoliu-MACS-v2.2.7.1_GH0.tar.gz) = 8ba25c367b84e237487b01be947239bee80e3ba123afc5e6034c374413b32913 +SIZE (taoliu-MACS-v2.2.7.1_GH0.tar.gz) = 134872405 diff --git a/biology/py-macs2/files/patch-setup.py b/biology/py-macs2/files/patch-setup.py new file mode 100644 index 000000000000..3434e1146357 --- /dev/null +++ b/biology/py-macs2/files/patch-setup.py @@ -0,0 +1,25 @@ +--- setup.py.orig 2020-04-12 14:46:03 UTC ++++ setup.py +@@ -26,22 +26,6 @@ def main(): + + cwd = os.path.abspath(os.path.dirname(__file__)) + +- # install required numpy +- p = subprocess.call([sys.executable, "-m", 'pip', 'install', f'numpy{numpy_requires}'],cwd=cwd) +- if p != 0: +- # Could be due to a too old pip version and build isolation, check that +- try: +- # Note, pip may not be installed or not have been used +- import pip +- if LooseVersion(pip.__version__) < LooseVersion('18.0.0'): +- raise RuntimeError("Installing requirements failed. Possibly due " +- "to `pip` being too old, found version {}, " +- "needed is >= 18.0.0.".format(pip.__version__)) +- else: +- raise RuntimeError("Installing requirements failed!") +- except ImportError: +- raise RuntimeError("Installing requirement failed! `pip` has to be installed!") +- + from numpy import get_include as numpy_get_include + numpy_include_dir = [numpy_get_include()] + |