From 14ac0eebc8175c63c58bb68315d739e0ec8aa2e3 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 21 Jun 2018 20:35:06 +0200 Subject: [PATCH] Fixed QA issues in dev/cpp --- dev-cpp/curlpp/Manifest | 1 - dev-cpp/curlpp/metadata.xml | 8 +++ dev-cpp/mastodon-cpp/Manifest | 6 +- .../mastodon-cpp/mastodon-cpp-0.15.1.ebuild | 5 +- .../mastodon-cpp/mastodon-cpp-0.16.1.ebuild | 5 +- .../mastodon-cpp/mastodon-cpp-0.17.1.ebuild | 3 + dev-cpp/mastodon-cpp/mastodon-cpp-9999.ebuild | 65 ++++++++++--------- dev-cpp/mastodon-cpp/metadata.xml | 8 +++ 8 files changed, 61 insertions(+), 40 deletions(-) create mode 100644 dev-cpp/curlpp/metadata.xml create mode 100644 dev-cpp/mastodon-cpp/metadata.xml diff --git a/dev-cpp/curlpp/Manifest b/dev-cpp/curlpp/Manifest index 4d8f07242..547318424 100644 --- a/dev-cpp/curlpp/Manifest +++ b/dev-cpp/curlpp/Manifest @@ -1,2 +1 @@ DIST curlpp-0.8.1.tar.gz 143017 BLAKE2B 7f3911499b42077c9f108b0355005744300383836a1c82dcba80207482b231527482fb17dcd78a7f288903e996afaf49a4478c7cb5c821bf597b26f4450a430b SHA512 a46b47150c0f0f1f0056e08966ce2fefa5e86fc729406e0220fbcf400da5409f05c87b636b13da3c4d4460c1177aedb494b9569bbcd9012326d4d5f59376397e -EBUILD curlpp-0.8.1.ebuild 608 BLAKE2B bcc803602079fcb80654f621409b31819b1ae82fb395cebaa17647c7a70c045381e45bab6504c59b92d14da2c1fa8a65398492ac9dd479fd89142062ccd63dc8 SHA512 cdb79f2a8298d977212534c40e2eae2e88043364ada53838b337ce22155da053850a28429772db9b6f4113614d7743701ca4d6c9f6001d64ce0d05d8df266a6a diff --git a/dev-cpp/curlpp/metadata.xml b/dev-cpp/curlpp/metadata.xml new file mode 100644 index 000000000..d68ff962c --- /dev/null +++ b/dev-cpp/curlpp/metadata.xml @@ -0,0 +1,8 @@ + + + + + gentoo@tastytea.de + tastytea + + diff --git a/dev-cpp/mastodon-cpp/Manifest b/dev-cpp/mastodon-cpp/Manifest index 5cd040ee5..f6cfd157c 100644 --- a/dev-cpp/mastodon-cpp/Manifest +++ b/dev-cpp/mastodon-cpp/Manifest @@ -1,7 +1,3 @@ -DIST mastodon-cpp-0.10.1.tar.gz 48709 BLAKE2B 67ff2680a2b3dc5c90c43981d1b558f809d37865a122136edc0aed5192df858682f465aa304b9dfd1d00b6a00778d494cc7fee7f0efc32af3884a4da4e002a36 SHA512 5b1557c5ec027c21d3d14b7067e473c131dde699592a2f434090979285ad2ee2f89b4e3a664264b99b1e5c42a4b271c565b2c008c34ea78927733c7b4290fd98 -DIST mastodon-cpp-0.12.0.tar.gz 51931 BLAKE2B fdf08a8dbe9a5b29a37f32ea3156e74b68c84c85737c8717a0eb52d2a6e6ded2602b1817b2014c71e2f9144fd60135a6c0d6c5b222b57f71d0600f298fb2d721 SHA512 407e80d2e92a45214a83ee9659d2014c89e11df3e9d0af9f9094775cb459b086964d64de097d5f8ded3e3a20c8b9f02c0567044952c1fbaadd3b215efb75c1d7 -DIST mastodon-cpp-0.12.1.tar.gz 52000 BLAKE2B c9a1755d910b48c5241ec796f1104c7ea790c29fdd6f8c21eb5e5bde51f0a8cf4357379c0690754fe4612667bde28b0c422d4e4fe4e8105694b54fad9e1b3559 SHA512 488fb3406aeb50804f8333bdd8958f981bdc0718edcafb3ee2db807f61c11547804ca9c2d03361afcd6ceab62f585abdec27a25d25cd24d087bf19112a20e324 -DIST mastodon-cpp-0.13.1.tar.gz 52884 BLAKE2B 2c8b37e32d7cb599d70269528c9b57117a35d11f88f8386ec27de636244c66badc658f5367043cb097c46a69a0d154fedb273c68165cc709274b168231d01fa3 SHA512 474583aae0bd6f78ea98c70cb6acca24757ed3ef66a7c2c5b016db2906f5caf5e32cfa237b6246222b6f7d98e9394a05770a8264dd00dd786f4fc06ac7eab2a3 -DIST mastodon-cpp-0.14.0.tar.gz 53734 BLAKE2B e3f391e02c541de3fb4889f7e98b66fbb12b11dd1a3ca393eebbaa775e68618e041c5197db3b61cab15ec1b4c2d9b99f109a2e701eb86af25437a029ca25d304 SHA512 f674ed84a8eb86d1c6ff87f6e343ec72c8c8cca271bd4741528b42a094aa87f03a46a662c35f39a416e717e6823d3e3df4973d06eb1a0d172873f980470f1164 DIST mastodon-cpp-0.15.1.tar.gz 54270 BLAKE2B c5f01dcc615cb5a94dc40adbbdf47a4253472d752b63a04ac29b99ece3a67cbe5aedc955683a35492aa8d96f3975a443444fffed2d5d2c6055de5762a1f10aff SHA512 fe72c4cb0d8f15d01290f9fec317bc7c49b3d9fc2460f04f1639e3ae658bd1b1c1ad4f29c84efccac86a140584ca62dafa17ab14469bc3242d767b3cecb0a4ac DIST mastodon-cpp-0.16.1.tar.gz 55378 BLAKE2B c1d02b5554f57df105666fe7d0fa3bc28113691de9c67e0bdd591e3fe1f0b6201bc0069814d317740e047b3a2dd105f4d471818f73c320c3d711236648b38caf SHA512 15f7e34090cc058be309dd2b89fb96f4f704e351de0414eb19afefad7f6f0d60b56d20606cf8206772370199e9e32e09c349a26c36b2503d420ed561db2107af +DIST mastodon-cpp-0.17.1.tar.gz 57343 BLAKE2B 52e6a4981ea083821dd04ff32dcb7a387210986272abed9a3f0024da473a7d47c7174861323ecd4871e4426f9d22d42ca305cc51c9928b8de278fe4d30841fa4 SHA512 caec275990e2e5e2fddf6c25044ac8b2af2da8ac05f0084c726a452d147f88f69269c238c6cc47a23696285b8181fbd5fc201899e5cac8815c80fd43dc87dce1 diff --git a/dev-cpp/mastodon-cpp/mastodon-cpp-0.15.1.ebuild b/dev-cpp/mastodon-cpp/mastodon-cpp-0.15.1.ebuild index 77b15c27c..7e654d90b 100644 --- a/dev-cpp/mastodon-cpp/mastodon-cpp-0.15.1.ebuild +++ b/dev-cpp/mastodon-cpp/mastodon-cpp-0.15.1.ebuild @@ -1,3 +1,6 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + EAPI=6 inherit cmake-utils @@ -53,6 +56,6 @@ src_install() { dodoc ${file} done fi - + cmake-utils_src_install } diff --git a/dev-cpp/mastodon-cpp/mastodon-cpp-0.16.1.ebuild b/dev-cpp/mastodon-cpp/mastodon-cpp-0.16.1.ebuild index 77b15c27c..7e654d90b 100644 --- a/dev-cpp/mastodon-cpp/mastodon-cpp-0.16.1.ebuild +++ b/dev-cpp/mastodon-cpp/mastodon-cpp-0.16.1.ebuild @@ -1,3 +1,6 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + EAPI=6 inherit cmake-utils @@ -53,6 +56,6 @@ src_install() { dodoc ${file} done fi - + cmake-utils_src_install } diff --git a/dev-cpp/mastodon-cpp/mastodon-cpp-0.17.1.ebuild b/dev-cpp/mastodon-cpp/mastodon-cpp-0.17.1.ebuild index 2eb50c126..bb2694dee 100644 --- a/dev-cpp/mastodon-cpp/mastodon-cpp-0.17.1.ebuild +++ b/dev-cpp/mastodon-cpp/mastodon-cpp-0.17.1.ebuild @@ -1,3 +1,6 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + EAPI=6 inherit cmake-utils diff --git a/dev-cpp/mastodon-cpp/mastodon-cpp-9999.ebuild b/dev-cpp/mastodon-cpp/mastodon-cpp-9999.ebuild index f93b2d7e9..4e52dba76 100644 --- a/dev-cpp/mastodon-cpp/mastodon-cpp-9999.ebuild +++ b/dev-cpp/mastodon-cpp/mastodon-cpp-9999.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI=6 inherit git-r3 cmake-utils @@ -13,49 +12,51 @@ SLOT="0" KEYWORDS="" IUSE="doc debug examples" RDEPEND=">=dev-cpp/curlpp-0.8.1 - >=dev-libs/jsoncpp-1.8.1" + >=dev-libs/jsoncpp-1.8.1" DEPEND=">=dev-util/cmake-3.9.6 - doc? ( >=app-doc/doxygen-1.8.13-r1 ) - ${RDEPEND}" + doc? ( >=app-doc/doxygen-1.8.13-r1 ) + ${RDEPEND}" src_unpack() { - git-r3_src_unpack + git-r3_src_unpack } src_configure() { - local mycmakeargs=( - -DWITH_DOC=NO - -DWITH_EXAMPLES=NO - -DWITH_TESTS=NO - ) - if use debug; then - mycmakeargs+=(-DCMAKE_BUILD_TYPE=Debug) - else - mycmakeargs+=(-DCMAKE_BUILD_TYPE=Release) - fi - cmake-utils_src_configure + local mycmakeargs=( + -DWITH_DOC=NO + -DWITH_EXAMPLES=NO + -DWITH_TESTS=NO + ) + if use debug; then + mycmakeargs+=(-DCMAKE_BUILD_TYPE=Debug) + else + mycmakeargs+=(-DCMAKE_BUILD_TYPE=Release) + fi + + cmake-utils_src_configure } # We can not let cmake handle the documentation, because it would end up in # doc/mastodon-cpp-${PROJECT_VERSION} instead of -9999 src_compile() { - if use doc; then - ./build_doc.sh - fi - cmake-utils_src_compile + cmake-utils_src_compile + + if use doc; then + ./build_doc.sh + fi } src_install() { - if use doc; then - HTML_DOCS="doc/html/*" - fi + cmake-utils_src_install - if use examples; then - docinto examples - for file in examples/*.cpp; do - dodoc ${file} - done - fi - - cmake-utils_src_install + if use doc; then + HTML_DOCS="doc/html/*" + fi + + if use examples; then + docinto examples + for file in examples/*.cpp; do + dodoc ${file} + done + fi } diff --git a/dev-cpp/mastodon-cpp/metadata.xml b/dev-cpp/mastodon-cpp/metadata.xml new file mode 100644 index 000000000..d68ff962c --- /dev/null +++ b/dev-cpp/mastodon-cpp/metadata.xml @@ -0,0 +1,8 @@ + + + + + gentoo@tastytea.de + tastytea + +