pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ThirdParty-Mumps: Addressed TODO and removed the TODO file



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Mon Aug 26 13:10:31 2024 +0530
Changeset:	1913c790cb5a2eef99ccb2eff58ffe5503c1c94b

Modified Files:
	ThirdParty-Mumps/Makefile
	ThirdParty-Mumps/distinfo
Removed Files:
	ThirdParty-Mumps/TODO

Log Message:
ThirdParty-Mumps: Addressed TODO and removed the TODO file

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1913c790cb5a2eef99ccb2eff58ffe5503c1c94b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ThirdParty-Mumps/Makefile | 15 +++++++--------
 ThirdParty-Mumps/TODO     |  1 -
 ThirdParty-Mumps/distinfo |  3 +++
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs:
diff --git a/ThirdParty-Mumps/Makefile b/ThirdParty-Mumps/Makefile
index 6e8825c59b..8ee15c5775 100644
--- a/ThirdParty-Mumps/Makefile
+++ b/ThirdParty-Mumps/Makefile
@@ -16,20 +16,19 @@ LICENSE=	epl-v1.0
 WRKSRC=		${WRKDIR}/ThirdParty-Mumps-releases-3.0.7
 GNU_CONFIGURE=	yes
 USE_LIBTOOL=	yes
-USE_TOOLS+=	pkg-config wget tar patch
+USE_TOOLS+=	pkg-config patch
 USE_LANGUAGES=	c fortran
 
 PKGCONFIG_OVERRIDE+=	coinmumps.pc.in
 
-MUMPS_MASTER_SITE=	http://coin-or-tools.github.io/ThirdParty-Mumps
-MUMPS_VERSION=		MUMPS_5.7.2
-MUMPS_DISTFILE=		${MUMPS_VERSION}.tar.gz
+MUMPS_VERSION=			MUMPS_5.7.2
+MUMPS_DISTFILE=			${MUMPS_VERSION}.tar.gz
+SITES.${MUMPS_DISTFILE}=	http://coin-or-tools.github.io/ThirdParty-Mumps/
+
+DISTFILES=	${DEFAULT_DISTFILES} ${MUMPS_DISTFILE}
 
-# TODO: The MUMPS_DISTFILE needs to be in distinfo, extracted automatically
-# FreeBSD port math/coin-or-mumps creates a soft link to auto-extracted file. How to do that in pkgsrc?
-# Change USE_TOOLS accordingly
 post-extract:
-	cd ${WRKSRC} && wget --no-check-certificate ${MUMPS_MASTER_SITE}/${MUMPS_DISTFILE} && tar xvzf ${MUMPS_DISTFILE} && ${LN} -s ${MUMPS_VERSION} MUMPS
+	cd ${WRKSRC} && ${LN} -s ../${MUMPS_VERSION} MUMPS
 
 post-patch: # patching from get.Mumps
 	cd ${WRKSRC} && \
diff --git a/ThirdParty-Mumps/TODO b/ThirdParty-Mumps/TODO
deleted file mode 100644
index 22dfd03a9e..0000000000
--- a/ThirdParty-Mumps/TODO
+++ /dev/null
@@ -1 +0,0 @@
-- See a TODO in the Makefile
diff --git a/ThirdParty-Mumps/distinfo b/ThirdParty-Mumps/distinfo
index 900b50f188..7d9417c04c 100644
--- a/ThirdParty-Mumps/distinfo
+++ b/ThirdParty-Mumps/distinfo
@@ -3,3 +3,6 @@ $NetBSD$
 BLAKE2s (ThirdParty-Mumps/3.0.7.tar.gz) = b4cdbe9c287b273e14a887ef28adeb5a646b36f60a056c9744223840b0e3cda5
 SHA512 (ThirdParty-Mumps/3.0.7.tar.gz) = 1eaab0759bee8b8d6d180e4db3391c198ff3afdf2549141b30e171a07c0910a36d8da5ca166d6facb90785ecfd2dd8f5152035973be45f63ab80ed894cc01511
 Size (ThirdParty-Mumps/3.0.7.tar.gz) = 300727 bytes
+BLAKE2s (ThirdParty-Mumps/MUMPS_5.7.2.tar.gz) = ea8a6b7717b703c1ee1ff49add55a8e4829300278216ad2c197db98bceeebcc8
+SHA512 (ThirdParty-Mumps/MUMPS_5.7.2.tar.gz) = 90398b05ebf1573f06c8de2053d6384027b4a5a1dad2304bfd2b76cbd69eba2bbbcc374ce2226c36d6b331b5bdfcb9a3c99cad083ad711980524ac0da130182e
+Size (ThirdParty-Mumps/MUMPS_5.7.2.tar.gz) = 4541912 bytes


Home | Main Index | Thread Index | Old Index