Skip to content

Commit

Permalink
dev-python/rfc3987: only depend on dev-python/regex w/o pypy
Browse files Browse the repository at this point in the history
Falls back to re with less functionality if unavailable.

Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
thesamesam committed Feb 10, 2024
1 parent dacd7f9 commit ba5c3b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"

# dev-python/regex doesn't support pypy. The package falls back to re and has most
# functionality without it.
RDEPEND="
dev-python/regex[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/regex[${PYTHON_USEDEP}]
' 'python*')
"
BDEPEND="
${RDEPEND}
Expand Down

0 comments on commit ba5c3b4

Please sign in to comment.