git: 82f92b0c7a18 - main - devel/containers: Update to 0.9.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Nov 2022 01:49:24 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=82f92b0c7a18e35152ecfd50592f9f76377b8269
commit 82f92b0c7a18e35152ecfd50592f9f76377b8269
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-11-15 00:39:12 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-11-15 01:49:11 +0000
devel/containers: Update to 0.9.0
ChangeLog at: https://github.com/dlang-community/containers/releases/tag/v0.9.0
---
devel/containers/Makefile | 14 ++++++--------
devel/containers/distinfo | 6 +++---
devel/containers/files/patch-dub.json | 14 --------------
3 files changed, 9 insertions(+), 25 deletions(-)
diff --git a/devel/containers/Makefile b/devel/containers/Makefile
index 9fed0607c5ff..d3249360fddd 100644
--- a/devel/containers/Makefile
+++ b/devel/containers/Makefile
@@ -1,11 +1,11 @@
PORTNAME= containers
-DISTVERSION= 0.8.0-alpha.11
+DISTVERSION= 0.9.0
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= acm@FreeBSD.org
COMMENT= Containers backed on dlang by std.experimental.allocator
-WWW= https://github.com/economicmodeling/containers
+WWW= https://github.com/dlang-community/containers
LICENSE= BSL
@@ -15,22 +15,20 @@ BUILD_DEPENDS= ldmd2:lang/ldc \
${LOCALBASE}/lib/d/libstdx-allocator.a:devel/stdx-allocator
USE_GITHUB= yes
-GH_ACCOUNT= economicmodeling
+GH_ACCOUNT= dlang-community
DUB_CMD= ${LOCALBASE}/bin/dub build --build=release
D_INCLUDE_DIR= ${PREFIX}/include/d
D_LIB_DIR= ${PREFIX}/lib/d
-
-post-patch:
- ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dub.json
+DC= ${PREFIX}/bin/ldmd2
do-build:
- @cd ${WRKSRC} && ${DUB_CMD}
+ @cd ${WRKSRC} && DC=${DC} ${DUB_CMD}
do-install:
@${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR}
@${MKDIR} ${STAGEDIR}${D_LIB_DIR}
- ${INSTALL_DATA} ${WRKSRC}/libemsi_containers.a ${STAGEDIR}${D_LIB_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/build/libemsi_containers.a ${STAGEDIR}${D_LIB_DIR}
cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
.include <bsd.port.mk>
diff --git a/devel/containers/distinfo b/devel/containers/distinfo
index 91242a46b653..df1e17f3b855 100644
--- a/devel/containers/distinfo
+++ b/devel/containers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551858749
-SHA256 (economicmodeling-containers-v0.8.0-alpha.11_GH0.tar.gz) = 61f8460472e3e1ddb9ce06eb4d58fbe9456c158e00e69452e2a675f071dcb2c9
-SIZE (economicmodeling-containers-v0.8.0-alpha.11_GH0.tar.gz) = 54294
+TIMESTAMP = 1668454365
+SHA256 (dlang-community-containers-v0.9.0_GH0.tar.gz) = 5e256b84bbdbd2bd625cba0472ea27a1fde6d673d37a85fe971a20d52874acaa
+SIZE (dlang-community-containers-v0.9.0_GH0.tar.gz) = 55504
diff --git a/devel/containers/files/patch-dub.json b/devel/containers/files/patch-dub.json
deleted file mode 100644
index 381eaab4213f..000000000000
--- a/devel/containers/files/patch-dub.json
+++ /dev/null
@@ -1,14 +0,0 @@
---- dub.json.orig 2018-11-09 00:17:37.000000000 +0000
-+++ dub.json 2019-03-06 07:08:45.161265000 +0000
-@@ -7,9 +7,8 @@
- "EMSI",
- "DLang Community"
- ],
-- "dependencies": {
-- "stdx-allocator": "~>2.77.2"
-- },
-+ "libs": ["stdx-allocator"],
-+ "lflags": ["-L%%LOCALBASE%%/lib/d"],
- "buildTypes" : {
- "unittest" : {
- "buildOptions": ["unittests", "debugMode", "debugInfo"],