1
0

dev-libs/mustach: Bump to 1.1.0

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2021-06-14 05:27:10 +00:00
parent ef72e4751a
commit b93cad7942
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 91 additions and 12 deletions

View File

@ -1,4 +1,6 @@
DIST mustach-0.99.tar.gz 22100 BLAKE2B 621f469e373ce5e0247570c4bfe707e6f164b2e2ebce1f4b09c21d8b417528aa32e56ea2be61b66b340215a3bd772176e9aa5725ff38ae00eaaa1ce6476c0cce SHA512 432cb6c72487bfba4103c0925271bdc7c3e7f38ed19bfec09d7ef9f9af16ecac3885ff037e94ca5d3023ffd3d5c526fcb102218d4c3ad13563406cab10e7a4b2
DIST mustach-1.1.0.tar.gz 27343 BLAKE2B 6bd38b6815a21aa5bc74b8b398a385651f295dd541845489c0073a39825a267a2737400a7db3c1bc3f617653106e88466ad6563fb7247c00fe5abf33d82ba0d5 SHA512 4ca164bf40fd64c2127878f5f4a43066c299c7522e2099677206e60001db71c3eaac7c3bc33fff7ceb33bd1abf74f21c3367665b7791e05c77da16233d0cb00d
EBUILD mustach-0.99.ebuild 811 BLAKE2B b7d83a3f937d4776da633016a796d390a74df42f5f0ddcf445b529289bd3bf0641cc6b1ebfb20f1f8fe561a4f0f4488440038783a687f4ccdc9513e245af4029 SHA512 5cd1e393838b6e4a513caa71199ab745ed17f4d9838aefa40480f4cfddfe6b17e7045e3f2c33dbcb6caaf98fbd4a489530b9a0c8e5ea9de6c3b1b61c9a7a51ed
EBUILD mustach-9999.ebuild 684 BLAKE2B 27c1d2f35817cb174df507de07800c27ad9a391daeda533519cae465c634c50c2cba5675ad57c66159c6b7f8ce6757d2b07b9cb78e41f501ac855d67fb53d708 SHA512 25406d7bf9e915d8e4dcb8124fa5203f6b48122a6aab0cd41aff1a9e9156aeacce513086ee8ba38971e5eddb438f228749a4464518bba6859535d72a8757a6d6
MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80
EBUILD mustach-1.1.0.ebuild 1138 BLAKE2B 9ac93b16d428239dd644a6ffc030f1ffde1b427cbecf5991ab0c5543fff1b4cfb525af57d47ec45654ea5a09489d3ca537d774b42d9d3f1898564a2219c7f5be SHA512 8084a36a09d0769a84a73a7e4c55359771af52b9a33387cebf21cf43895c0e4a6f93356bce62cadc7f6ae978945a29ad376a10526f07880cbb739e4e26c7892e
EBUILD mustach-9999.ebuild 1138 BLAKE2B 9ac93b16d428239dd644a6ffc030f1ffde1b427cbecf5991ab0c5543fff1b4cfb525af57d47ec45654ea5a09489d3ca537d774b42d9d3f1898564a2219c7f5be SHA512 8084a36a09d0769a84a73a7e4c55359771af52b9a33387cebf21cf43895c0e4a6f93356bce62cadc7f6ae978945a29ad376a10526f07880cbb739e4e26c7892e
MISC metadata.xml 622 BLAKE2B 20f61b5b1c51860d3a5b6ebb431c8e331fdc2c955d365da7d900b4923b80594f439955a45e1f60dac782fbde2623e8443502cded3a4b88a35f8f8ebd440ea623 SHA512 fdefd65764457724f113eb3c82e0aa2654d73225b651278b1395f5d516532c0fe997e4fde68c85c3b36680884321cbbab8d2fda4399b7823f850d9e790860a82

View File

@ -1,8 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<use>
<flag name="tool">Build the command line tool</flag>
<flag name="json-c">Build dev-libs/json-c wrapper</flag>
<flag name="jansson">Build dev-libs/jansson wrapper</flag>
</use>
<upstream>
<remote-id type="gitlab">jobol/mustach</remote-id>
<maintainer status="active">
<email>jose.bollo@iot.bzh</email>
<name>José Bollo</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -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.1"
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}"
}

View File

@ -1,10 +1,10 @@
# Copyright 2021 Gentoo Authors
# 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}/mustach-${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://gitlab.com/jobol/mustach/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
@ -15,17 +15,34 @@ 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="
dev-libs/json-c
json-c? ( dev-libs/json-c )
jansson? ( dev-libs/jansson )
"
RDEPEND="${DEPEND}"
BDEPEND=""
BDEPEND="virtual/pkgconfig"
SOVER=".1"
SOVEREV=".1.1"
src_compile() {
emake lib_LDFLAGS="-shared -Wl,-soname=libmustach.so.0.99"
emake jsonc=$(usex json-c) cjson=no jansson=$(usex jansson) libs=all
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" LIBDIR="/usr/$(get_libdir)" 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}"
}