[www-apps/gitea] version bump
This commit is contained in:
parent
243916e015
commit
d4ecc821f7
@ -1 +1 @@
|
|||||||
DIST gitea-1.10.1.tar.gz 30146802 BLAKE2B d566e58bc8031c6ff2741861c93deb1cc0bbe2236cfa8d1f054e1453d39b294ae55bd3bae46373efa39cd0b5bc9dfc248ecc0c64642eb4df68fb01042ef1c692 SHA512 d7baea6ac9aca3a3226d36325000c71c886d560eeecb2fdbed924b4924db34882cdd82d07120e3c7175a6d87140a1f63cc575c3be44513e08f8e557856b39acd
|
DIST gitea-1.11.0_rc1.tar.gz 28705075 BLAKE2B 42e649fd059867c814784279ff29edd1a2a03d364655dadda9379ff9bb0a23ab3c3619278e2e187e1637fe06b3bf5341e4dcf0b38538c780e8108bb589d8dbfc SHA512 34cc4a1a647aee7a98d8622a2e6e347847ebfd872595dbc5f3f734a36512d557c412a0f2e6cf1aa2e48cae2fd0a89db670531680c645892dd45fbaec12c2c915
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@ -9,7 +9,7 @@ else
|
|||||||
SCM="git-r3"
|
SCM="git-r3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit golang-build tmpfiles systemd ${SCM}
|
inherit golang-base tmpfiles systemd ${SCM}
|
||||||
unset SCM
|
unset SCM
|
||||||
MY_PV=${PV/_/-}
|
MY_PV=${PV/_/-}
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ gitea_make() {
|
|||||||
LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[@]}"
|
LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[@]}"
|
||||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"
|
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"
|
||||||
)
|
)
|
||||||
[[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${PV}")
|
[[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}")
|
||||||
|
|
||||||
env "${makeenv[@]}" emake "$@"
|
env "${makeenv[@]}" emake "$@"
|
||||||
}
|
}
|
||||||
@ -98,13 +98,13 @@ src_compile() {
|
|||||||
src_test() {
|
src_test() {
|
||||||
if has network-sandbox ${FEATURES}; then
|
if has network-sandbox ${FEATURES}; then
|
||||||
einfo "Remove tests which are known to fail with network-sandbox enabled."
|
einfo "Remove tests which are known to fail with network-sandbox enabled."
|
||||||
rm -rf ./modules/migrations/github_test.go
|
rm ./modules/migrations/github_test.go || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
if [[ ${PV} != 9999* ]] ; then
|
||||||
einfo "Remove tests which depend on gitea git-repo."
|
einfo "Remove tests which depend on gitea git-repo."
|
||||||
rm -rf ./modules/git/blob_test.go
|
rm ./modules/git/blob_test.go || die
|
||||||
rm -rf ./modules/git/repo_test.go
|
rm ./modules/git/repo_test.go || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
default
|
default
|
Loading…
Reference in New Issue
Block a user