From 335e11021932741a36d89c7fb9e3bf244e2a2864 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 6 Sep 2020 03:44:24 +0200 Subject: [PATCH] www-apps/gitea: Remove build-client useflag. --- www-apps/gitea/gitea-1.12.3.ebuild | 14 ++------------ www-apps/gitea/gitea-1.12.4.ebuild | 14 ++------------ www-apps/gitea/metadata.xml | 3 --- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git a/www-apps/gitea/gitea-1.12.3.ebuild b/www-apps/gitea/gitea-1.12.3.ebuild index 1d7dca7..4836680 100644 --- a/www-apps/gitea/gitea-1.12.3.ebuild +++ b/www-apps/gitea/gitea-1.12.3.ebuild @@ -20,9 +20,8 @@ fi LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" SLOT="0" -IUSE="+acct build-client pam sqlite" +IUSE="+acct pam sqlite" -BDEPEND="build-client? ( >=net-libs/nodejs-10[npm] )" COMMON_DEPEND=" acct? ( acct-group/git @@ -72,9 +71,6 @@ src_prepare() { einfo "Remove tests which depend on gitea git-repo." rm ./modules/git/blob_test.go || die rm ./modules/git/repo_test.go || die - - # Remove already build assets (like frontend part) - use build-client && emake clean-all } src_compile() { @@ -94,13 +90,7 @@ src_compile() { ) [[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}") - if use build-client; then - # -j1 as Makefile doesn't handle dependancy correctly, and is not - # useful as golang compiler don't use this info. - env "${makeenv[@]}" emake -j1 build - else - env "${makeenv[@]}" emake backend - fi + env "${makeenv[@]}" emake backend } src_install() { diff --git a/www-apps/gitea/gitea-1.12.4.ebuild b/www-apps/gitea/gitea-1.12.4.ebuild index 0b4f81d..cf23831 100644 --- a/www-apps/gitea/gitea-1.12.4.ebuild +++ b/www-apps/gitea/gitea-1.12.4.ebuild @@ -20,9 +20,8 @@ fi LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" SLOT="0" -IUSE="+acct build-client pam sqlite" +IUSE="+acct pam sqlite" -BDEPEND="build-client? ( >=net-libs/nodejs-10[npm] )" COMMON_DEPEND=" acct? ( acct-group/git @@ -74,9 +73,6 @@ src_prepare() { einfo "Remove tests which depend on gitea git-repo." rm ./modules/git/blob_test.go || die rm ./modules/git/repo_test.go || die - - # Remove already build assets (like frontend part) - use build-client && emake clean-all } src_compile() { @@ -96,13 +92,7 @@ src_compile() { ) [[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}") - if use build-client; then - # -j1 as Makefile doesn't handle dependancy correctly, and is not - # useful as golang compiler don't use this info. - env "${makeenv[@]}" emake -j1 build - else - env "${makeenv[@]}" emake backend - fi + env "${makeenv[@]}" emake backend } src_install() { diff --git a/www-apps/gitea/metadata.xml b/www-apps/gitea/metadata.xml index 50cd06f..3d6c920 100644 --- a/www-apps/gitea/metadata.xml +++ b/www-apps/gitea/metadata.xml @@ -12,8 +12,5 @@ User and group management via acct-*/git packages - - Build the client code, instead of using a precompiled one -