From 2b67692c269ef3c067d96a6be4aa278e9f35d3ea Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Thu, 4 Nov 2021 20:36:58 -0700 Subject: [PATCH] dev-libs/mustach: Bump to 1.2.2 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ryan Fox --- dev-libs/mustach/Manifest | 2 ++ dev-libs/mustach/mustach-1.2.2.ebuild | 48 +++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-libs/mustach/mustach-1.2.2.ebuild diff --git a/dev-libs/mustach/Manifest b/dev-libs/mustach/Manifest index a4cbb55..f9e31fa 100644 --- a/dev-libs/mustach/Manifest +++ b/dev-libs/mustach/Manifest @@ -4,10 +4,12 @@ DIST mustach-1.1.0.tar.gz 27343 BLAKE2B 6bd38b6815a21aa5bc74b8b398a385651f295dd5 DIST mustach-1.1.1.tar.gz 28676 BLAKE2B 0c606c2f01718b9ec1f1a620bc994d197dfeb2b8689c1695ac0d9305f53d25cbf2d1cef7c8e2f81d0bfeee555d4a6149817113aff04abcf96d1213fd89d53d30 SHA512 7210e418533a168a3e6f3948c78e84077b38e3d96aa25b21ed6013f3c42f068d1eb2a5790ebf8bc0fa5a206fc0e79e0c14228ec5e662d41697222fc902084aaa DIST mustach-1.2.0.tar.gz 36005 BLAKE2B 42383409cc315a798399e98c0e1adf5767261d118b29ad8fa7231d25f9a5d2d45ea63af96b36c301f8e7ad406655f42fb64cd769b331948494e0317a3cb0a44e SHA512 9200f750246d6251422593b229ae2949c8cbc9f698278ac971a9e474c8050f0f42c6e5a20ad50b2f4626a7d982f55dd699b7594ee297d3933666e7723302b357 DIST mustach-1.2.1.tar.gz 36222 BLAKE2B 2275e879f1615a328ff5631b9b529f0dbf8496786dde99737afad7e0c3cafe0dbc1d7e1c3525afd16f48f8b9e3d7e770d1e9b826ca42f02fc2d74b2e1df529f9 SHA512 aacf11a4f443f7311ad5101bf69c2ed0d1f3af8e4f355ceeef2e4968845871972dd8a789cec905187f37ce3a11109df706e94a966c7439da3d0f1126c6568beb +DIST mustach-1.2.2.tar.gz 36229 BLAKE2B 7f52e70269b6d6f94c96099cddf8d008bf53edd036c4adb1e5d3ffa9e93b61e22d130151d36183868187371d4f48d2f747aa23f8af46427911c75d3fff87257f SHA512 d714dd5a0c58d9bd23826cd56f91b0ad04ff0bb0733b0dfca41100219436ab90b42b8fd3878932f5101cfd2a4f6ae3c85dcaea9010521ef1a17dd00e980363a7 EBUILD mustach-0.99.ebuild 811 BLAKE2B b7d83a3f937d4776da633016a796d390a74df42f5f0ddcf445b529289bd3bf0641cc6b1ebfb20f1f8fe561a4f0f4488440038783a687f4ccdc9513e245af4029 SHA512 5cd1e393838b6e4a513caa71199ab745ed17f4d9838aefa40480f4cfddfe6b17e7045e3f2c33dbcb6caaf98fbd4a489530b9a0c8e5ea9de6c3b1b61c9a7a51ed EBUILD mustach-1.1.0.ebuild 1138 BLAKE2B 9ac93b16d428239dd644a6ffc030f1ffde1b427cbecf5991ab0c5543fff1b4cfb525af57d47ec45654ea5a09489d3ca537d774b42d9d3f1898564a2219c7f5be SHA512 8084a36a09d0769a84a73a7e4c55359771af52b9a33387cebf21cf43895c0e4a6f93356bce62cadc7f6ae978945a29ad376a10526f07880cbb739e4e26c7892e EBUILD mustach-1.1.1.ebuild 1138 BLAKE2B 9ac93b16d428239dd644a6ffc030f1ffde1b427cbecf5991ab0c5543fff1b4cfb525af57d47ec45654ea5a09489d3ca537d774b42d9d3f1898564a2219c7f5be SHA512 8084a36a09d0769a84a73a7e4c55359771af52b9a33387cebf21cf43895c0e4a6f93356bce62cadc7f6ae978945a29ad376a10526f07880cbb739e4e26c7892e EBUILD mustach-1.2.0.ebuild 1191 BLAKE2B 91a86f0786861205c102852d59592b4bcfa75ff75ac4d2dd0784f5a7491e19a427c799abf8e663f1b44eca1692f6afc73996ddcb7bb6cc3890920bf553904ee1 SHA512 7d397afb28ffeb8e0384110a5ac6dcc8f934168c1a2dfe80758c72b6e94775b61357d9d6694924f2826068226db32e553e63b3f4e6ec4f836aeade99e7aa023f EBUILD mustach-1.2.1.ebuild 1138 BLAKE2B 5431d0f809998aceb4b008f2d62e8d2e296d2016e81cbf3fe7871050967359188671ae6c6f89f450116d6ca28ab5f8c358a839a1c1b8a2cb79b500c099fff2a8 SHA512 26b8268ff04d325872211950e17e2cbc74f4efb3e78c5ca43dfcb8b0054eefb2c52919ca60e717f8fd59ee55bd4566874713f4c4d6f663a125b71e5208d2a8ae +EBUILD mustach-1.2.2.ebuild 1138 BLAKE2B 5431d0f809998aceb4b008f2d62e8d2e296d2016e81cbf3fe7871050967359188671ae6c6f89f450116d6ca28ab5f8c358a839a1c1b8a2cb79b500c099fff2a8 SHA512 26b8268ff04d325872211950e17e2cbc74f4efb3e78c5ca43dfcb8b0054eefb2c52919ca60e717f8fd59ee55bd4566874713f4c4d6f663a125b71e5208d2a8ae EBUILD mustach-9999.ebuild 1138 BLAKE2B 5431d0f809998aceb4b008f2d62e8d2e296d2016e81cbf3fe7871050967359188671ae6c6f89f450116d6ca28ab5f8c358a839a1c1b8a2cb79b500c099fff2a8 SHA512 26b8268ff04d325872211950e17e2cbc74f4efb3e78c5ca43dfcb8b0054eefb2c52919ca60e717f8fd59ee55bd4566874713f4c4d6f663a125b71e5208d2a8ae MISC metadata.xml 622 BLAKE2B 20f61b5b1c51860d3a5b6ebb431c8e331fdc2c955d365da7d900b4923b80594f439955a45e1f60dac782fbde2623e8443502cded3a4b88a35f8f8ebd440ea623 SHA512 fdefd65764457724f113eb3c82e0aa2654d73225b651278b1395f5d516532c0fe997e4fde68c85c3b36680884321cbbab8d2fda4399b7823f850d9e790860a82 diff --git a/dev-libs/mustach/mustach-1.2.2.ebuild b/dev-libs/mustach/mustach-1.2.2.ebuild new file mode 100644 index 0000000..76cb91a --- /dev/null +++ b/dev-libs/mustach/mustach-1.2.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://gitlab.com/jobol/mustach/-/archive/${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +else + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/jobol/mustach.git" +fi + +DESCRIPTION="C implementation of mustache templating" +HOMEPAGE="https://gitlab.com/jobol/mustach" +LICENSE="ISC" +SLOT="0" +IUSE="tool json-c jansson" +REQUIRED_USE="tool? ( || ( json-c jansson ) )" + +DEPEND=" + json-c? ( dev-libs/json-c ) + jansson? ( dev-libs/jansson ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +SOVER=".1" +SOVEREV=".1.2" + +src_compile() { + emake jsonc=$(usex json-c) cjson=no jansson=$(usex jansson) libs=all +} + +src_install() { + LIBDIR="/usr/$(get_libdir)" + dodir "${LIBDIR}/pkgconfig" + for dso in "${S}/"*".so${SOVEREV}"; do + dolib.so "${dso}" + dso=${dso##*/} + dosym "${dso}" "${LIBDIR}/${dso::-2}" + dosym "${dso}" "${LIBDIR}/${dso::-4}" + done + use tool && dobin "${S}/mustach" + cp "${S}/libmustach"*".pc" "${D}${LIBDIR}/pkgconfig" + gzip -d "${S}/mustach${SOVER}.gz" + doman "${S}/mustach${SOVER}" +}