Commits

Evgeniy Gurevich  committed 0c46414

Mask 9999 by keyword, Fix Manifest

  • Participants
  • Parent commits 457b238

Comments (0)

Files changed (3)

File net-misc/nsq/Manifest

 EBUILD nsq-0.2.15-r1.ebuild 1367 SHA256 2048a8f834345e117f08da861b8bd03eb279d31b90e7df6407e03f1357525f7f SHA512 a0e35b9961751d57f9dae4bc6526240b6307afb543a9c535b301e70410dbf2441cbdff385fdc2e891cdd27ee71bafd59da327dbce4e7a28e2ae309f89dcc342d WHIRLPOOL 4249dc1b0e44db0f9246f30112e6eeb307b97bcdb21968951e740ca879cb470e09c608b4a1d47f0264996c60f8a31c7aeec907a19adcff42cb662c3344a9f9e6
 EBUILD nsq-0.2.15-r2.ebuild 1608 SHA256 71fc1b71bfbb93115dd0efc9b236fff465716a8a8a137eb203b24d2e4ba21252 SHA512 dfac3976bcf33eaf2138d118af42d7ebc0ab9e16567a3226582acd4b6c3274f79cdf427eb957736549ed667ca4f51750ccfa59ea4cec5343d471763ea377b7ed WHIRLPOOL c7643b6c9962760c37b103dbbc447fb9a96c2795979191e05f15c1cc64c5f5f7d640bf9093dcafb0764f0d61c257e4e26b390bd51aa6597df67d0257e88b5504
 EBUILD nsq-0.2.15-r3.ebuild 1646 SHA256 b2d3d0b42d254b556ea1e279f5a5923161d0fb15b583f3fdcac8d61e89a0c95c SHA512 fcfd4207533216b71cf58b07785125e2399665ddacc6e8186d99b4ab8d71421001f8af4e44b3e8519383649d052552ef24ca990ddc53791f27db27c63814b7c3 WHIRLPOOL 50a6eb95868910b56475da60b1e190ced394d12aec938d9899861c7ccfec45777e09335dc87ffdbd9fae81448ce6e9423885da6439a6060e0f41728d03031475
-EBUILD nsq-9999.ebuild 1646 SHA256 b2d3d0b42d254b556ea1e279f5a5923161d0fb15b583f3fdcac8d61e89a0c95c SHA512 fcfd4207533216b71cf58b07785125e2399665ddacc6e8186d99b4ab8d71421001f8af4e44b3e8519383649d052552ef24ca990ddc53791f27db27c63814b7c3 WHIRLPOOL 50a6eb95868910b56475da60b1e190ced394d12aec938d9899861c7ccfec45777e09335dc87ffdbd9fae81448ce6e9423885da6439a6060e0f41728d03031475
+EBUILD nsq-9999.ebuild 1729 SHA256 ab8309f0491bd7547a8fa8a7c6308349d5bb34f2177bfe381a105f0dad4fb473 SHA512 83b3e342ce27f67b397434d2c2d94cc482c6ae7f3b8b9d7ce6b31cd02c6df14be342e457ad09b20a6c51af23f8f384e5841cb638745192ce3dc4e099896b7757 WHIRLPOOL 44c1dc3a41a060ad77d1a2bcc2bed395ada4051fb162189a170434454ba7c339de682d4ba709e01bc63b6d1865c0e5c509336bc82937d482a70f6c11974dd841

File net-misc/nsq/nsq-0.2.15.ebuild

- 
-#SRC_URI="http://github.com/bitly/nsq/archive/v${PV}.zip"
-EGIT_REPO_URI="https://github.com/bitly/nsq.git"
-IUSE="python"
-SLOT='0' 
-KEYWORDS="~amd64"
-DEPEND="dev-lang/go
-	"
-pkg_setup() {
-	if [ ! -f /usr/lib/go/src/pkg/github.com/bitly/go-notify/notify.go ]; then
-		die "You need go-notify. Install it with 'go get github.com/bitly/go-notify' "
-	elif [ ! -f /usr/lib/go/src/pkg/github.com/bitly/go-simplejson/simplejson.go ]; then
-		die "You need go-simplejson. Install it with 'go get github.com/bitly/go-simplejson' "
-	elif [ ! -f /usr/lib/go/src/pkg/github.com/bmizerany/assert/assert.go ]; then
-		die "You need assert. Install it with 'go get github.com/bmizerany/assert' "
-	fi
-}
-
-src_unpack() {
-    git clone https://github.com/bitly/nsq.git ${A} || die "Failed to get source"
-    cd nsq
-    git checkout v${PV}
-    sed -i 's/PREFIX=\/usr\/local/PREFIX=\/usr/g' Makefile
-}
-
-src_compile() {
-	cd "${PN}"
-	emake || die "Compile failed"
-}
-src_install() {
-	cd "${PN}"
-	emake DESTDIR="${D}" install || die "Install failed"
-	return	
-}
-pkg_postinst() {
-	go get github.com/bitly/nsq/nsq || die "Failed to get nsq package for GO"
-	useradd -d /var/lib/nsq -m nsq
-	mkdir /var/log/nsq
-	chown nsq:nsq /var/log/nsq
-}

File net-misc/nsq/nsq-9999.ebuild

 EGIT_REPO_URI="https://github.com/bitly/nsq.git"
 IUSE="pynsq supervisor"
 SLOT='0' 
-KEYWORDS="~amd64"
+#KEYWORDS="~amd64"
+[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
 DEPEND="dev-lang/go
 	pynsq? ( dev-python/pynsq )
 	supervisor? ( app-admin/supervisor )