public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-util/bcm/files/, dev-util/bcm/
Date: Sun,  1 Dec 2019 04:37:20 +0000 (UTC)	[thread overview]
Message-ID: <1575174924.da31ca887c55d497ef971ee5f097fa92195e3a81.heroxbd@gentoo> (raw)

commit:     da31ca887c55d497ef971ee5f097fa92195e3a81
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  1 03:32:42 2019 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 04:35:24 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=da31ca88

dev-util/bcm: initial commit of 0.0.1_p20191110.

  This is included as a dependency of sci-physics/opticks.

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-util/bcm/bcm-0.0.1_p20191110.ebuild             | 18 ++++++++++++++++++
 dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch | 13 +++++++++++++
 dev-util/bcm/metadata.xml                           |  7 +++++++
 3 files changed, 38 insertions(+)

diff --git a/dev-util/bcm/bcm-0.0.1_p20191110.ebuild b/dev-util/bcm/bcm-0.0.1_p20191110.ebuild
new file mode 100644
index 000000000..3b3bb1c2a
--- /dev/null
+++ b/dev-util/bcm/bcm-0.0.1_p20191110.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Boost cmake modules"
+HOMEPAGE="http://bcm.readthedocs.io"
+
+EGIT_REPO_URI="https://github.com/simoncblyth/bcm.git"
+EGIT_COMMIT="2045990a6ace40eb4c4a9f6e5cc1aeeaf7a05fc9"
+KEYWORDS="~amd64"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+
+PATCHES=( "${FILESDIR}"/bcm-0.0.1_donot-send-error.patch )

diff --git a/dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch b/dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch
new file mode 100644
index 000000000..17c1c51ea
--- /dev/null
+++ b/dev-util/bcm/files/bcm-0.0.1_donot-send-error.patch
@@ -0,0 +1,13 @@
+Index: bcm-0.0.1_p20191110/share/bcm/cmake/BCMExport.cmake
+===================================================================
+--- bcm-0.0.1_p20191110.orig/share/bcm/cmake/BCMExport.cmake
++++ bcm-0.0.1_p20191110/share/bcm/cmake/BCMExport.cmake
+@@ -12,7 +12,7 @@ function(bcm_get_target_package_source O
+         if(TARGET_IMPORTED OR TARGET_ALIAS)
+             get_property(TARGET_FIND_PACKAGE_NAME TARGET ${TARGET} PROPERTY INTERFACE_FIND_PACKAGE_NAME)
+             if(NOT TARGET_FIND_PACKAGE_NAME)
+-                message(SEND_ERROR "The target ${TARGET_FIND_PACKAGE_NAME} does not have information about find_package() call.")
++                message(AUTHOR_WARNING "The target ${TARGET_FIND_PACKAGE_NAME} does not have information about find_package() call.")
+             endif()
+             set(PKG_NAME ${TARGET_FIND_PACKAGE_NAME})
+             get_property(TARGET_FIND_PACKAGE_VERSION TARGET ${TARGET} PROPERTY INTERFACE_FIND_PACKAGE_VERSION)

diff --git a/dev-util/bcm/metadata.xml b/dev-util/bcm/metadata.xml
new file mode 100644
index 000000000..7203fb853
--- /dev/null
+++ b/dev-util/bcm/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>heroxbd@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>


                 reply	other threads:[~2019-12-01  4:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1575174924.da31ca887c55d497ef971ee5f097fa92195e3a81.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox