svn commit: r531674 - in head/biology/py-macs2: . files
Jason W. Bacon
jwb at FreeBSD.org
Tue Apr 14 12:13:56 UTC 2020
Author: jwb
Date: Tue Apr 14 12:13:55 2020
New Revision: 531674
URL: https://svnweb.freebsd.org/changeset/ports/531674
Log:
biology/py-macs2: Upgrade to 2.2.7.1
Bug fix release
Reported by: portscout
Added:
head/biology/py-macs2/files/
head/biology/py-macs2/files/patch-setup.py (contents, props changed)
Modified:
head/biology/py-macs2/Makefile
head/biology/py-macs2/distinfo
Modified: head/biology/py-macs2/Makefile
==============================================================================
--- head/biology/py-macs2/Makefile Tue Apr 14 11:50:20 2020 (r531673)
+++ head/biology/py-macs2/Makefile Tue Apr 14 12:13:55 2020 (r531674)
@@ -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}
Modified: head/biology/py-macs2/distinfo
==============================================================================
--- head/biology/py-macs2/distinfo Tue Apr 14 11:50:20 2020 (r531673)
+++ head/biology/py-macs2/distinfo Tue Apr 14 12:13:55 2020 (r531674)
@@ -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
Added: head/biology/py-macs2/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/biology/py-macs2/files/patch-setup.py Tue Apr 14 12:13:55 2020 (r531674)
@@ -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()]
+
More information about the svn-ports-head
mailing list