diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/tomlplusplus/Manifest | 2 | ||||
| -rw-r--r-- | dev-cpp/tomlplusplus/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-cpp/tomlplusplus/tomlplusplus-3.4.0.ebuild | 37 |
3 files changed, 36 insertions, 12 deletions
diff --git a/dev-cpp/tomlplusplus/Manifest b/dev-cpp/tomlplusplus/Manifest index e56e8881ad10..8fdc90bd67a4 100644 --- a/dev-cpp/tomlplusplus/Manifest +++ b/dev-cpp/tomlplusplus/Manifest @@ -1 +1 @@ -DIST tomlplusplus-3.4.0.tar.gz 1294731 BLAKE2B 9495ccd78707ced11744eab7c1c0bf0c0c28e283d186195bb48d1059bae7eb1a874bc964b0fc45210fd73ffd7485ecf3e1159da227d0e1c8ff249e79c08eecf0 SHA512 c227fc8147c9459b29ad24002aaf6ab2c42fac22ea04c1c52b283a0172581ccd4527b33c1931e0ef0d1db6b6a53f9e9882c6d4231c7f3494cf070d0220741aa5 +DIST tomlplusplus-3.4.0.gh.tar.gz 1294731 BLAKE2B 9495ccd78707ced11744eab7c1c0bf0c0c28e283d186195bb48d1059bae7eb1a874bc964b0fc45210fd73ffd7485ecf3e1159da227d0e1c8ff249e79c08eecf0 SHA512 c227fc8147c9459b29ad24002aaf6ab2c42fac22ea04c1c52b283a0172581ccd4527b33c1931e0ef0d1db6b6a53f9e9882c6d4231c7f3494cf070d0220741aa5 diff --git a/dev-cpp/tomlplusplus/metadata.xml b/dev-cpp/tomlplusplus/metadata.xml index f70265617b82..ee00ffb5cd81 100644 --- a/dev-cpp/tomlplusplus/metadata.xml +++ b/dev-cpp/tomlplusplus/metadata.xml @@ -2,8 +2,13 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>brettalcox@gmail.com</email> + <email>julien@jroy.ca</email> + <name>Julien Roy</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-cpp/tomlplusplus/tomlplusplus-3.4.0.ebuild b/dev-cpp/tomlplusplus/tomlplusplus-3.4.0.ebuild index dccc0317a730..c239fca55478 100644 --- a/dev-cpp/tomlplusplus/tomlplusplus-3.4.0.ebuild +++ b/dev-cpp/tomlplusplus/tomlplusplus-3.4.0.ebuild @@ -1,20 +1,39 @@ -# Copyright 2023 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson -DESCRIPTION="TOML config parser and serializer for C++" -HOMEPAGE="https://github.com/marzer/tomlplusplus.git" -SRC_URI="https://github.com/marzer/tomlplusplus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="TOML config file parser and serializer" +HOMEPAGE=" +https://marzer.github.io/tomlplusplus/ +https://github.com/marzer/tomlplusplus +" +SRC_URI="https://github.com/marzer/tomlplusplus/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RDEPEND="${DEPEND}" -BDEPEND=" - dev-util/cmake - dev-util/meson -" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local emesonargs=( + -Dbuild_lib=true + -Dgenerate_cmake_config=true + -Duse_vendored_libs=true # for test dependencies, header only and very restrictive version requirements + $(meson_use test build_tests) + ) + + meson_src_configure +} + +src_test() { + local emesontestargs=( + 'tests - C' + ) + + meson_src_test "${emesontestargs[@]}" +} |
