diff --git a/www-apps/gitea/Manifest b/www-apps/gitea/Manifest index 119e67d..6ea8c4e 100644 --- a/www-apps/gitea/Manifest +++ b/www-apps/gitea/Manifest @@ -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 diff --git a/www-apps/gitea/gitea-1.10.1.ebuild b/www-apps/gitea/gitea-1.11.0_rc1.ebuild similarity index 92% rename from www-apps/gitea/gitea-1.10.1.ebuild rename to www-apps/gitea/gitea-1.11.0_rc1.ebuild index cd7ba8e..f9a34a9 100644 --- a/www-apps/gitea/gitea-1.10.1.ebuild +++ b/www-apps/gitea/gitea-1.11.0_rc1.ebuild @@ -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 EAPI=7 @@ -9,7 +9,7 @@ else SCM="git-r3" fi -inherit golang-build tmpfiles systemd ${SCM} +inherit golang-base tmpfiles systemd ${SCM} unset SCM MY_PV=${PV/_/-} @@ -61,7 +61,7 @@ gitea_make() { LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[@]}" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" ) - [[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${PV}") + [[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}") env "${makeenv[@]}" emake "$@" } @@ -98,13 +98,13 @@ src_compile() { src_test() { if has network-sandbox ${FEATURES}; then 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 if [[ ${PV} != 9999* ]] ; then einfo "Remove tests which depend on gitea git-repo." - rm -rf ./modules/git/blob_test.go - rm -rf ./modules/git/repo_test.go + rm ./modules/git/blob_test.go || die + rm ./modules/git/repo_test.go || die fi default