mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 23:39:00 -04:00
*/*: fix some QA issues
dev-python/pyrime: add python_test() app-shells/manpager: disable app-text/manpager dev-python/pyrime: add use flags app-misc/tmux-rime: support CFLAGS, CXXFLAGS, LDFLAGS app-misc/tmux-rime: don't call cc, ld directly Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
396e01a453
commit
30174bba83
@ -16,6 +16,8 @@ LICENSE="GPL-3"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
app-i18n/librime
|
app-i18n/librime
|
||||||
dev-libs/glib
|
dev-libs/glib
|
||||||
@ -43,7 +45,9 @@ src_configure() {
|
|||||||
ln -sf "$WORKDIR/xmake-repo-$_VERSION" "$HOME/.xmake/repositories/xmake-repo" || die
|
ln -sf "$WORKDIR/xmake-repo-$_VERSION" "$HOME/.xmake/repositories/xmake-repo" || die
|
||||||
|
|
||||||
xmake g --network=private || die 'fail to set private network'
|
xmake g --network=private || die 'fail to set private network'
|
||||||
xmake f --verbose || die 'fail to increase verbosity'
|
xmake f --cflags="$CFLAGS" --cxxflags="$CXXFLAGS" --ldflags="$LDFLAGS" \
|
||||||
|
--cc="$(tc-getCC)" --cpp="$(tc-getCXX)" --ld="$(tc-getCC)" --verbose ||
|
||||||
|
die 'fail to config'
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
@ -15,6 +15,7 @@ SLOT="0"
|
|||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
|
!app-text/manpager
|
||||||
sys-apps/bat
|
sys-apps/bat
|
||||||
app-text/ansifilter
|
app-text/ansifilter
|
||||||
"
|
"
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
<email>wuzhenyu@ustc.edu</email>
|
<email>wuzhenyu@ustc.edu</email>
|
||||||
<name>Wu, Zhenyu</name>
|
<name>Wu, Zhenyu</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="ptpython">Add support for dev-python/ptpython</flag>
|
||||||
|
<flag name="prompt-toolkit">Add support for dev-python/prompt-toolkit</flag>
|
||||||
|
</use>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="pypi">pyrime</remote-id>
|
<remote-id type="pypi">pyrime</remote-id>
|
||||||
<remote-id type="github">Freed-Wu/pyrime</remote-id>
|
<remote-id type="github">Freed-Wu/pyrime</remote-id>
|
||||||
|
@ -17,8 +17,21 @@ LICENSE="GPL-3"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
IUSE="prompt-toolkit ptpython"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
app-i18n/librime
|
app-i18n/librime
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPEND="$DEPEND"
|
EPYTEST_XDIST=1
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
$DEPEND
|
||||||
|
prompt-toolkit? ( dev-python/prompt-toolkit )
|
||||||
|
ptpython? ( dev-python/ptpython )
|
||||||
|
"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
epytest
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user