From nobody Wed Nov 16 17:36:39 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NC9Fz6x1mz4h7Vv; Wed, 16 Nov 2022 17:36:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NC9Fz6R5sz3Mlp; Wed, 16 Nov 2022 17:36:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668620199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9nQaCwqG55V0bBJ9/Ot0D9nbjkUVXkKf0HZKd9YV8TM=; b=iha7TxZA2njQMN1c3ciRKs+sEOdOg8puhRxoYCB5Z/MMA/LdIJX4e9E+/b+R99Gq4HDRf4 iaMyilKUzIzFzqopmqJxsYAEx2AOvQZDegeAjtIxZfb65ShD2XDD4I9zxa7il/EfcgfpA/ tGMomheoC7linzFUGUsgSHhHi/Wfs3DTXPfafh5UucCkv48tw1jknSLkpTHcEK0FabubpH roIzQ5uYYO3jg2nkO2cHN2xET6HriBxWvAWGwX2JghpeDAeflR1DRWwx+xPZLP+XvUrgEJ iTX/kQC9PYQjBhGS3BHy5DXjGlGnRZrdTClDM2MbHpUNL1Vg5Id6AxNjHGKpmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668620199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9nQaCwqG55V0bBJ9/Ot0D9nbjkUVXkKf0HZKd9YV8TM=; b=GnXwa9ZWbMiBRSxOnYpTIVX8THNlp307OEJ0oU3K+s2Kx+o5gqFn64oXnqxhaxdSWPmGwT 9YI34lZOGaxtjv5wjra44YNw+7V7R++B4IvFqWcOZ5U88L+arMbJEKEPO2ETFVbjMfc1NJ KvF0OaRHscsFKbTVNLKotwmk5ZzgnN/RJ13OXHa0rFAqHvH+fioc3yhIpl90bfORJlDuLT kcRXa5GpsGgh4T7PqmSmUNwICX9bHc5ybDZCptazhg41pVuLAB2ccuM6y+cr3aVHhSr8bM Wd0kYu/krM2xMu/P6QqXGKAG837gLaXGCp7TCOmlOP0WKKTGBWVKjcrbHgbvHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668620199; a=rsa-sha256; cv=none; b=GI05PoJ1giA1sZfWznDI/Uqd9JMl5MrRfzlzuV7EpEAFErn/L8QcoZC8WPo+jknbXaGMLH +M49exVJ+PiUI3WXMq6aukvOZVxPaWpeo2atOvz+otbo8BimVTQPgAQmHVxvLN0da0gPl/ a0lrF1VgqfY4GeXS9IQyK3Tu0f9Qrp2/rUiRuiNCTUoNyHQMMe06qDbYxvtBJD5C60/oby +kpjH+jw0PG8ctyMLt1EHgNwCt+YfVEx0XPDd94n+ehdol0gfMVspeRgD0Ye1jid4JZ/5D /nnTSP/4kFTA2qVqklmH4SHmrZeltOTBM1onX/yEzkzaHAZyWfmH05akgSB+KA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NC9Fz5NRBz19jK; Wed, 16 Nov 2022 17:36:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AGHadWx064941; Wed, 16 Nov 2022 17:36:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AGHad3V064940; Wed, 16 Nov 2022 17:36:39 GMT (envelope-from git) Date: Wed, 16 Nov 2022 17:36:39 GMT Message-Id: <202211161736.2AGHad3V064940@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Stephen Montgomery-Smith Subject: git: 335294b898ef - main - math/octave-forge-psychrometrics: New port. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: stephen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 335294b898ef5b54dc7230a9a6e967ac18492aa3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by stephen: URL: https://cgit.FreeBSD.org/ports/commit/?id=335294b898ef5b54dc7230a9a6e967ac18492aa3 commit 335294b898ef5b54dc7230a9a6e967ac18492aa3 Author: Stephen Montgomery-Smith AuthorDate: 2022-11-16 17:35:42 +0000 Commit: Stephen Montgomery-Smith CommitDate: 2022-11-16 17:35:42 +0000 math/octave-forge-psychrometrics: New port. A toolbox for air-water vapor psychrometrics for GNU Octave. --- math/Makefile | 1 + math/octave-forge-psychrometrics/Makefile | 32 ++++++++++++++++++++++ math/octave-forge-psychrometrics/distinfo | 3 ++ .../files/patch-DESCRIPTION | 9 ++++++ .../files/patch-src_dewTemp.m | 11 ++++++++ .../files/patch-src_satPress.m | 11 ++++++++ math/octave-forge-psychrometrics/pkg-descr | 8 ++++++ 7 files changed, 75 insertions(+) diff --git a/math/Makefile b/math/Makefile index dabc050904a8..53ce6c201f4b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -605,6 +605,7 @@ SUBDIR += octave-forge-pde1dm SUBDIR += octave-forge-plot SUBDIR += octave-forge-ponchon-savarit + SUBDIR += octave-forge-psychrometrics SUBDIR += octave-forge-pythonic SUBDIR += octave-forge-quaternion SUBDIR += octave-forge-queueing diff --git a/math/octave-forge-psychrometrics/Makefile b/math/octave-forge-psychrometrics/Makefile new file mode 100644 index 000000000000..b0a87e4b37b8 --- /dev/null +++ b/math/octave-forge-psychrometrics/Makefile @@ -0,0 +1,32 @@ +PORTNAME= octave-forge-psychrometrics +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.0 +CATEGORIES= math + +MAINTAINER= stephen@FreeBSD.org +COMMENT= Octave-forge package ${OCTAVE_PKGNAME} +WWW= https://packages.octave.org/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING + +USE_GITHUB= yes +GH_ACCOUNT= aumpierre-unb +GH_PROJECT= Psychrometrics-for-GNU-Octave + +# OCTSRC is the name of the directory of the package. +# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. +OCTSRC= ${GH_PROJECT}-${DISTVERSION} + +.include "${.CURDIR}/../../Mk/bsd.octave.mk" + +do-build: + @${DO_NADA} + +NO_ARCH= yes + +post-build: + ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure + cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC} + +.include diff --git a/math/octave-forge-psychrometrics/distinfo b/math/octave-forge-psychrometrics/distinfo new file mode 100644 index 000000000000..41639002190d --- /dev/null +++ b/math/octave-forge-psychrometrics/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668618913 +SHA256 (octave-forge/aumpierre-unb-Psychrometrics-for-GNU-Octave-v0.1.0_GH0.tar.gz) = 00a369e8ce649eb7d23eb868790016a97a5a7a37f354e7ec4801810245c87814 +SIZE (octave-forge/aumpierre-unb-Psychrometrics-for-GNU-Octave-v0.1.0_GH0.tar.gz) = 244774 diff --git a/math/octave-forge-psychrometrics/files/patch-DESCRIPTION b/math/octave-forge-psychrometrics/files/patch-DESCRIPTION new file mode 100644 index 000000000000..7b2e8c6a8db3 --- /dev/null +++ b/math/octave-forge-psychrometrics/files/patch-DESCRIPTION @@ -0,0 +1,9 @@ +--- DESCRIPTION.orig 2022-11-16 17:29:56 UTC ++++ DESCRIPTION +@@ -1,5 +1,5 @@ + Name: psychrometrics +-Version: 0.1.0-alpha ++Version: 0.1.0 + Date: 2022-12-15 + Author: Alexandre Umpierre (aumpierre@gmail.com) + Maintainer: Alexandre Umpierre diff --git a/math/octave-forge-psychrometrics/files/patch-src_dewTemp.m b/math/octave-forge-psychrometrics/files/patch-src_dewTemp.m new file mode 100644 index 000000000000..0949b432da3f --- /dev/null +++ b/math/octave-forge-psychrometrics/files/patch-src_dewTemp.m @@ -0,0 +1,11 @@ +--- src/dewTemp.m.orig 2022-11-16 17:24:42 UTC ++++ src/dewTemp.m +@@ -18,7 +18,7 @@ + # It is also available at https://www.gnu.org/licenses/. + + function Tdew=dewTemp(pw) +- c=load("constants.dat"); ++ constants; + alpha=log(pw/1000); + Tdew=c(14)+... + c(15)*alpha+... diff --git a/math/octave-forge-psychrometrics/files/patch-src_satPress.m b/math/octave-forge-psychrometrics/files/patch-src_satPress.m new file mode 100644 index 000000000000..85d681d00f75 --- /dev/null +++ b/math/octave-forge-psychrometrics/files/patch-src_satPress.m @@ -0,0 +1,11 @@ +--- src/satPress.m.orig 2022-11-16 17:24:48 UTC ++++ src/satPress.m +@@ -18,7 +18,7 @@ + # It is also available at https://www.gnu.org/licenses/. + + function psat=satPress(Tdry) +- c=load("constants.dat"); ++ constants; + if -100<=Tdry-273.15 & Tdry-273.15<0 + k=c(1)/Tdry+... + c(2)+... diff --git a/math/octave-forge-psychrometrics/pkg-descr b/math/octave-forge-psychrometrics/pkg-descr new file mode 100644 index 000000000000..212b0944d0f5 --- /dev/null +++ b/math/octave-forge-psychrometrics/pkg-descr @@ -0,0 +1,8 @@ +The octave-forge package is the result of The GNU Octave Repositry project, +which is intended to be a central location for custom scripts, functions and +extensions for GNU Octave. contains the source for all the functions plus +build and install scripts. + +This is psychrometrics. + + A toolbox for air-water vapor psychrometrics for GNU Octave.