diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-02-07 08:57:02 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-02-07 08:57:54 -0800 |
commit | e9618c1a8bfbb4d7d8447070ddc640657ad3698f (patch) | |
tree | e2d686e9f7cd2e06f671226fe6101952b1c82976 | |
parent | dev-libs/botan: version bump (diff) | |
download | gentoo-e9618c1a8bfbb4d7d8447070ddc640657ad3698f.tar.gz gentoo-e9618c1a8bfbb4d7d8447070ddc640657ad3698f.tar.bz2 gentoo-e9618c1a8bfbb4d7d8447070ddc640657ad3698f.zip |
dev-go/beego: new package
Package-Manager: portage-2.2.27
-rw-r--r-- | dev-go/beego/Manifest | 21 | ||||
-rw-r--r-- | dev-go/beego/beego-1.6.0_p20160126.ebuild | 79 | ||||
-rw-r--r-- | dev-go/beego/metadata.xml | 10 |
3 files changed, 110 insertions, 0 deletions
diff --git a/dev-go/beego/Manifest b/dev-go/beego/Manifest new file mode 100644 index 000000000000..c76d2a83490b --- /dev/null +++ b/dev-go/beego/Manifest @@ -0,0 +1,21 @@ +DIST beego-1.6.0_p20160126.tar.gz 222634 SHA256 135daab69c9c65453a1337b1b67db02991d0956f1edf9cdab2aebefc9fd904da SHA512 2f2a434456e68fa89f99c5d165323cf54a1d5a28d85d301a1b62374dd5f349e7797a914eae7ccdbf056476b3b3560e5359cc75e0515e749b05fd4c7494a62c5d WHIRLPOOL 7315e0794ab902be33c20c6c363b81bd5c5c08ac758d58decfa037c082153d76dfbf63f5263cd93b780b68cc4049733ddcf01c5d832c68eb4696ac3cc2ad38d9 +DIST bolt-2f846c3551b76d7710f159be840d66c3d064abbe.tar.gz 78184 SHA256 4358157d83f88a3e0fdd5b2faa810ce0e8569ce5594ce893634f0042b2dfcdab SHA512 429391842ac0ed04fb73587a1d21c2bf03a3c41f79fa192cc601ad4748a02ecd9a5ed024779a7267278f4c7a7152b1cf6d4e48ae1ceb31e52179506792ac4b51 WHIRLPOOL f0d5eabcd2936897124bc7bfc1c5e616c79d7deb0f465e9cbd2b28c6d45173e26c71303afc1a9f6e1ef513548d192d9e8c6e5addba4af4ef40edc564f82245f0 +DIST errors-f66c77a7882b399795a8987ebf87ef64a427417e.tar.gz 1071 SHA256 7a23eac61fd1795eebb1c3fd654142411d96d3a0f30960ec4c41198c1664fba2 SHA512 2a3232f544c061e945b37d1735337c7268363af8004a46a4cb7d13414b89115aedbd848f25f328d429ba57a3b40e58e61f0cbdfec0b99f6e7d1562181444cc49 WHIRLPOOL f07201b56ddfc99f6648207297a7f86393f5667255bc89fbc532f2e1f087ce95fa7a050bb488404ac1ffa851384565c1e23497881f3e4a59be937906c4b74bda +DIST go-couchbase-8cefc09994885b63d45e506861277e9743addd37.tar.gz 67462 SHA256 62dcbfe854ec019903fbab767bde6448f53ef3c74f048c9de137cd471bc2f9b3 SHA512 4255d087893f0e52c306f8f5003ed1dc5d477011181d9834a9b704d02f4841fe78facb9e638a00a0745161950e656092a507f0689f92c8299c7af1b8ab70f62b WHIRLPOOL 6dcef598f3a4d74f7e3fcc252bfcdd3c74947ab2a7e5e0a9a9f8676a7b1e48416f6249e9c81e5e791fa490d9ae1dcb05474c867b52a3454b6c55636f0a573660 +DIST go-mysql-267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz 56401 SHA256 3aa79d9b80b92e7ed08436f82915ece3d211c86d41ba6fdfe56643448dcbe706 SHA512 0c7158e94e0034ce19de5c3cab4dff55bc808b47bd2ec0ddc282a18d971de2362ae72746217d9621a37435cb2fe32dd2f91a0e3ee125303d268a46f765b363e7 WHIRLPOOL 155ec234f9d39be381851530d7280fc6cb03e09f6ec5580e7e61333e1657fbdf4e4b31116363ef3fb87b27658e87c60f239ee26fc57bb0f550c232d85f547a7a +DIST go-sqlite3-1.1.0_p20160131.tar.gz 1847546 SHA256 d743a044d7ee88b2783f5a15f22b47ffdaa478c0b258babc3c621ce347955bb8 SHA512 9596012111b23865191904b7b0817ddbd88fc61383a3dfcf737d3d1be95c1a1d57b779ffbb9fa83303245a992c56e427396ffccb759a440822fffa516cae0b3d WHIRLPOOL a54021a0b8deb4fd28f44e45e8c78b896ef1121e4a23eb5fe6877b259c37456a6fb4fad77300a079fc3357a14b52d0b0750286a6f15431bdfefd17a99791c7c4 +DIST goes-e54d722c3aff588e4c737fe11c07359019240824.tar.gz 11987 SHA256 29f97acd4071e20060d6dc3a8ca6e1b220d5bafc2a789357e0de2881a19197f6 SHA512 d492e9befa49c595cf4be22d77fcca61e1395c828e7e916dda1b2cf7d4577ce30b0d953aeede50b2f541d2a5a14b44c00f7537348f887f79d8ff2e75899fb1c6 WHIRLPOOL dc202dbfbe3e1e4395927125a2252da86e461bed4546c0eef52b0ecaf639a85ec4e32440433440ea3289293509b850c13fa51f6f908c058518f6a876b208f1a5 +DIST golang-snappy-894fd4616c897c201d223c3c0c128e8c648c96a2.tar.gz 10122 SHA256 98053fd8f085c0f613604459840cc03326f8f80240c27e6d810aa38c9e55911f SHA512 d01c2a6f0d8b339aed8248192605a2c82ad8aa56d5bd6fe547f095e560f14a1e5cd873be89fbb0ad8f046fb9e04e639f1c0133481fc5e8f481dc9f004c5b54a7 WHIRLPOOL ff05c7b369b515c54c8fbbea29aa92dc32311e9c745e7fabacce5ba4776ab4b49c08e63248a613e4c839a56160e9f0302cc9896ab271af4ab9476fe8918840f9 +DIST goleveldb-36d2ead1e477af53df038bdde5f7b5b3790c93dd.tar.gz 130540 SHA256 665eb89ae64e1204b726efdf85e879b4235c522312712bccb115be52f67a9574 SHA512 2907fbb83c835782db62d8f23dd6861015e1220388e1c0b4796b198b7752f8fd768a77df72046eb2b218cad13a32789da99bbb0fb12728d0ddd11270f6283578 WHIRLPOOL 22f296891c875eeb83f651e00a5f4192c260b997296024d28ea990c7e05cb69b4b9baa1565db1c58e8c156bb7303af6dd2150707eb73d87fd6c006cf6436f84c +DIST gomemcache-fb1f79c6b65acda83063cbc69f6bba1522558bfc.tar.gz 12347 SHA256 ffc8722619a34a6bdcea8de0c2eefa5cf2bb59482149b8ad44e2768070139f53 SHA512 22534a62143f6cec2189ec6045bcc8602b02c48bdaa180f4b2503576af4ac74806ee636d8fe0278070399f75973763fe8f725063f538945c2224c0e1bbd97df1 WHIRLPOOL c33e376e2bc2a577c3205bd0641a42bca5340abbc5123fd146a632873833e103e25219e763742817f8abbd3621ed49ee19c31fb2f9f276aae9b8b0a67d8060fc +DIST gomemcached-eb29b2e515a50fded2382cbd79a369c0cb3abf41.tar.gz 29903 SHA256 1b2ea84cecd8974dd831b8c7287aa0ef8416cbfe996b3c2f4d0e988244ad5984 SHA512 23ebcc416a22c0203484aba9bf809701e469533c523dd6a08807ab305fb53de31021103d2f5d592b895da40a3725cfb52b2d9792b169f51180fd79ccb8ca6354 WHIRLPOOL 13b077379a770b70bf68cb30d12267ecbd2b95a4230dcaaf369c1f55436f30252a311f999bf53479f23397c54992f1e4417e53d50a4d0fac8d3dd957df65b714 +DIST goyaml2-5545475820ddd4db3f90a4900d44b65d077d702d.tar.gz 4401 SHA256 4ce8d281421609b4382185d8a7373647cb9e9710bb15dece1e17be7be5fd87f3 SHA512 3c63f59ada5c067e02129d6a360d743f88b97991f566f27062253f3540598ef4a96fe82154119a0cbf90bd83f6bf76ae516ae681693f3e4e8def3163ced2ff39 WHIRLPOOL c550ea53ac01c00f0de78a89053f628472d90f57ad40766613c85ea3773530883f60b3f7e8bd1cb0171126d3fef420adf19d1f8f01df9f688560a6fc8e82b90d +DIST ledisdb-713b22910a0b66d098c9e40ff19be258968e9a7d.tar.gz 916667 SHA256 a70229ee3ec2293bade930276e0eeccdceed407aa92d82d73673fe25e6edc001 SHA512 4255dd15d4d49ee192310f00ef82fed640b2e3430571cfe68a8a330767f0dd3e41e2a232f3159829b0abfb4ff83c7ea929f9c00d8561efaa7170afdf3b442b04 WHIRLPOOL 82833d4d77d47432dbe3f8d3e86d5e5c06358ad8fcbaa381f4f73d1afa5779953332f430d3374cf7e4fab7ba1a4686ec9bd80f93e27e50358e3c7ef98afbc606 +DIST mmap-go-903d080718bd2877583fe1bd0a19c9cd3e2906ff.tar.gz 5330 SHA256 4085cf5af43b6fa4e1361ac1b3aef0c7d90ec6884d18490814c6431c16c724b6 SHA512 00fa75bd63360f8cd4c73b540a43b6e54c308fecfd5258325f8f745aa6b1a3240f3f3ce367a4f7270f009d638cbb41bf171b78197d3744804c5fae8eac67efcd WHIRLPOOL 552a5f78440ee6a749d19f6f259d948a8eba25f01cdc0ebcaf03f7e98d4fa934a92b02eec2cce230c81b38cbbbdbcd1ac7d5cc89b10273bdc437afd6bf1641b5 +DIST pq-f59175c2986495ff94109dee3835c504a96c3e81.tar.gz 68877 SHA256 681711e05991a904f69c837357723e1524fc326e0e0cdba3c0f956c2d96d8c8a SHA512 c68b62816cec1994848009de420b601307e6b9581f35903b28828d9cab0c8e6763d90bde7b8f297002407086525df3b0da7adaf1c7e0f3b786a0d4fcbda7d2eb WHIRLPOOL e61adb00ca89dcd3631dfce1aeaf72aff63043aa80944234992e2579b03119ddba1f58d51e11ef40004994bc86e406bc092bc1b3334079662791c623b0fe941a +DIST rdb-f5614b4eb12a23e0c65b51f7c22635ef1a16f725.tar.gz 182596 SHA256 ae80f88c9fb24baa5e879fe5fe52e51bcd71bd572a3a98da323f8710e9c9b029 SHA512 b0d34d9779e93ac40f445a5104b0114b4960ab3e4bc2ddee40242cffdb1d2a5029f20afaec09a45be54bd6832bf9e76a7f8503c7eef1f113d3457e3ac0f4fa1f WHIRLPOOL 32982b60a1acddadfdaa2514c14baac472b8a0eaaf0abde8c6032cb4ad9feb6803bb67e83faf50eb8ce6b55988f017d8b82048324f168ec8369886e497534082 +DIST redigo-836b6e58b3358112c8291565d01c35b8764070d7.tar.gz 33763 SHA256 aacbbbd9a27381589c8929d3a0ee8631b3aa61bc0ce10a2275c3366db8a49fb8 SHA512 ffc07ffb5f1f6640e56fc684f13c268145d1b4c3c07d317b750ec89d38694cdfd89967322bfb398dbceba5ad6edfd99d98e05bc47fcc69aa0da60795d81c9258 WHIRLPOOL 06c66c331eb96217171b7ccccf3273a10d007472501a25af6124e42e6109690d634f93c0abb802f2b0718ab0ffd9b0d6fd9533fa28b4f8fe1259e1ea1b96c107 +DIST siddontang-go-354e14e6c093c661abb29fd28403b3c19cff5514.tar.gz 62751 SHA256 d3314fad146926510999693d2a39e6463e5ce88383c374e72ca37b0bfb78c261 SHA512 40a5ee39ccdf972ed1eff1f6c696144ecf7f9d68b12a8f5e00cec250afb6b4bf8c903c4abe2bf4ab4e5e8dae3b4072c144ddea54636cf9a07bee860eb8a99556 WHIRLPOOL fd9f8a7c93e1718ba29f3ab56d237b4520944dd89b05f729846d2ade0b6159cc5c36f5e3164370cef776f26d2fa079a33f9ec767ea2fe4bc1ced2cf1b4be9dbe +DIST siddontang-rdb-fc89ed2e418d27e3ea76e708e54276d2b44ae9cf.tar.gz 10585 SHA256 e9773c9ce17eecb239a3ca1a7adcb423c9613d6d4cfbb5bfabff42d296ec52a3 SHA512 30c7742b21f832b25d49b25733982afb1f3fee3ada4a28edaafc7032e365a02b6a53517293e96b4bb541583886ebc331e3ed48e601ff0a8bb0e1159acd1736bd WHIRLPOOL 577565339d3d9cacd946b356f67fa07808a58960dc23a5ec5571f922c11d075acc4e28de481a9d9be674b690b91535175879c58a0c0ba5ed6077818cf892d34b +DIST toml-5c4df71dfe9ac89ef6287afc05e4c1b16ae65a1e.tar.gz 37103 SHA256 7f74638243f26b36d28df583796bf39ac2ea10d1e6b163d08d0ea3bcdaeaf744 SHA512 7361237199912bb6c1695dd450d56e4f2007ccc0764418bd51b6b91a5a9a5e4604834628b6a90e9b6cac5d054a0686a13fb1ede4ceb62c5d43efb38df615aed2 WHIRLPOOL d50bdae68b8e00134bf18e352ae54b077a7fd57d8531450f6213db3ba0816f00371b5b5549441d326b925317281f2fc6ce248a87a4fc75c54ec2eea424e5ff65 +DIST x2j-a0352aadc5420072ebe692481a5d6913d77f8cf0.tar.gz 23055 SHA256 e4a603b34500b553f232eb43b07e549405cac513dafb8d4c15c8160abf314dc6 SHA512 bd1b6ad7cfc7d241f39177eea79a84a6ab0db28c7c7b1fa2acb91d9f5fa10b4e7849c560b497e696bba011109847120e2f1bcc9d45b18992118cfdcd66d34c49 WHIRLPOOL 06a79ed0b2b86d438343327abbddcdcab1207354bf6f52ff9dc29e53ec9cab32d0a91cf0cb7a364b9efafea2ad3bbd62638792144b36ccc9a07a26df9c5a9966 diff --git a/dev-go/beego/beego-1.6.0_p20160126.ebuild b/dev-go/beego/beego-1.6.0_p20160126.ebuild new file mode 100644 index 000000000000..3dd677fa1e71 --- /dev/null +++ b/dev-go/beego/beego-1.6.0_p20160126.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit golang-build + +KEYWORDS="~amd64" +EGO_PN="github.com/astaxie/beego/..." +EGIT_COMMIT="fbb98fbe1fe5f6a4209772b44e2547714992340c" +SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz + https://github.com/bradfitz/gomemcache/archive/fb1f79c6b65acda83063cbc69f6bba1522558bfc.tar.gz -> gomemcache-fb1f79c6b65acda83063cbc69f6bba1522558bfc.tar.gz + https://github.com/garyburd/redigo/archive/836b6e58b3358112c8291565d01c35b8764070d7.tar.gz -> redigo-836b6e58b3358112c8291565d01c35b8764070d7.tar.gz + https://github.com/beego/x2j/archive/a0352aadc5420072ebe692481a5d6913d77f8cf0.tar.gz -> x2j-a0352aadc5420072ebe692481a5d6913d77f8cf0.tar.gz + https://github.com/beego/goyaml2/archive/5545475820ddd4db3f90a4900d44b65d077d702d.tar.gz -> goyaml2-5545475820ddd4db3f90a4900d44b65d077d702d.tar.gz + https://github.com/wendal/errors/archive/f66c77a7882b399795a8987ebf87ef64a427417e.tar.gz -> errors-f66c77a7882b399795a8987ebf87ef64a427417e.tar.gz + https://github.com/belogik/goes/archive/e54d722c3aff588e4c737fe11c07359019240824.tar.gz -> goes-e54d722c3aff588e4c737fe11c07359019240824.tar.gz + https://github.com/couchbase/go-couchbase/archive/8cefc09994885b63d45e506861277e9743addd37.tar.gz -> go-couchbase-8cefc09994885b63d45e506861277e9743addd37.tar.gz + https://github.com/couchbase/gomemcached/archive/eb29b2e515a50fded2382cbd79a369c0cb3abf41.tar.gz -> gomemcached-eb29b2e515a50fded2382cbd79a369c0cb3abf41.tar.gz + https://github.com/siddontang/ledisdb/archive/713b22910a0b66d098c9e40ff19be258968e9a7d.tar.gz -> ledisdb-713b22910a0b66d098c9e40ff19be258968e9a7d.tar.gz + https://github.com/BurntSushi/toml/archive/5c4df71dfe9ac89ef6287afc05e4c1b16ae65a1e.tar.gz -> toml-5c4df71dfe9ac89ef6287afc05e4c1b16ae65a1e.tar.gz + https://github.com/boltdb/bolt/archive/2f846c3551b76d7710f159be840d66c3d064abbe.tar.gz -> bolt-2f846c3551b76d7710f159be840d66c3d064abbe.tar.gz + https://github.com/edsrzf/mmap-go/archive/903d080718bd2877583fe1bd0a19c9cd3e2906ff.tar.gz -> mmap-go-903d080718bd2877583fe1bd0a19c9cd3e2906ff.tar.gz + https://github.com/siddontang/go/archive/354e14e6c093c661abb29fd28403b3c19cff5514.tar.gz -> siddontang-go-354e14e6c093c661abb29fd28403b3c19cff5514.tar.gz + https://github.com/siddontang/rdb/archive/fc89ed2e418d27e3ea76e708e54276d2b44ae9cf.tar.gz -> siddontang-rdb-fc89ed2e418d27e3ea76e708e54276d2b44ae9cf.tar.gz + https://github.com/syndtr/goleveldb/archive/36d2ead1e477af53df038bdde5f7b5b3790c93dd.tar.gz -> goleveldb-36d2ead1e477af53df038bdde5f7b5b3790c93dd.tar.gz + https://github.com/cupcake/rdb/archive/f5614b4eb12a23e0c65b51f7c22635ef1a16f725.tar.gz -> rdb-f5614b4eb12a23e0c65b51f7c22635ef1a16f725.tar.gz + https://github.com/golang/snappy/archive/894fd4616c897c201d223c3c0c128e8c648c96a2.tar.gz -> golang-snappy-894fd4616c897c201d223c3c0c128e8c648c96a2.tar.gz + https://github.com/go-sql-driver/mysql/archive/267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz -> go-mysql-267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz + https://github.com/lib/pq/archive/f59175c2986495ff94109dee3835c504a96c3e81.tar.gz -> pq-f59175c2986495ff94109dee3835c504a96c3e81.tar.gz + https://github.com/mattn/go-sqlite3/archive/c5aee9649735e8dadac55eb968ccebd9fa29a881.tar.gz -> go-sqlite3-1.1.0_p20160131.tar.gz" + +DESCRIPTION="High-performance web framework for Go" +HOMEPAGE="https://${EGO_PN%/*}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +RESTRICT="test" + +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}) + mkdir -p "${S}/src/${go_package%/*}" + for x in ${go_package##*/}-*; do + [[ ${x} -ef ${S} ]] && continue + mv "${x}" "${S}/src/${go_package}" || die + done + fi + done +} + +src_unpack() { + unpack_go_packages +} + +golang_install_pkgs() { + insopts -m0644 -p # preserve timestamps for bug 551486 + 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%/*} + insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}") + doins -r "${S}"/src/${EGO_PN%/*} +} diff --git a/dev-go/beego/metadata.xml b/dev-go/beego/metadata.xml new file mode 100644 index 000000000000..7dbc0365cad7 --- /dev/null +++ b/dev-go/beego/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">astaxie/beego</remote-id> + </upstream> +</pkgmetadata> |