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

27 lines
939 B
Bash

# Template file for 'python-ripe-atlas-cousteau'
pkgname=python-ripe-atlas-cousteau
version=1.4.1
revision=1
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=1125638c2d05bafdbb17fa9aeda7d88ba433effdebf126d5ede0fbf5f93b270c
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*
}
}