summaryrefslogtreecommitdiff
path: root/dev-erlang/eredis/eredis-1.7.1.ebuild
blob: 4de8f87ce20f5e902ee2ab25071a45b7bc7efcc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit rebar

DESCRIPTION="Erlang Redis client"
HOMEPAGE="https://github.com/Nordix/eredis/"
SRC_URI="https://github.com/Nordix/${PN}/archive/v${PV}.tar.gz
	-> ${P}.tar.gz"

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

DEPEND=">=dev-lang/erlang-17.1"
RDEPEND="${DEPEND}"

DOCS=( AUTHORS CHANGELOG.md README.md )

# Needs running redis instance at 127.0.0.1:6379.
RESTRICT=test

src_prepare() {
	default
	# Remove the rebar3_fmt plugin from rebar.config
	sed -i '/rebar3_fmt/d' rebar.config || die
}