summaryrefslogtreecommitdiff
path: root/net-dns/dyndnsc/dyndnsc-0.5.1-r2.ebuild
blob: 556bbe29030de577e2b017a3bd98072f73e4badd (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
30
31
EAPI="6"

PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit distutils-r1

DESCRIPTION="Dynamic dns update client"
HOMEPAGE="https://github.com/infothrill/python-dyndnsc"
SRC_URI="https://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
KEYWORDS="amd64 ~x86"
SLOT="0"
IUSE="test"

RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
	>=dev-python/daemonocle-1.0.1
	>=dev-python/dnspython-1.15.0
	>=dev-python/netifaces-0.10.5
	>=dev-python/requests-2.0.1"
DEPEND="${RDEPEND}"


src_prepare() {
	eapply "${FILESDIR}/no-pytest.patch"
	distutils-r1_src_prepare
}

src_install() {
	distutils-r1_src_install
	newinitd "${FILESDIR}/dyndnsc.init" dyndnsc
}