Date: Mon, 18 Dec 2023 14:57:09 +0800 From: Vanilla Hsu <vanilla@fatpipi.com> To: Mikhail Teterin <mi@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 362ea03643fc - main - testproc/fmtlib: add new port of fmtlib Message-ID: <CAB_qb6-yAVTWoUDND9hjcib2kFMoYVbpUTY81y9K7u68q1Omrg@mail.gmail.com> In-Reply-To: <202312180636.3BI6aw7e015605@gitrepo.freebsd.org> References: <202312180636.3BI6aw7e015605@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e6438a060cc34288 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think it's a duplicate with devel/libfmt ? Mikhail Teterin <mi@freebsd.org> =E6=96=BC 2023=E5=B9=B412=E6=9C=8818=E6=97= =A5 =E9=80=B1=E4=B8=80 =E4=B8=8B=E5=8D=882:37=E5=AF=AB=E9=81=93=EF=BC=9A > The branch main has been updated by mi: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=3D362ea03643fc92c9ca8c06c38996a= 9cf8a2435fc > > commit 362ea03643fc92c9ca8c06c38996a9cf8a2435fc > Author: Mikhail Teterin <mi@FreeBSD.org> > AuthorDate: 2023-12-18 06:34:58 +0000 > Commit: Mikhail Teterin <mi@FreeBSD.org> > CommitDate: 2023-12-18 06:36:54 +0000 > > testproc/fmtlib: add new port of fmtlib > > According to the pkgsrc repository, this library used to be > known as cppformat. > > WWW: https://fmt.dev/ > --- > textproc/Makefile | 1 + > textproc/fmtlib/Makefile | 24 ++++++++++++++++++++++++ > textproc/fmtlib/distinfo | 3 +++ > textproc/fmtlib/pkg-descr | 14 ++++++++++++++ > textproc/fmtlib/pkg-plist | 21 +++++++++++++++++++++ > 5 files changed, 63 insertions(+) > > diff --git a/textproc/Makefile b/textproc/Makefile > index 5dc8c7591c00..0e914e6b2e77 100644 > --- a/textproc/Makefile > +++ b/textproc/Makefile > @@ -224,6 +224,7 @@ > SUBDIR +=3D flex > SUBDIR +=3D flip > SUBDIR +=3D fmtlatex > + SUBDIR +=3D fmtlib > SUBDIR +=3D fo-aspell > SUBDIR +=3D foiltex > SUBDIR +=3D fop > diff --git a/textproc/fmtlib/Makefile b/textproc/fmtlib/Makefile > new file mode 100644 > index 000000000000..5e23fd014b06 > --- /dev/null > +++ b/textproc/fmtlib/Makefile > @@ -0,0 +1,24 @@ > +PORTNAME=3D fmtlib > +PORTVERSION=3D 10.1.1 > +CATEGORIES=3D textproc devel > + > +MAINTAINER=3D mi@aldan.algebra.com > +COMMENT=3D Modern formatting library (formerly cppformat) > +WWW=3D https://fmt.dev/ > + > +LICENSE=3D MIT > +LICENSE_FILE=3D ${WRKSRC}/LICENSE.rst > + > +USES=3D cmake > + > +USE_GITHUB=3D uh-huh > +GH_ACCOUNT=3D fmtlib > +GH_PROJECT=3D fmt > + > +OPTIONS_DEFINE=3D TEST > + > +CMAKE_ON=3D BUILD_SHARED_LIBS > +TEST_CMAKE_OFF=3D -DFMT_TEST=3D0 > +TEST_TEST_TARGET=3D test > + > +.include <bsd.port.mk> > diff --git a/textproc/fmtlib/distinfo b/textproc/fmtlib/distinfo > new file mode 100644 > index 000000000000..8d6b901b426a > --- /dev/null > +++ b/textproc/fmtlib/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP =3D 1702878142 > +SHA256 (fmtlib-fmt-10.1.1_GH0.tar.gz) =3D > 78b8c0a72b1c35e4443a7e308df52498252d1cefc2b08c9a97bc9ee6cfe61f8b > +SIZE (fmtlib-fmt-10.1.1_GH0.tar.gz) =3D 851454 > diff --git a/textproc/fmtlib/pkg-descr b/textproc/fmtlib/pkg-descr > new file mode 100644 > index 000000000000..c80bbd5f4ed5 > --- /dev/null > +++ b/textproc/fmtlib/pkg-descr > @@ -0,0 +1,14 @@ > +{fmt} is an open-source formatting library providing a fast and > +safe alternative to C stdio and C++ iostreams. > + > +* Simple format API with positional arguments for localization > +* Implementation of C++20 std::format and C++23 std::print > +* Format string syntax similar to Python's format > +* Fast IEEE 754 floating-point formatter with correct rounding, shortnes= s > + and round-trip guarantees using the Dragonbox algorithm > +* Portable Unicode support > +* Safe printf implementation including the POSIX extension for > + positional arguments > + > +If you like this project, please consider donating to one of the > +funds that help victims of the war in Ukraine: www.stopputin.net/ > diff --git a/textproc/fmtlib/pkg-plist b/textproc/fmtlib/pkg-plist > new file mode 100644 > index 000000000000..d4356647f3e4 > --- /dev/null > +++ b/textproc/fmtlib/pkg-plist > @@ -0,0 +1,21 @@ > +lib/libfmt.so.10.1.0 > +lib/libfmt.so.10 > +lib/libfmt.so > +include/fmt/args.h > +include/fmt/chrono.h > +include/fmt/color.h > +include/fmt/compile.h > +include/fmt/core.h > +include/fmt/format.h > +include/fmt/format-inl.h > +include/fmt/os.h > +include/fmt/ostream.h > +include/fmt/printf.h > +include/fmt/ranges.h > +include/fmt/std.h > +include/fmt/xchar.h > +lib/cmake/fmt/fmt-config.cmake > +lib/cmake/fmt/fmt-config-version.cmake > +lib/cmake/fmt/fmt-targets.cmake > +lib/cmake/fmt/fmt-targets-release.cmake > +libdata/pkgconfig/fmt.pc > --000000000000e6438a060cc34288 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I think it's a duplicate with devel/libfmt ?</div><br>= <div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Mikhail Te= terin <<a href=3D"mailto:mi@freebsd.org">mi@freebsd.org</a>> =E6=96= =BC 2023=E5=B9=B412=E6=9C=8818=E6=97=A5 =E9=80=B1=E4=B8=80 =E4=B8=8B=E5=8D= =882:37=E5=AF=AB=E9=81=93=EF=BC=9A<br></div><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-styl= e:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The branch mai= n has been updated by mi:<br> <br> URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3D362ea03643fc92c= 9ca8c06c38996a9cf8a2435fc" rel=3D"noreferrer" target=3D"_blank">https://cgi= t.FreeBSD.org/ports/commit/?id=3D362ea03643fc92c9ca8c06c38996a9cf8a2435fc</= a><br> <br> commit 362ea03643fc92c9ca8c06c38996a9cf8a2435fc<br> Author:=C2=A0 =C2=A0 =C2=A0Mikhail Teterin <mi@FreeBSD.org><br> AuthorDate: 2023-12-18 06:34:58 +0000<br> Commit:=C2=A0 =C2=A0 =C2=A0Mikhail Teterin <mi@FreeBSD.org><br> CommitDate: 2023-12-18 06:36:54 +0000<br> <br> =C2=A0 =C2=A0 testproc/fmtlib: add new port of fmtlib<br> <br> =C2=A0 =C2=A0 According to the pkgsrc repository, this library used to be<b= r> =C2=A0 =C2=A0 known as cppformat.<br> <br> =C2=A0 =C2=A0 WWW:=C2=A0 =C2=A0 <a href=3D"https://fmt.dev/" rel=3D"norefer= rer" target=3D"_blank">https://fmt.dev/</a><br> ---<br> =C2=A0textproc/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 1 +<br> =C2=A0textproc/fmtlib/Makefile=C2=A0 | 24 ++++++++++++++++++++++++<br> =C2=A0textproc/fmtlib/distinfo=C2=A0 |=C2=A0 3 +++<br> =C2=A0textproc/fmtlib/pkg-descr | 14 ++++++++++++++<br> =C2=A0textproc/fmtlib/pkg-plist | 21 +++++++++++++++++++++<br> =C2=A05 files changed, 63 insertions(+)<br> <br> diff --git a/textproc/Makefile b/textproc/Makefile<br> index 5dc8c7591c00..0e914e6b2e77 100644<br> --- a/textproc/Makefile<br> +++ b/textproc/Makefile<br> @@ -224,6 +224,7 @@<br> =C2=A0 =C2=A0 =C2=A0SUBDIR +=3D flex<br> =C2=A0 =C2=A0 =C2=A0SUBDIR +=3D flip<br> =C2=A0 =C2=A0 =C2=A0SUBDIR +=3D fmtlatex<br> +=C2=A0 =C2=A0 SUBDIR +=3D fmtlib<br> =C2=A0 =C2=A0 =C2=A0SUBDIR +=3D fo-aspell<br> =C2=A0 =C2=A0 =C2=A0SUBDIR +=3D foiltex<br> =C2=A0 =C2=A0 =C2=A0SUBDIR +=3D fop<br> diff --git a/textproc/fmtlib/Makefile b/textproc/fmtlib/Makefile<br> new file mode 100644<br> index 000000000000..5e23fd014b06<br> --- /dev/null<br> +++ b/textproc/fmtlib/Makefile<br> @@ -0,0 +1,24 @@<br> +PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 fmtlib<br> +PORTVERSION=3D=C2=A0 =C2=A010.1.1<br> +CATEGORIES=3D=C2=A0 =C2=A0 textproc devel<br> +<br> +MAINTAINER=3D=C2=A0 =C2=A0 <a href=3D"mailto:mi@aldan.algebra.com" target= =3D"_blank">mi@aldan.algebra.com</a><br> +COMMENT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0Modern formatting library (formerly c= ppformat)<br> +WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://fmt.dev/= " rel=3D"noreferrer" target=3D"_blank">https://fmt.dev/</a><br> +<br> +LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0MIT<br> +LICENSE_FILE=3D=C2=A0 ${WRKSRC}/LICENSE.rst<br> +<br> +USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cmake<br> +<br> +USE_GITHUB=3D=C2=A0 =C2=A0 uh-huh<br> +GH_ACCOUNT=3D=C2=A0 =C2=A0 fmtlib<br> +GH_PROJECT=3D=C2=A0 =C2=A0 fmt<br> +<br> +OPTIONS_DEFINE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 TEST<br> +<br> +CMAKE_ON=3D=C2=A0 =C2=A0 =C2=A0 BUILD_SHARED_LIBS<br> +TEST_CMAKE_OFF=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 -DFMT_TEST=3D0<br> +TEST_TEST_TARGET=3D=C2=A0 =C2=A0 =C2=A0 test<br> +<br> +.include <<a href=3D"http://bsd.port.mk" rel=3D"noreferrer" target=3D"_= blank">bsd.port.mk</a>><br> diff --git a/textproc/fmtlib/distinfo b/textproc/fmtlib/distinfo<br> new file mode 100644<br> index 000000000000..8d6b901b426a<br> --- /dev/null<br> +++ b/textproc/fmtlib/distinfo<br> @@ -0,0 +1,3 @@<br> +TIMESTAMP =3D 1702878142<br> +SHA256 (fmtlib-fmt-10.1.1_GH0.tar.gz) =3D 78b8c0a72b1c35e4443a7e308df52498= 252d1cefc2b08c9a97bc9ee6cfe61f8b<br> +SIZE (fmtlib-fmt-10.1.1_GH0.tar.gz) =3D 851454<br> diff --git a/textproc/fmtlib/pkg-descr b/textproc/fmtlib/pkg-descr<br> new file mode 100644<br> index 000000000000..c80bbd5f4ed5<br> --- /dev/null<br> +++ b/textproc/fmtlib/pkg-descr<br> @@ -0,0 +1,14 @@<br> +{fmt} is an open-source formatting library providing a fast and<br> +safe alternative to C stdio and C++ iostreams.<br> +<br> +* Simple format API with positional arguments for localization<br> +* Implementation of C++20 std::format and C++23 std::print<br> +* Format string syntax similar to Python's format<br> +* Fast IEEE 754 floating-point formatter with correct rounding, shortness<= br> +=C2=A0 and round-trip guarantees using the Dragonbox algorithm<br> +* Portable Unicode support<br> +* Safe printf implementation including the POSIX extension for<br> +=C2=A0 positional arguments<br> +<br> +If you like this project, please consider donating to one of the<br> +funds that help victims of the war in Ukraine: <a href=3D"http://www.stopp= utin.net/" rel=3D"noreferrer" target=3D"_blank">www.stopputin.net/</a><br> diff --git a/textproc/fmtlib/pkg-plist b/textproc/fmtlib/pkg-plist<br> new file mode 100644<br> index 000000000000..d4356647f3e4<br> --- /dev/null<br> +++ b/textproc/fmtlib/pkg-plist<br> @@ -0,0 +1,21 @@<br> +lib/libfmt.so.10.1.0<br> +lib/libfmt.so.10<br> +lib/libfmt.so<br> +include/fmt/args.h<br> +include/fmt/chrono.h<br> +include/fmt/color.h<br> +include/fmt/compile.h<br> +include/fmt/core.h<br> +include/fmt/format.h<br> +include/fmt/format-inl.h<br> +include/fmt/os.h<br> +include/fmt/ostream.h<br> +include/fmt/printf.h<br> +include/fmt/ranges.h<br> +include/fmt/std.h<br> +include/fmt/xchar.h<br> +lib/cmake/fmt/fmt-config.cmake<br> +lib/cmake/fmt/fmt-config-version.cmake<br> +lib/cmake/fmt/fmt-targets.cmake<br> +lib/cmake/fmt/fmt-targets-release.cmake<br> +libdata/pkgconfig/fmt.pc<br> </blockquote></div> --000000000000e6438a060cc34288--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB_qb6-yAVTWoUDND9hjcib2kFMoYVbpUTY81y9K7u68q1Omrg>