public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/neurogeek:master commit in: dev-go/godis/
@ 2012-10-26 15:35 Jesus Rivero
  0 siblings, 0 replies; 2+ messages in thread
From: Jesus Rivero @ 2012-10-26 15:35 UTC (permalink / raw
  To: gentoo-commits

commit:     d66492d8ca7c7dad0d59dc65804e7839b70db530
Author:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 26 11:34:34 2012 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Fri Oct 26 11:34:34 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=d66492d8

Tweaks. Testing possible global variables for GO pkgs

---
 dev-go/godis/godis-0.1.ebuild |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/dev-go/godis/godis-0.1.ebuild b/dev-go/godis/godis-0.1.ebuild
index d26020f..8236da3 100644
--- a/dev-go/godis/godis-0.1.ebuild
+++ b/dev-go/godis/godis-0.1.ebuild
@@ -21,17 +21,16 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/simonz05-${PN}-${REV}"
 
+GOROOT="${ED}usr/$(get_libdir)/go"
+GOPKG="${PN}"
+
 src_prepare() {
 
 	if use examples; then
-		pushd "${S}/redis/examples" 2> /dev/null
-
 		for src in $(find . -name \*.go)
 		do
 		   sed -r "s/github.com\/simonz05\///" -i ${src}
 		done
-
-		popd 2> /dev/null
 	fi
 }
 
@@ -43,8 +42,8 @@ src_compile() {
 
 			local build_dir gopath
 
-			build_dir="${D}/build"
-			gopath="${build_dir}/src/${PN}"
+			build_dir="${S}/build"
+			gopath="${build_dir}/src/${GOPKG}"
 
 			mkdir -p $gopath
 			ln -s ${S}/$1 $gopath
@@ -65,13 +64,13 @@ src_compile() {
 src_install() {
 
 	if use examples; then
-		insinto "/usr/share/docs/${PF}/examples"
+		insinto "/usr/share/docs/${PF}/example"
 		doins redis/example/*
 
 		rm -rf redis/example
 	fi
 
-	insinto "/usr/$(get_libdir)/go/src/pkg/${PN}"
+	insinto "/usr/$(get_libdir)/go/src/pkg/${GOPKG}"
 	doins -r redis
 
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/neurogeek:master commit in: dev-go/godis/
@ 2012-10-26 18:24 Jesus Rivero
  0 siblings, 0 replies; 2+ messages in thread
From: Jesus Rivero @ 2012-10-26 18:24 UTC (permalink / raw
  To: gentoo-commits

commit:     2aed5a05d8cb6311deecf0885812dd1dfd4207f5
Author:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 26 14:23:29 2012 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Fri Oct 26 14:23:29 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=2aed5a05

More tweaks

---
 dev-go/godis/Manifest         |    2 +-
 dev-go/godis/godis-0.1.ebuild |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-go/godis/Manifest b/dev-go/godis/Manifest
index a2ef793..0f48b5a 100644
--- a/dev-go/godis/Manifest
+++ b/dev-go/godis/Manifest
@@ -1,2 +1,2 @@
 DIST godis-0.1.tar.gz 35778 SHA256 7eb2824b717fda590eb8cf90b87ff8b524b41ebe966a3b5144c302c2abc5ec97 SHA512 4c68902f7c92ff44116bf891cb1ab672b0290a62b4b9c9317c40da1582866999d5fb1918911baa70aa64b8f308dc9453845ff8d4daf2a2184cb9f8fdd583698f WHIRLPOOL b25715aa3730c277515877e4163c11a9dd3123df33e2ea35a501e336c546a4230810d092384b72fe991704ba8b184c75324d94e5536c511612fc474fed73f7e8
-EBUILD godis-0.1.ebuild 1236 SHA256 99d037a2f538edd0e34a5514eed9a25ee1d6cbdb4170f98fd21da05ec18b989c SHA512 86fc80a780dbd428b961fe27875e910a260a4bf33fd4610e2c803431f057281679b9ed0893998d55d77f9f28ce4aa0edea023807cb76476d04f92558dfe7bf6a WHIRLPOOL 6d8ee78ad7e893855f18669347d987e7b69235ff1b81170dd53e949f89e5501d45d46d86c630aa0c58518bc6e0517ac0e6940620a44a896b90c2d31179b273ed
+EBUILD godis-0.1.ebuild 1225 SHA256 418bce7961cc683f9dd24a464938317708552aa2804cc16886acc826eb7c1f0e SHA512 951f685b42d5715d18d52c55346a1d0db7de99fbca05a506898ea3f050f5912d127dc23a765c45fd916a478f8f242d393a7cb1ee60c9bff8e23921f039e771fb WHIRLPOOL 1cf61adfeefd643505e7334db520001e8dbf1b10bc80ee23f7bfd58fc623c91125c25a2576ecb1978da75294e0ee907c953749fe7be72984e0295e9255efaf84

diff --git a/dev-go/godis/godis-0.1.ebuild b/dev-go/godis/godis-0.1.ebuild
index 8236da3..42df0eb 100644
--- a/dev-go/godis/godis-0.1.ebuild
+++ b/dev-go/godis/godis-0.1.ebuild
@@ -9,7 +9,7 @@ inherit multilib
 
 DESCRIPTION="Redis client for Go."
 HOMEPAGE="https://github.com/simonz05/godis"
-SRC_URI="https://github.com/simonz05/godis/tarball/${REV} -> ${P}.tar.gz"
+SRC_URI="https://github.com/simonz05/${PN}/tarball/${REV} -> ${P}.tar.gz"
 
 LICENSE="as-is"
 SLOT="0"
@@ -64,7 +64,7 @@ src_compile() {
 src_install() {
 
 	if use examples; then
-		insinto "/usr/share/docs/${PF}/example"
+		insinto "/usr/share/doc/${PF}/example"
 		doins redis/example/*
 
 		rm -rf redis/example


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-26 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26 18:24 [gentoo-commits] dev/neurogeek:master commit in: dev-go/godis/ Jesus Rivero
  -- strict thread matches above, loose matches on Subject: below --
2012-10-26 15:35 Jesus Rivero

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