commit: a7bb963c619741bbc4e00331c93fb50f60f1faef Author: Craig Andrews <candrews <AT> integralblue <DOT> com> AuthorDate: Mon Mar 6 20:46:32 2017 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Mar 7 21:56:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7bb963c
dev-libs/libfmt: Small, safe and fast formatting library Bug: https://bugs.gentoo.org/show_bug.cgi?id=611804 Package-Manager: Portage-2.3.4, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4143 dev-libs/libfmt/Manifest | 1 + dev-libs/libfmt/libfmt-3.0.1.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-libs/libfmt/libfmt-9999.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-libs/libfmt/metadata.xml | 16 ++++++++++++++++ 4 files changed, 83 insertions(+) diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest new file mode 100644 index 00000000000..ed842be51a8 --- /dev/null +++ b/dev-libs/libfmt/Manifest @@ -0,0 +1 @@ +DIST libfmt-3.0.1.tar.gz 606603 SHA256 dce62ab75a161dd4353a98364feb166d35e7eea382169d59d9ce842c49c55bad SHA512 daf5dfb2fe63eb611983fa248bd2182c6202cf1c4f0fc236f357040fce8e87ad531cdf59090306bb313ea333d546e516f467b385e05094e696d0ca091310aad6 WHIRLPOOL 775f9dc9228fbd429e4dbad90d536b69542fb583e44dba9eda950267bae82938b2703726481ff02fbab0cb9efe78b46501f4b82e20cfef550313b7653f6cb963 diff --git a/dev-libs/libfmt/libfmt-3.0.1.ebuild b/dev-libs/libfmt/libfmt-3.0.1.ebuild new file mode 100644 index 00000000000..aa04d6331ef --- /dev/null +++ b/dev-libs/libfmt/libfmt-3.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="git://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +src_configure() { + local mycmakeargs=( + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/libfmt-9999.ebuild b/dev-libs/libfmt/libfmt-9999.ebuild new file mode 100644 index 00000000000..aa04d6331ef --- /dev/null +++ b/dev-libs/libfmt/libfmt-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +LICENSE="BSD-2" +IUSE="test" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="git://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +DEPEND="" +RDEPEND="" + +src_configure() { + local mycmakeargs=( + -DFMT_TEST=$(usex test) + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +} diff --git a/dev-libs/libfmt/metadata.xml b/dev-libs/libfmt/metadata.xml new file mode 100644 index 00000000000..7891bb997fa --- /dev/null +++ b/dev-libs/libfmt/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/fmtlib/fmt/issues</bugs-to> + <remote-id type="github">fmtlib/fmt</remote-id> + </upstream> +</pkgmetadata>
