public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-util/bcm/files/, dev-util/bcm/
@ 2019-12-01  4:37 Benda XU
  0 siblings, 0 replies; only message in thread
From: Benda XU @ 2019-12-01  4:37 UTC (permalink / raw
  To: gentoo-commits

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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-01  4:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-01  4:37 [gentoo-commits] proj/sci:master commit in: dev-util/bcm/files/, dev-util/bcm/ Benda XU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox