diff options
-rw-r--r-- | app-i18n/rime-data-japanese/rime-data-japanese-0.0.0.20230204.ebuild | 4 | ||||
-rw-r--r-- | app-i18n/rime-data-kaomoji/rime-data-kaomoji-0.0.1.ebuild | 4 | ||||
-rw-r--r-- | app-misc/tmux-rime/tmux-rime-0.0.3.ebuild | 32 | ||||
-rw-r--r-- | app-shells/manpager/manpager-0.0.3.ebuild | 12 | ||||
-rw-r--r-- | dev-jq/emojify/emojify-0.0.1.ebuild (renamed from dev-jq/emojify/emojify-0.0.1-r1.ebuild) | 14 | ||||
-rw-r--r-- | dev-python/ptpython/metadata.xml | 4 | ||||
-rw-r--r-- | dev-python/ptpython/ptpython-3.0.29.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pyrime/pyrime-0.0.3.ebuild | 8 |
8 files changed, 41 insertions, 39 deletions
diff --git a/app-i18n/rime-data-japanese/rime-data-japanese-0.0.0.20230204.ebuild b/app-i18n/rime-data-japanese/rime-data-japanese-0.0.0.20230204.ebuild index dbe6ff381..6b5efd2b8 100644 --- a/app-i18n/rime-data-japanese/rime-data-japanese-0.0.0.20230204.ebuild +++ b/app-i18n/rime-data-japanese/rime-data-japanese-0.0.0.20230204.ebuild @@ -10,12 +10,12 @@ DESCRIPTION="input method for typing Japanese with RIME" HOMEPAGE="https://rime.im/ https://github.com/gkovacs/rime-japanese" SRC_URI="https://github.com/gkovacs/${MY_PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${MY_COMMIT}" + LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -S="${WORKDIR}/${MY_PN}-${MY_COMMIT}" - DOCS=( README.md ) diff --git a/app-i18n/rime-data-kaomoji/rime-data-kaomoji-0.0.1.ebuild b/app-i18n/rime-data-kaomoji/rime-data-kaomoji-0.0.1.ebuild index bbd52b5b2..34de939a6 100644 --- a/app-i18n/rime-data-kaomoji/rime-data-kaomoji-0.0.1.ebuild +++ b/app-i18n/rime-data-kaomoji/rime-data-kaomoji-0.0.1.ebuild @@ -9,12 +9,12 @@ DESCRIPTION="kaomoji input schema for RIME" HOMEPAGE="https://rime.im/ https://github.com/Freed-Wu/rime-kaomoji" SRC_URI="https://github.com/Freed-Wu/rime-kaomoji/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -S="${WORKDIR}/${MY_PN}-${PV}" - DOCS=( LICENSE README.md diff --git a/app-misc/tmux-rime/tmux-rime-0.0.3.ebuild b/app-misc/tmux-rime/tmux-rime-0.0.3.ebuild index 3116112f6..89d0b20e7 100644 --- a/app-misc/tmux-rime/tmux-rime-0.0.3.ebuild +++ b/app-misc/tmux-rime/tmux-rime-0.0.3.ebuild @@ -4,45 +4,43 @@ EAPI=8 DESCRIPTION="rime for tmux" -HOMEPAGE="https://github.com/Freed-Wu/$PN" +HOMEPAGE="https://github.com/Freed-Wu/tmux-rime" _VERSION=9e39ee6a9c9a4c43192b95b7efcc95ea1c79a28d # xmake needs xmake-repo to map a package to a pkg-config file name SRC_URI=" - $HOMEPAGE/archive/${PV}.tar.gz -> $P.tar.gz - https://github.com/xmake-io/xmake-repo/archive/$_VERSION.tar.gz -> xmake-repo-$_VERSION.tar.gz + $HOMEPAGE/archive/${PV}.tar.gz -> $P.tar.gz + https://github.com/xmake-io/xmake-repo/archive/$_VERSION.tar.gz -> xmake-repo-$_VERSION.tar.gz " -KEYWORDS="~amd64" - - LICENSE="GPL-3" SLOT="0" +KEYWORDS="~amd64" DEPEND=" - app-i18n/librime - dev-libs/glib + app-i18n/librime + dev-libs/glib " BDEPEND=" - dev-build/xmake + dev-build/xmake " RDEPEND=" - $DEPEND - app-misc/tmux + $DEPEND + app-misc/tmux " export XMAKE_ROOT=y src_configure() { # https://github.com/xmake-io/xmake/discussions/5699 - HOME=$T PATH=$T:$PATH + HOME="$T" PATH="$T:$PATH" # create a fake git to make xmake happy - echo -e "#!$SHELL\necho I am git" > $T/git || die - chmod +x $T/git || die + echo -e "#!$SHELL\necho I am git" > "$T/git" || die + chmod +x "$T/git" || die # put xmake-repo to a correct position - install -d $HOME/.xmake/repositories || die - ln -sf "$WORKDIR/xmake-repo-$_VERSION" $HOME/.xmake/repositories/xmake-repo || die + install -d "$HOME/.xmake/repositories" || die + ln -sf "$WORKDIR/xmake-repo-$_VERSION" "$HOME/.xmake/repositories/xmake-repo" || die xmake g --network=private || die 'fail to set private network' xmake f --verbose || die 'fail to increase verbosity' @@ -53,5 +51,5 @@ src_compile() { } src_install() { - xmake install -o $ED/usr || die 'fail to install' + xmake install -o "$ED/usr" || die 'fail to install' } diff --git a/app-shells/manpager/manpager-0.0.3.ebuild b/app-shells/manpager/manpager-0.0.3.ebuild index 24c3e0d7c..3baf82a12 100644 --- a/app-shells/manpager/manpager-0.0.3.ebuild +++ b/app-shells/manpager/manpager-0.0.3.ebuild @@ -7,24 +7,24 @@ DESCRIPTION="colorize man pages" HOMEPAGE="https://github.com/Freed-Wu/manpager" SRC_URI=" - $HOMEPAGE/archive/${PV}.tar.gz -> $P.tar.gz + $HOMEPAGE/archive/${PV}.tar.gz -> $P.tar.gz " -KEYWORDS="~amd64 ~arm64" LICENSE="GPL-3" SLOT="0" +KEYWORDS="~amd64 ~arm64" RDEPEND=" - sys-apps/bat - app-text/ansifilter + sys-apps/bat + app-text/ansifilter " src_prepare() { default - sed -i s=/usr=$EPREFIX/usr=g bin/$PN + sed -i "s=/usr=$EPREFIX/usr=g" "bin/$PN" } src_install() { - dobin bin/$PN + dobin "bin/$PN" echo "MANPAGER=manpager" | newenvd - 00manpager } diff --git a/dev-jq/emojify/emojify-0.0.1-r1.ebuild b/dev-jq/emojify/emojify-0.0.1.ebuild index 84cd39bff..1fcf4327f 100644 --- a/dev-jq/emojify/emojify-0.0.1-r1.ebuild +++ b/dev-jq/emojify/emojify-0.0.1.ebuild @@ -8,30 +8,30 @@ HOMEPAGE="https://github.com/Freed-Wu/jq-emojify" _VERSION=4.1.0 SRC_URI=" - $HOMEPAGE/archive/${PV}.tar.gz -> jq-$P.tar.gz - https://github.com/github/gemoji/archive/v$_VERSION.tar.gz -> gemoji-$_VERSION.tar.gz + $HOMEPAGE/archive/${PV}.tar.gz -> jq-$P.tar.gz + https://github.com/github/gemoji/archive/v$_VERSION.tar.gz -> gemoji-$_VERSION.tar.gz " S="${WORKDIR}/jq-${P}" -KEYWORDS="~amd64 ~arm64" LICENSE="GPL-3" SLOT="0" +KEYWORDS="~amd64 ~arm64" RDEPEND=" - app-misc/jq + app-misc/jq " BDEPEND=" - app-misc/jq + app-misc/jq " src_prepare() { default - sed -i s=/usr=$EPREFIX/usr=g emojify scripts/generate-emoji.jq.jq + sed -i "s=/usr=$EPREFIX/usr=g" emojify scripts/generate-emoji.jq.jq } src_compile() { - scripts/generate-emoji.jq.jq ../gemoji-$_VERSION/db/emoji.json > emoji.jq + scripts/generate-emoji.jq.jq "../gemoji-$_VERSION/db/emoji.json" > emoji.jq } src_install() { diff --git a/dev-python/ptpython/metadata.xml b/dev-python/ptpython/metadata.xml index 7ce18f426..7768b2ce8 100644 --- a/dev-python/ptpython/metadata.xml +++ b/dev-python/ptpython/metadata.xml @@ -5,6 +5,10 @@ <email>wuzhenyu@ustc.edu</email> <name>Wu, Zhenyu</name> </maintainer> + <use> + <flag name="black">Add support for dev-python/black. Black not always possible on PyPy</flag> + <flag name="ipython">Add support for dev-python/ipython for ptipython</flag> + </use> <upstream> <remote-id type="pypi">ptpython</remote-id> <remote-id type="github">prompt-toolkit/ptpython</remote-id> diff --git a/dev-python/ptpython/ptpython-3.0.29.ebuild b/dev-python/ptpython/ptpython-3.0.29.ebuild index be7eaf7ed..62101aaed 100644 --- a/dev-python/ptpython/ptpython-3.0.29.ebuild +++ b/dev-python/ptpython/ptpython-3.0.29.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..13} python3_13t pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="Python REPL build on top of prompt-toolkit" diff --git a/dev-python/pyrime/pyrime-0.0.3.ebuild b/dev-python/pyrime/pyrime-0.0.3.ebuild index fd868a500..bc3350b93 100644 --- a/dev-python/pyrime/pyrime-0.0.3.ebuild +++ b/dev-python/pyrime/pyrime-0.0.3.ebuild @@ -4,13 +4,13 @@ EAPI=8 DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{8..13} python3_13t pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="rime for python" HOMEPAGE=" - https://github.com/Freed-Wu/$PN - https://pypi.org/project/$PN + https://github.com/Freed-Wu/pyrime + https://pypi.org/project/pyrime " LICENSE="GPL-3" @@ -18,7 +18,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" DEPEND=" - app-i18n/librime + app-i18n/librime " RDEPEND="$DEPEND" |