dev-vcs/git-mediawiki: fix 9999-only status

Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
This commit is contained in:
Niklaus 'vimja' Hofer
2026-04-02 10:02:53 +02:00
parent 59a2f0cc9d
commit b4077be801
3 changed files with 61 additions and 2 deletions

View File

@@ -0,0 +1 @@
DIST git-mediawiki-0_pre20260127.tar.gz 50739 BLAKE2B 386bd58acd2818da02a08c6d00ecd937c7e9a6ef30de35055a950e37ee690c49fadff028e080633479c4c9592a2cfa247d6687ac29790b00ba18153af10cd590 SHA512 354a4b1e8bc3ebeddfb843774951a8a3992d41e5f850b815ef4a35ad049634b75d52c970e0c99f73ba5574b1984d157761d7eb69bcc8beb8d7f8a5383523f9e5

View File

@@ -0,0 +1,48 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION=" Gate between Git and Mediawiki "
HOMEPAGE="https://github.com/Git-Mediawiki/Git-Mediawiki"
inherit perl-functions
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Git-Mediawiki/Git-Mediawiki.git"
else
GIT_COMMIT=c493d54bb1504d2efc02372e37b2e66c3c6e5530
MY_PN="Git-Mediawiki"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/"${MY_PN}-${GIT_COMMIT}"
KEYWORDS="~amd64 ~arm64"
fi
LICENSE="GPL-2"
SLOT="0"
DEPEND="dev-vcs/git[perl]"
RDEPEND="
${DEPEND}
dev-perl/MediaWiki-API
dev-perl/DateTime-Format-ISO8601
"
BDEPEND="${DEPEND}"
DOCS=(
"README.md",
"docs"
)
src_compile(){
return
}
src_install(){
exeinto "/usr/libexec/git-core"
doexe git-remote-mediawiki
doexe git-mw
perl_domodule -C Git Git/Mediawiki.pm
}

View File

@@ -5,9 +5,19 @@ EAPI=8
DESCRIPTION=" Gate between Git and Mediawiki "
HOMEPAGE="https://github.com/Git-Mediawiki/Git-Mediawiki"
EGIT_REPO_URI="https://github.com/Git-Mediawiki/Git-Mediawiki.git"
inherit git-r3 perl-functions
inherit perl-functions
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Git-Mediawiki/Git-Mediawiki.git"
else
GIT_COMMIT=c493d54bb1504d2efc02372e37b2e66c3c6e5530
MY_PN="Git-Mediawiki"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/"${MY_PN}-${GIT_COMMIT}"
KEYWORDS="~amd64 ~arm64"
fi
LICENSE="GPL-2"
SLOT="0"