mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-02 11:40:51 +02:00
websocket: 1.4.0 bump
This commit is contained in:
parent
f62fa103ef
commit
7835401ae8
3 changed files with 22 additions and 6 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST websocket-1.2.0.tar.gz 42984 BLAKE2B 74200d31210f912b9d4123e9554c025b039307a635ee3b0dcd4e9b2de2883d4f9e1d6ae591c8c6857f7b4522cc73847a6c78c809d808717f555f9b877891ba22 SHA512 9d405a83c6a57144af048d84a53dc0bb6f136e9e85eabcbc0d43b0f8d6c699501c99ea70baf903f916999244c53284456686163faccc30e2a19631f18f30d409
|
||||
DIST websocket-1.4.0.tar.gz 50228 BLAKE2B d79c4828ea72139b1fad5f39b5d711536a3ccf1cbe0c284f7b4626611cc4ed4801e759ff2970de785c968b10f56497d6fc67b1b72669a40466f6496544c44d07 SHA512 c358358d8c081e32eb06bde901c1d060de7ca08c2a60541dc06f70936a94de3d6a8ae26dd86ebceeeef6c2b75f9c79a0c4a1f8fc6ee84f5ed7ec9fe6f9c7dee4
|
||||
|
|
|
|||
21
dev-go/websocket/websocket-1.4.0.ebuild
Normal file
21
dev-go/websocket/websocket-1.4.0.ebuild
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN=github.com/gorilla/${PN}
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="Go implementation of the WebSocket protocol"
|
||||
HOMEPAGE="https://github.com/gorilla/websocket"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
|
@ -53,12 +53,6 @@ DEPEND=">=dev-lang/go-1.10
|
|||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
#src_prepare() {
|
||||
# #https://github.com/OWASP/Amass/issues/52
|
||||
# sed -i "s|caffix/amass|OWASP/Amass|g" src/github.com/OWASP/Amass/cmd/amass.netdomains/main.go
|
||||
# eapply_user
|
||||
#}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} ./...
|
||||
|
|
|
|||
Loading…
Reference in a new issue