Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2021 12:25:02 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r563336 - in head/math/py-iohexperimenter: . files
Message-ID:  <202101301225.10UCP2ek091997@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Jan 30 12:25:01 2021
New Revision: 563336
URL: https://svnweb.freebsd.org/changeset/ports/563336

Log:
  Update to 0.2.9
  
  Changes:	https://github.com/IOHprofiler/IOHexperimenter/releases

Added:
  head/math/py-iohexperimenter/files/
  head/math/py-iohexperimenter/files/patch-setup.py   (contents, props changed)
Modified:
  head/math/py-iohexperimenter/Makefile
  head/math/py-iohexperimenter/distinfo

Modified: head/math/py-iohexperimenter/Makefile
==============================================================================
--- head/math/py-iohexperimenter/Makefile	Sat Jan 30 12:24:56 2021	(r563335)
+++ head/math/py-iohexperimenter/Makefile	Sat Jan 30 12:25:01 2021	(r563336)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	iohexperimenter
-PORTVERSION=	0.2.8.7
+PORTVERSION=	0.2.9
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ COMMENT=	Experimenter for Iterative Optimization Heuri
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYNUMPY}
+xRUN_DEPENDS=	${PYNUMPY}
 
 USES=		compiler:c++14-lang dos2unix python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
@@ -22,5 +22,11 @@ USE_PYTHON=	autoplist concurrent distutils
 USE_CXXSTD=	c++14
 
 WRKSRC=		${WRKDIR}/IOHexperimenter-${PORTVERSION}
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/IOHexperimenter/_IOHprofiler*.so
 
 .include <bsd.port.mk>

Modified: head/math/py-iohexperimenter/distinfo
==============================================================================
--- head/math/py-iohexperimenter/distinfo	Sat Jan 30 12:24:56 2021	(r563335)
+++ head/math/py-iohexperimenter/distinfo	Sat Jan 30 12:25:01 2021	(r563336)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608366162
-SHA256 (IOHexperimenter-0.2.8.7.tar.gz) = 7a22e56b2626bdf30d637677413670a9211ca72a78cf6cf76b57a63f8b288e77
-SIZE (IOHexperimenter-0.2.8.7.tar.gz) = 245011
+TIMESTAMP = 1611856576
+SHA256 (IOHexperimenter-0.2.9.tar.gz) = 81e0dcdc6b966ebdb53f990d73b8cd024fe13f75c871189b6f7364f93345b6b5
+SIZE (IOHexperimenter-0.2.9.tar.gz) = 245074

Added: head/math/py-iohexperimenter/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-iohexperimenter/files/patch-setup.py	Sat Jan 30 12:25:01 2021	(r563336)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2021-01-26 09:46:22 UTC
++++ setup.py
+@@ -30,7 +30,7 @@ iohprofiler = Extension('IOHexperimenter._IOHprofiler'
+     extra_compile_args=extra_compile_args
+ )
+ 
+-__version__ = "auto"
++__version__ = "%%PORTVERSION%%"
+ gh_ref = os.environ.get("GITHUB_REF")
+ if gh_ref:
+     *_, tag = gh_ref.split("/")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101301225.10UCP2ek091997>