void-packages/srcpkgs/python-ripe-atlas-cousteau/template

27 lines
937 B
Bash

# Template file for 'python-ripe-atlas-cousteau'
pkgname=python-ripe-atlas-cousteau
version=1.4
revision=2
build_style=python-module
noarch=yes
pycompile_module="ripe/atlas/cousteau"
wrksrc="ripe-atlas-cousteau-${version}"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-requests python-dateutil python-socketIO-client"
short_desc="Python2 wrapper around RIPE ATLAS API"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="GPL-3"
homepage="https://github.com/RIPE-NCC/ripe-atlas-cousteau"
distfiles="https://github.com/RIPE-NCC/ripe-atlas-cousteau/archive/v${version}.tar.gz"
checksum=d317b9bd901d6207d930f6422b01370980d747e71895482508b3adeca5796652
python3-ripe-atlas-cousteau_package() {
short_desc="${short_desc/Python2/Python3}"
noarch=yes
pycompile_module="ripe/atlas/cousteau"
depends="python3-requests python3-dateutil python3-socketIO-client"
pkg_install() {
vmove usr/lib/python3*
}
}