Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 20:40:14 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: deb4a8f6e24a - main - math/py-ecos: Update 2.0.7 -> 2.0.8
Message-ID:  <202104232040.13NKeEp0067300@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=deb4a8f6e24af3d9e878485ed16fe648e7b96f87

commit deb4a8f6e24af3d9e878485ed16fe648e7b96f87
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-23 20:22:39 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-23 20:40:10 +0000

    math/py-ecos: Update 2.0.7 -> 2.0.8
---
 math/py-ecos/Makefile | 17 +++++++++++++----
 math/py-ecos/distinfo |  8 +++++---
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/math/py-ecos/Makefile b/math/py-ecos/Makefile
index a12fead4f9ff..231b43ed8f41 100644
--- a/math/py-ecos/Makefile
+++ b/math/py-ecos/Makefile
@@ -1,9 +1,7 @@
 PORTNAME=	ecos
-DISTVERSION=	2.0.7
-PORTREVISION=	2
-DISTVERSIONSUFFIX=	.post1
+DISTVERSION=	2.0.8
 CATEGORIES=	math python
-MASTER_SITES=	CHEESESHOP
+#MASTER_SITES=	CHEESESHOP # outdated on PyPI, use GitHub instead
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -19,4 +17,15 @@ RUN_DEPENDS=	${PYNUMPY} \
 USES=		python:3.6+
 USE_PYTHON=	distutils autoplist
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	embotech
+GH_PROJECT=	ecos-python
+GH_TUPLE=	embotech:ecos:v${DISTVERSION}:ecos/ecos
+
+pre-configure:
+	@${ECHO} "__version__=\"$(DISTVERSION)\"" > ${WRKSRC}/src/ecos/version.py
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ecos.so
+
 .include <bsd.port.mk>
diff --git a/math/py-ecos/distinfo b/math/py-ecos/distinfo
index bc20f5faf647..65106958da3b 100644
--- a/math/py-ecos/distinfo
+++ b/math/py-ecos/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1542569562
-SHA256 (ecos-2.0.7.post1.tar.gz) = 83e90f42b3f32e2a93f255c3cfad2da78dbd859119e93844c45d2fca20bdc758
-SIZE (ecos-2.0.7.post1.tar.gz) = 126583
+TIMESTAMP = 1619208483
+SHA256 (embotech-ecos-python-2.0.8_GH0.tar.gz) = 4715d97fa728c1446e2a68a3009f73325c79c509b25ad745d3756a397193d884
+SIZE (embotech-ecos-python-2.0.8_GH0.tar.gz) = 30898
+SHA256 (embotech-ecos-v2.0.8_GH0.tar.gz) = d905d16599efd927a75b29852c3476ff1ffd0b97ab27d5b8ad63bb4ff2ad8130
+SIZE (embotech-ecos-v2.0.8_GH0.tar.gz) = 1283274



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