public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maxim Koltsov" <maksbotan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/maksbotan:master commit in: dev-libs/caffe/
Date: Fri, 13 Mar 2015 17:24:57 +0000 (UTC)	[thread overview]
Message-ID: <1426267340.3dab63bbd08722062dbd1a01ca05f5813751393f.maksbotan@gentoo> (raw)

commit:     3dab63bbd08722062dbd1a01ca05f5813751393f
Author:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 13 17:22:20 2015 +0000
Commit:     Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 13 17:22:20 2015 +0000
URL:        https://gitweb.gentoo.org/dev/maksbotan.git/commit/?id=3dab63bb

Add 'if use python' block in src_install for caffe

Package-Manager: portage-2.2.17
Manifest-Sign-Key: F8DBDADE

 dev-libs/caffe/Manifest          | 16 +++++++++++++++-
 dev-libs/caffe/caffe-9999.ebuild | 12 +++++++-----
 2 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/dev-libs/caffe/Manifest b/dev-libs/caffe/Manifest
index fd218ac..e15b858 100644
--- a/dev-libs/caffe/Manifest
+++ b/dev-libs/caffe/Manifest
@@ -1,2 +1,16 @@
-EBUILD caffe-9999.ebuild 2849 SHA256 158e1ed5ebe1c861dcff44d474cfd3a785f2af25226c66ac1e96bc68a07e03d0 SHA512 f8bd7462bb8c8af0537a87cb33c5ddcc55d499556f1554f92326cac689a9542eca90619c15950855a87316b6f9888e6d4fcff2f8dbe93b030492a170a4a6e992 WHIRLPOOL 9205c209bd6c7675d09dc4d44ad998eb82d50fc80a89a10daf52ef15ab5a87718104f971ff7b4f02d2abec25ead60a434688c8d39c28d70177232ec9d55c66ef
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+EBUILD caffe-9999.ebuild 2879 SHA256 c0c0c42e48d5ddcb8b85b67e781e7b8aedc29b52c1b46a325396c0f9570cf1e0 SHA512 e9b1357931f4fd2943dc6f9bb21020d83ec16daf891faa4238c4ceace384bc1ee3d08eb5ea8c171cf6fb0be561e977d233c9ec11dcdf0d335b6df59a6b7a3aa7 WHIRLPOOL 5e9a519f79148448f9f32fb4d42f301f1d7d74bf98e514ee469c99f1b78c1719c30a8dc11d0c82db97b772ed56dde5e0d6f74c03bd82992bfcc96ed777cccaf2
 MISC metadata.xml 305 SHA256 bf868a44e6d34e3495a705d30149d16294c294141ae4b87eb0c7a2949df0d83c SHA512 a124af1bf9b9d853cd09e411b3a0558ba0b7b04b3e65c7c0625cacf5e4cbbf5e4bab747b0dab9318c2da042668ac9be79d47bb66049bf32f934221808101a2cc WHIRLPOOL 5be2ce659ffc4a20111c3ef3d827709b0ba150f7bc60aa17f1c17986aa7ac7670f775ded2850977f5f84054343a4efe52e828bfd4775003dc725ec4f43d772a1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAEBCAAGBQJVAxzMAAoJEAmJmMX429rekIkH/3yrO6/uL2DGoUecOtnQ5hBO
+ub+85yrMqbvFFHBVFQiJrrTii6roxq2aEOcUOnrpgVp7PfVkL7Ijt/EOn3/XjR9d
+s/WbFBHUAe0XP3yPq/7UCKOrjSitBVJikFFRf347KWXZx96W2MN21WkI39BNFj3c
+5hYNZbYHOYkHMnBzENJds5TGgDVmTLY4AQeuqx/8MYYSWnCDKF8sfVcAZ6Sydddk
+ZfxDoDEBnLA8L6oEAbtCZww78pZPZb65CbY+A/nC9wkiOFsBmWSRk7zOPwgolyQr
+6AEBJJ0g/p/QbUUZ+KgjaMe2dyPGn8vtgw6xR4QPGxc0CKt6+A1Fr9fWuGBICC4=
+=iLCh
+-----END PGP SIGNATURE-----

diff --git a/dev-libs/caffe/caffe-9999.ebuild b/dev-libs/caffe/caffe-9999.ebuild
index 5472075..2595655 100644
--- a/dev-libs/caffe/caffe-9999.ebuild
+++ b/dev-libs/caffe/caffe-9999.ebuild
@@ -125,9 +125,11 @@ src_install() {
 	dolib.a distribute/lib/libcaffe.a
 	dolib.so distribute/lib/libcaffe.so
 
-	rm distribute/python/caffe/_caffe.cpp || die "rm failed"
-	python_domodule distribute/python/caffe
-	for script in distribute/python/*.py; do
-		python_doscript ${script}
-	done
+	if use python; then
+		rm distribute/python/caffe/_caffe.cpp || die "rm failed"
+		python_domodule distribute/python/caffe
+		for script in distribute/python/*.py; do
+			python_doscript ${script}
+		done
+	fi
 }


             reply	other threads:[~2015-03-13 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13 17:24 Maxim Koltsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-28 19:53 [gentoo-commits] dev/maksbotan:master commit in: dev-libs/caffe/ Maxim Koltsov
2015-03-13 17:26 Maxim Koltsov
2015-03-13 17:18 Maxim Koltsov

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=1426267340.3dab63bbd08722062dbd1a01ca05f5813751393f.maksbotan@gentoo \
    --to=maksbotan@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