summaryrefslogtreecommitdiff
path: root/dev-erlang/idna/idna-6.0.0-r2.ebuild
blob: 7efb53594010add7634f7bf4de03f0a7fe7b1fbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit rebar

DESCRIPTION="Erlang IDNA implementation"
HOMEPAGE="https://github.com/benoitc/erlang-idna"
SRC_URI="https://github.com/benoitc/erlang-idna/archive/${PV}.tar.gz
	-> ${P}.tar.gz"
S="${WORKDIR}/erlang-idna-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~sparc x86"

DEPEND=">=dev-lang/erlang-21.0"

# Removes dependency to workaround for older erlang versions.
# Patch based on https://github.com/benoitc/erlang-idna/pull/31
PATCHES=( "${FILESDIR}/0001-Remove-dependency-on-unicode_util_compat.patch" )