From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BEE241382C5 for ; Tue, 10 Apr 2018 00:41:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDF98E08F2; Tue, 10 Apr 2018 00:41:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A01F8E08F2 for ; Tue, 10 Apr 2018 00:41:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4EDA2335C05 for ; Tue, 10 Apr 2018 00:41:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3E3C260 for ; Tue, 10 Apr 2018 00:41:12 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1523319982.5ae0aea7fe50cf9217903949e1fd794b67535889.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/editorconfig-core-c/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/editorconfig-core-c/Manifest app-text/editorconfig-core-c/editorconfig-core-c-0.12.2.ebuild X-VCS-Directories: app-text/editorconfig-core-c/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 5ae0aea7fe50cf9217903949e1fd794b67535889 X-VCS-Branch: master Date: Tue, 10 Apr 2018 00:41:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9116e6e0-099d-4404-b798-efd4eb530771 X-Archives-Hash: 6d92f66dc631a37277f1b97de004cb90 commit: 5ae0aea7fe50cf9217903949e1fd794b67535889 Author: Manuel Rüger gentoo org> AuthorDate: Tue Apr 10 00:26:22 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Apr 10 00:26:22 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae0aea7 app-text/editorconfig-core-c: Version bump to 0.12.2 Package-Manager: Portage-2.3.28, Repoman-2.3.9 app-text/editorconfig-core-c/Manifest | 1 + .../editorconfig-core-c-0.12.2.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app-text/editorconfig-core-c/Manifest b/app-text/editorconfig-core-c/Manifest index f70adae767a..2433f69490a 100644 --- a/app-text/editorconfig-core-c/Manifest +++ b/app-text/editorconfig-core-c/Manifest @@ -1 +1,2 @@ DIST editorconfig-core-c-0.12.1.tar.gz 65369 BLAKE2B 30296b64bd215a8b51d3b4d6146ce5eac13cb1a8ba8a25d0faabcc22989503d9d73bc138240b475eb7ea4eecd5f5bbbf347519b1696373daf55ffd27fc772f4c SHA512 3517f7db84d632615ba651eeafab6730739b7bf01f4ea34fbca65f58463fbbcbabc101587b289a7922b55708453262c65569077c51087424d47d0676dc1db686 +DIST editorconfig-core-c-0.12.2.tar.gz 67002 BLAKE2B 6b808366acc8d0a96fc47cb74d620a4028978d7114b4a64d6799527276442f1d39ba8d5611530f873c78b7c49893c5edecec84dcc6f2616ba2663cb36fa92d0d SHA512 6ab3e4f7f95c83c0781064ca15bb70394bb947f9d4cd1348224f02e25c65021d14439b913775d7cfafb93476158799c34438fa548adf3c7ec6dbfd6f1052a046 diff --git a/app-text/editorconfig-core-c/editorconfig-core-c-0.12.2.ebuild b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.2.ebuild new file mode 100644 index 00000000000..1bfe84ca069 --- /dev/null +++ b/app-text/editorconfig-core-c/editorconfig-core-c-0.12.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="EditorConfig core library written in C" +HOMEPAGE="https://github.com/editorconfig/editorconfig-core-c/" +SRC_URI="https://github.com/editorconfig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="cli doc" +CDEPEND="dev-libs/libpcre:=" +DEPEND="${CDEPEND} + doc? ( app-doc/doxygen )" +RDEPEND="${CDEPEND} + cli? ( !dev-python/editorconfig-core-py[cli] )" + +src_prepare() { + sed -e 's:OUTPUT_NAME editorconfig_static:OUTPUT_NAME editorconfig:' \ + -i src/lib/CMakeLists.txt || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=() + use doc && mycmakeargs+=(-DINSTALL_HTML_DOC=ON) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + use cli || rm -rf "${ED}usr/bin" +}