[www-apps/gitea] version bump
This commit is contained in:
parent
df5b42536b
commit
a4256b9c57
@ -1 +1 @@
|
|||||||
DIST gitea-1.10.3.tar.gz 30145162 BLAKE2B 4b851580a4e081148ee99d0b6daab52df3251711e309b05ba6ac590d2c5f7983b5d65040b474c09efdc0e999e6f011b14a6e8f8069e3bf7957c23dc118b82cf8 SHA512 2e3962069f2160ea536a7ab4322261c5063fffe0d291796cba61c9d0a3cf965d339441bc0b2259883695a6ce4b62de1f3e16e3fc78016ce303847b70f4f8ff34
|
DIST gitea-src-1.12.0-rc1.tar.gz 134807484 BLAKE2B ba988ada498d03336ef19bc0a2abdfcfbd695cc2404b0a9ae418f9f70fc7b5c7e430ee1476ff61ed72f0a67483ac344c7f5175429e9936968a56ec7f14f6be9a SHA512 855b0840320a3f95f106079efba6913c9b101cef86c230d5b4adf38d833767f9449bfe7a5578fe98f696e9c9eae053b86ddc0442e1feb94804718ad1e7ef39aa
|
||||||
|
@ -9,7 +9,7 @@ else
|
|||||||
SCM="git-r3"
|
SCM="git-r3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit golang-base tmpfiles systemd ${SCM}
|
inherit fcaps golang-base tmpfiles systemd ${SCM}
|
||||||
unset SCM
|
unset SCM
|
||||||
MY_PV=${PV/_/-}
|
MY_PV=${PV/_/-}
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ DESCRIPTION="A painless self-hosted Git service"
|
|||||||
HOMEPAGE="https://gitea.io"
|
HOMEPAGE="https://gitea.io"
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
if [[ ${PV} != 9999* ]] ; then
|
||||||
SRC_URI="https://github.com/go-gitea/gitea/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${MY_PV}/gitea-src-${MY_PV}.tar.gz"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64"
|
KEYWORDS="~amd64 ~arm ~arm64"
|
||||||
else
|
else
|
||||||
EGIT_REPO_URI="https://github.com/go-gitea/gitea"
|
EGIT_REPO_URI="https://github.com/go-gitea/gitea"
|
||||||
@ -31,7 +31,8 @@ LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+acct pam sqlite"
|
IUSE="+acct pam sqlite"
|
||||||
|
|
||||||
BDEPEND="dev-lang/go"
|
BDEPEND="dev-lang/go
|
||||||
|
>=net-libs/nodejs-10[npm]"
|
||||||
DEPEND="pam? ( sys-libs/pam )"
|
DEPEND="pam? ( sys-libs/pam )"
|
||||||
RDEPEND="${DEPEND}
|
RDEPEND="${DEPEND}
|
||||||
acct? (
|
acct? (
|
||||||
@ -41,6 +42,7 @@ RDEPEND="${DEPEND}
|
|||||||
dev-vcs/git"
|
dev-vcs/git"
|
||||||
|
|
||||||
DOCS=( custom/conf/app.ini.sample CONTRIBUTING.md README.md )
|
DOCS=( custom/conf/app.ini.sample CONTRIBUTING.md README.md )
|
||||||
|
FILECAPS=( cap_net_bind_service+ep usr/bin/gitea )
|
||||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/gitea-logflags.patch" )
|
PATCHES=( "${FILESDIR}/gitea-logflags.patch" )
|
||||||
@ -63,7 +65,7 @@ gitea_make() {
|
|||||||
)
|
)
|
||||||
[[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}")
|
[[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}")
|
||||||
|
|
||||||
env "${makeenv[@]}" emake "$@"
|
env "${makeenv[@]}" emake -j1 "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
@ -88,7 +90,8 @@ src_prepare() {
|
|||||||
sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.ini.sample || die
|
sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.ini.sample || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gitea_make generate
|
# Remove already build assets (like frontend part)
|
||||||
|
gitea_make clean-all
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
Loading…
Reference in New Issue
Block a user