diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-02-10 00:03:43 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-02-10 00:04:05 -0800 |
commit | f5aecc5b8bf1eda0676bddd5894dd8c61eaa0b93 (patch) | |
tree | fff3b237d6e1a07b3e6a37d3103858c63d28b423 /dev-go | |
parent | Merge remote-tracking branch 'remotes/jbergstroem/verbump/net-libs/http-parse... (diff) | |
download | gentoo-f5aecc5b8bf1eda0676bddd5894dd8c61eaa0b93.tar.gz gentoo-f5aecc5b8bf1eda0676bddd5894dd8c61eaa0b93.tar.bz2 gentoo-f5aecc5b8bf1eda0676bddd5894dd8c61eaa0b93.zip |
dev-go/bee: new package
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/bee/Manifest | 7 | ||||
-rw-r--r-- | dev-go/bee/bee-1.4.1_p20160125.ebuild | 62 | ||||
-rw-r--r-- | dev-go/bee/metadata.xml | 10 |
3 files changed, 79 insertions, 0 deletions
diff --git a/dev-go/bee/Manifest b/dev-go/bee/Manifest new file mode 100644 index 000000000000..3a41a20d5153 --- /dev/null +++ b/dev-go/bee/Manifest @@ -0,0 +1,7 @@ +DIST assertions-287b4346dc4e71a038c346375a9d572453bc469b.tar.gz 139764 SHA256 5a6c02a44b20425695e54433a9c72a88372fdb35beee764a2cceeb7264cda55f SHA512 8911ee27ba4aad8371e5095cfb7a63aaae08dfc89aca9d7dd72d1c55f7d9e3e2661050965ba123c031165c31733ad6599b9c16716ce01c5f850f2759fc180b90 WHIRLPOOL ecf94dd7e83d783b05a0d69f8c75b7f9243505d01a806e34f57b09cca60047dcf020b81a8bf3383acca28d44485cfdf83c812680d03375c81372ecca274fccb9 +DIST bee-1.4.1_p20160125.tar.gz 114965 SHA256 28d368e445e651d50d1262359130621b9ee6e03e51a40c21f48582ebfdb24600 SHA512 fbecfac3fbeb23d00a8b7c6b9933233d29e60ee353def0540a6f75e84d0add7202e7d2f428b6139e21d4c17fb30b67711be46704aae543d8dfff55dce7152568 WHIRLPOOL 58025ad445213a8dba26218814efa64ceb85473e8550a0e0b3cdd91fe217ad37a4771afec64780a238116ef08667370f16d6c3932e7646cd6eead9581656fbb8 +DIST fsnotify-f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz 19325 SHA256 fe6567ac79ef0d030e8442df4039f095454602a2a4f5d493e4381492b2a232eb SHA512 a0b1a13d82303fb2eed7f884360b6010722a47233bccacc0b048cbea7bab9be981fff9197fa0aaef587b191b68a50fffa7997ffc2b819dbff4af2b17005b136f WHIRLPOOL 0dce8b0cf1042b1ba2b4ba0833bf16fd0f3c6c5e7e11ed793388ea2f93837f63ec20d25f227f9dd72a8c28db7d2f70022b0011683875b997d9c1c5a54a04f199 +DIST gls-8ddce2a84170772b95dd5d576c48d517b22cac63.tar.gz 6472 SHA256 dd9df462edb33ab82fa1007d934f2750600a8d41ec7e0176cb8a8d5db890addb SHA512 4d1f45289929b48f8801d9d51f1acb017dd703b75636cf2930b4222158e14d1850c526903459163d04a2831894bb0fcc9bd80d0e7a23a1f54930f2fc89965dc2 WHIRLPOOL 60b01c33f279fe54b8b02acdbd97fd584bf04bc3867724b7501b83d30996878e9879b1525cfd541859b154747e4bddbe3c2c22e183c855591ced42bbf03cd4b2 +DIST go-mysql-267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz 56401 SHA256 3aa79d9b80b92e7ed08436f82915ece3d211c86d41ba6fdfe56643448dcbe706 SHA512 0c7158e94e0034ce19de5c3cab4dff55bc808b47bd2ec0ddc282a18d971de2362ae72746217d9621a37435cb2fe32dd2f91a0e3ee125303d268a46f765b363e7 WHIRLPOOL 155ec234f9d39be381851530d7280fc6cb03e09f6ec5580e7e61333e1657fbdf4e4b31116363ef3fb87b27658e87c60f239ee26fc57bb0f550c232d85f547a7a +DIST goconvey-bf58a9a1291224109919756b4dcc469c670cc7e4.tar.gz 1161670 SHA256 b54809495f137dab6c798a332a46431df6580e116395233e6cb1daa90a03bd37 SHA512 717663991e54470acb0626a1272a9644486ab3f4552c347eea26d05acf603b713276036433e1997e9c27fe769316d3ba2582e04da9e08b84850b8c5ad494338e WHIRLPOOL e6f059af524fd26b8fd3731b63be9802f30d96aee92392411c67771019ee9cf886152ac1774a96ce35f60cf04ea7ee0f3a34a373b4aec78ebe86b476366cf822 +DIST pq-f59175c2986495ff94109dee3835c504a96c3e81.tar.gz 68877 SHA256 681711e05991a904f69c837357723e1524fc326e0e0cdba3c0f956c2d96d8c8a SHA512 c68b62816cec1994848009de420b601307e6b9581f35903b28828d9cab0c8e6763d90bde7b8f297002407086525df3b0da7adaf1c7e0f3b786a0d4fcbda7d2eb WHIRLPOOL e61adb00ca89dcd3631dfce1aeaf72aff63043aa80944234992e2579b03119ddba1f58d51e11ef40004994bc86e406bc092bc1b3334079662791c623b0fe941a diff --git a/dev-go/bee/bee-1.4.1_p20160125.ebuild b/dev-go/bee/bee-1.4.1_p20160125.ebuild new file mode 100644 index 000000000000..7ef4f87f881f --- /dev/null +++ b/dev-go/bee/bee-1.4.1_p20160125.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit golang-build + +KEYWORDS="~amd64" +DESCRIPTION="A tool for helping develop with beego app framework" +EGO_PN="github.com/beego/bee/..." +EGIT_COMMIT="1566ca7da16102eab17a81346a1bc223642bc183" +SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz + https://github.com/go-sql-driver/mysql/archive/267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz -> go-mysql-267b128680c46286b9ca13475c3cca5de8f79bd7.tar.gz + https://github.com/howeyc/fsnotify/archive/f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz -> fsnotify-f0c08ee9c60704c1879025f2ae0ff3e000082c13.tar.gz + https://github.com/lib/pq/archive/f59175c2986495ff94109dee3835c504a96c3e81.tar.gz -> pq-f59175c2986495ff94109dee3835c504a96c3e81.tar.gz + https://github.com/smartystreets/goconvey/archive/bf58a9a1291224109919756b4dcc469c670cc7e4.tar.gz -> goconvey-bf58a9a1291224109919756b4dcc469c670cc7e4.tar.gz + https://github.com/smartystreets/assertions/archive/287b4346dc4e71a038c346375a9d572453bc469b.tar.gz -> assertions-287b4346dc4e71a038c346375a9d572453bc469b.tar.gz + https://github.com/jtolds/gls/archive/8ddce2a84170772b95dd5d576c48d517b22cac63.tar.gz -> gls-8ddce2a84170772b95dd5d576c48d517b22cac63.tar.gz" + +HOMEPAGE="https://${EGO_PN%/*}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" +DEPEND="dev-go/beego" + +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 +} + +src_install() { + dobin bee + dodoc "${S}/src/${EGO_PN%/*}/README.md" +} diff --git a/dev-go/bee/metadata.xml b/dev-go/bee/metadata.xml new file mode 100644 index 000000000000..f46021e610ce --- /dev/null +++ b/dev-go/bee/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">beego/bee</remote-id> + </upstream> +</pkgmetadata> |