diff options
-rw-r--r-- | dev-db/rqlite/Manifest | 6 | ||||
-rw-r--r-- | dev-db/rqlite/rqlite-9999.ebuild | 93 |
2 files changed, 0 insertions, 99 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 15adb2e31d2c..0a5a24d31379 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -1,4 +1,3 @@ -DIST bolt-ee4a0888a9abe7eefe5a0992ca4cb06864839873.tar.gz 78144 SHA256 165a79b80801b667b9ae09becc6085ebc79a68de32403b31018010c89216d2bc SHA512 a1f1254a00c6ad05d9097e900f1918a1d05e0a945c2438e715f6d386fc0dad82b3302764afd7bfb2a43030e79c6a0271284c866caffdda216961c10e16b63e2a WHIRLPOOL 9917359c05160a4852e55d6e556b511ba374d6c16b2c78a7d9e3ad5566f7ef68dd08176993e9fac2dc7f69612dd7da12a96e0a73b5e1e19fa102b540f594b800 DIST github.com-Bowery-prompt-0f1139e9a1c74b57ccce6bdb3cd2f7cd04dd3449.tar.gz 11300 SHA256 402854e1af22d77c2e05a32f845f3ee7b52598884fef35ff0719008c51fc21a8 SHA512 7bcc7fce61ea8ed97ba0c695adc1450b0d8b39f7f1402ecc2d566418040f6d76f088860c23e76563124d836c5fbca43f230e3067de6127c22fca127126279c0d WHIRLPOOL 4a2dce024f9a4e8bef68af8d893bb6c5d131d087d6708075734536cea176cc0a32e8b09f7c269dcc28d06bb5147c6d3ecb9d3ddacb739fd39b23dd59694c041f DIST github.com-armon-go-metrics-f036747b9d0e8590f175a5d654a2194a7d9df4b5.tar.gz 17223 SHA256 721199334b99c95b18340f771d2d74427fa2d12ba2f1c0df7bfd65e081a6816e SHA512 925b15bb45fe1da2d912563270b9095dd38601966c9d20494dcc70f39c97c73b4ae2ee7eab3db22aba3757a180f130257b4384711a07884cb86bbac84c164b6b WHIRLPOOL 39d154e190fa2608c1a0e69401aebfcdba48405bba31a682e860349e258ffc4d2fe63d1821b4daed4ed00380b9def7677cc6aa96954eb58de9b378f89c0d053f DIST github.com-boltdb-bolt-e9cf4fae01b5a8ff89d0ec6b32f0d9c9f79aefdd.tar.gz 83504 SHA256 6982102a6f1a7ba5ee8af83d8acc5e6408d0de90f2a16635bec300559cc59f1c SHA512 cafe7cd089cb44c9639cd6267269fd793aacf680cdb1f49c231973032c49bae8fd8ad534b2df8ce19936ac5bdeb7c9eb85e71e58752d754588359365a8914142 WHIRLPOOL ab54e9229597b7db8aea8364d8174a06494549f01c983e8ffde3abb6873c6e98b0ab350848fd36c84fc48b789c96ef600e50fde09844d59ecf466f431cf54bff @@ -13,9 +12,4 @@ DIST github.com-mattn-go-isatty-fc9e8d8ef48496124e79ae0df75490096eccf6fe.tar.gz DIST github.com-mattn-go-sqlite3-83772a7051f5e30d8e59746a9e43dfa706b72f3b.tar.gz 2027317 SHA256 f108517a1ef06a51044a869f4da473b5e3f5f664afeaf4eeb9956c4bc2ad059c SHA512 687b1c9f7b2f27be4ef0d924f691f17251fb84522647436d3e6d1ba5946208618156663d817d146f954ea07d31619c446a3023f9a811f113a3761cda0daebdec WHIRLPOOL 26747056149e68ed1c9b59cfe5e1a6b0b38cdcd06a2d28ea68fef09085969dc1d706be70438552854c35096d3ce6405b6450da6fa5beae911da0e4b8730df8d0 DIST github.com-mkideal-cli-a9c1104566927924fdb041d198f05617492913f9.tar.gz 43950 SHA256 2edcc06d38bd63b3bb4b95f354bf13895202b2a9c7dd433ed6a9acf60c8e760d SHA512 ced5936b659673383295da6a55c21767ed21ba91ca6aed0fd27e8cd317026bf1bcb29da9e7d714f93fe783aa54a9e58d435c56aa84e8ff06c59a333dc9150499 WHIRLPOOL 2e25a5729f4f8355e6bc21815aab8ada7eda13d4619398a341a1c8001deccaed255c39da6c24801b2431db4d8059b2644b21e525cbbf77f004408721fc10e9d1 DIST github.com-mkideal-pkg-3e188c9e7ecc83d0fe7040a9161ce3c67885470d.tar.gz 69219 SHA256 4856ee957f183854a4253118a811618381ebddf14c668fce143ccba39c7b61ce SHA512 1c6b5cd345da17f8c2691a4f132bcb8ce1e794db54ecdcf2bf20392bb2f3195db6c1579ffd220bb21f121ccbec0c8c9ea4160a4a6c38734c68d1e163622ec1cd WHIRLPOOL bfa02ea6d5f100e01f0821eec97bead1c588143ae6b29c4d1a7b80a88b3bb409b80daeda446cd3dcc11ee826c642f0d0d9de5eed4b6357118b50888dc69d8565 -DIST go-metrics-345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz 13610 SHA256 2efdf7c349cb81ef75fbb812e150aac9a7c6c27417f4e84f655ff77ddb006789 SHA512 2dd120d6da4d8cfcd4546a288534f233f7073281ed3d6e7712c8a92fc11f7b800c0950835037ec936ec89e6fc2dba06088d70bc7faee6f139cc9656c0a81d4b7 WHIRLPOOL ebe0a792cb231f3ff5241f8c2526c7a7927d6d1ab138e92ae0da34ba72e54bbb4769aa14804110e61d7de280ce28a0040ebd17e79ceccec585ad48c9aac91c33 -DIST go-msgpack-fa3f63826f7c23912c15263591e65d54d080b458.tar.gz 49488 SHA256 eeffbd458f4996334275f828cfd3549d32a2ba6eda359e5c9be09f091548781f SHA512 7e60a122cca007bf5455d6e15f77c24eaa5739deedc9e0c158282249e84698f873628bffa9eb7d23c1c59bda7632b1968ca770c8e1796e2d50750ac86e80fcb2 WHIRLPOOL 41745e39256ef510d42c4da413609e3bdd0621cc2acccfddabb4c8774e47b73ad46656639bed3fac2335cf1b6a2a245d3b8b4f3831cfafb2c6e7ecb90293475d -DIST go-sqlite3-1.1.0_p20160307.tar.gz 1847839 SHA256 f3551d37bb2a485ef2c62c205bb104e6a19e25e3854e0106575db94891eba656 SHA512 e4613f8c18c4f5c60b09facfd6f6c36e14029538eef6deef94d57d0c0aeeed86023f36ed0fb0b7e5340ecbaad4f9b5815c5182cc19f85f52349610caaa998665 WHIRLPOOL 1eab66203e336c8081d18ba27f5aa706fc04d6c1d2b1e270457ca29d7785a3d77b36565f2b94003986a83a12618e3ffd376d8a38dee45af4c98219dce3fc69bf -DIST hashicorp-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz 8881 SHA256 490ced07cc72baede9b997dcf92499fa0d4298926fbc51ee632bde3d3ea0979e SHA512 4f98cf8cf375561f255822cbd21b6926d3bd12ff2a1d9307b59ce5e12628034f197f6efc85d9cc9cf951eac7402b36954c2ea686bb033075ec840106614f2039 WHIRLPOOL 337d399c6b73893bb72d77a77e6b2c7b5ee914d191b719dec13f72975c0a4ece1ee6a902d32197bbf0f0300bdc3ce8efda082363a1e79a7d3f2d8aec6eb2d436 -DIST hashicorp-raft-057b893fd996696719e98b6c44649ea14968c811.tar.gz 60617 SHA256 0a97044468f5a7b0640296c0bf25c9b66c2f78a6df9fdd8bf8ea5d624549ea93 SHA512 cc98717d405e3ee2479d44d79a98228faba3ca3ff41064490dde7555ca35bc65d3a8765778298fd0372b6a8afd0b00e5a557b8ad736709a0534c3fc85f61f3d7 WHIRLPOOL 74fd868a541d356284482c4af37b8affd61bf9588ec8c8f631cdb65d5c019cb5e4c78472b2fe111b137bf3aaf414c49c994e03a08522342047cd140df20986c6 DIST rqlite-3.14.0.tar.gz 272047 SHA256 26e32aee90a04f3031af740be8287a54f94275fd66afb1049cfb64396088972c SHA512 d89b250a5bf1ac2d03c7373d849f4bf27630a7b2af8ba7e27f19cc496dc05f7384d9e893322a2267d1f1999da6927407c1b1e80eb63808284090d958f8e6b932 WHIRLPOOL 4a09876bdd7d9edc666ae3f2820b1c5b18a42b5ed0888f25d361cca6d20e16afa313dd80cc46d674481d72a4e39aeff716e0d926f73e556b6bbac8d7c89ca866 diff --git a/dev-db/rqlite/rqlite-9999.ebuild b/dev-db/rqlite/rqlite-9999.ebuild deleted file mode 100644 index 3d0dc4eaaf2a..000000000000 --- a/dev-db/rqlite/rqlite-9999.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -if [[ ${PV} == *9999* ]]; then - inherit git-r3 -fi - -inherit golang-build - -KEYWORDS="" -DESCRIPTION="Replicated SQLite using the Raft consensus protocol" -EGO_PN="github.com/rqlite/rqlite/..." -HOMEPAGE="https://${EGO_PN%/*} http://www.philipotoole.com/tag/rqlite/" -LICENSE="MIT" -SLOT="0/${PVR}" -IUSE="" -EGIT_REPO_URI="https://github.com/rqlite/rqlite.git" -#EGIT_COMMIT="e3c20964fbdda2e865a5af20667a74fc2c3b5582" -SRC_URI=" - https://github.com/armon/go-metrics/archive/345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz -> go-metrics-345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz - https://github.com/boltdb/bolt/archive/ee4a0888a9abe7eefe5a0992ca4cb06864839873.tar.gz -> bolt-ee4a0888a9abe7eefe5a0992ca4cb06864839873.tar.gz - https://github.com/hashicorp/go-msgpack/archive/fa3f63826f7c23912c15263591e65d54d080b458.tar.gz -> go-msgpack-fa3f63826f7c23912c15263591e65d54d080b458.tar.gz - https://github.com/hashicorp/raft/archive/057b893fd996696719e98b6c44649ea14968c811.tar.gz -> hashicorp-raft-057b893fd996696719e98b6c44649ea14968c811.tar.gz - https://github.com/hashicorp/raft-boltdb/archive/d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz -> hashicorp-boltdb-d1e82c1ec3f15ee991f7cc7ffd5b67ff6f5bbaee.tar.gz - https://github.com/mattn/go-sqlite3/archive/10876d7dac65f02064c03d7372a2f1dfb90043fe.tar.gz -> go-sqlite3-1.1.0_p20160307.tar.gz" - -get_archive_go_package() { - local archive=${1} uri x - for x in ${SRC_URI}; do - if [[ ${x} == http* ]]; then - uri=${x} - elif [[ ${x} == ${archive} ]]; then - break - fi - done - uri=${uri#https://} - echo ${uri%/archive/*} -} - -unpack_go_packages() { - local go_package x - # Unpack packages to appropriate locations for GOPATH - for x in ${A}; do - unpack ${x} - if [[ ${x} == *.tar.gz ]]; then - go_package=$(get_archive_go_package ${x}) - if [[ ${x%.tar.gz} -ef ${S} ]]; then - mv "${S}"{,_} || die - mkdir -p "${S}/src/${go_package%/*}" || die - mv "${S}"_ "${S}/src/${go_package}" || die || die - else - mkdir -p "${S}/src/${go_package%/*}" || die - for x in "${go_package##*/}"-*; do - if [[ ! ${x} -ef ${S} ]]; then - mv "${x}" "${S}/src/${go_package}" || die - fi - done - fi - fi - done -} - -src_unpack() { - if [[ ${PV} == *9999* ]]; then - git-r3_src_unpack - mv "${S}"{,_} || die - mkdir -p "$(dirname "${S}/src/${EGO_PN%/*}")" || die - mv "${S}_" "${S}/src/${EGO_PN%/*}" || die - fi - unpack_go_packages -} - -src_compile() { - # Omit $(get_golibdir_gopath) from GOPATH, in order to avoid - # interference from installed rqlite sources. - GOPATH="${WORKDIR}/${P}" \ - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die -} - -src_install() { - golang_install_pkgs -} - -golang_install_pkgs() { - dobin bin/${PN}d - insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}") - rm -rf "${S}"/src/${EGO_PN%/*}/.git* - doins -r "${S}"/src/${EGO_PN%/*} - insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}") - doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a} - dodoc "${S}/src/${EGO_PN%/*}/"*.md -} |