# Template file for 'python-ripe-atlas-cousteau'
pkgname=python-ripe-atlas-cousteau
version=1.4.2
revision=2
build_style=python-module
archs=noarch
pycompile_module="ripe/atlas/cousteau"
wrksrc="ripe-atlas-cousteau-${version}"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-dateutil python-socketIO-client"
short_desc="Python2 wrapper around RIPE ATLAS API"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/RIPE-NCC/ripe-atlas-cousteau"
distfiles="https://github.com/RIPE-NCC/ripe-atlas-cousteau/archive/${version}.tar.gz"
checksum=91bfaaafe7561ccc7b91f555a5004c467d615b9f404739496a4ed6a22fcb07b7

python3-ripe-atlas-cousteau_package() {
	short_desc="${short_desc/Python2/Python3}"
	archs=noarch
	pycompile_module="ripe/atlas/cousteau"
	depends="python3-dateutil python3-socketIO-client"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
