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

27 lines
926 B
Bash

# Template file for 'python-ripe-atlas-sagan'
pkgname=python-ripe-atlas-sagan
version=1.3.0
revision=1
archs=noarch
wrksrc="ripe.atlas.sagan-${version}"
build_style=python-module
pycompile_module="ripe/atlas/sagan"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-dateutil python-pytz python-cryptography"
short_desc="Python2 parsing library for RIPE Atlas measurement results"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="GPL-3"
homepage="https://github.com/RIPE-NCC/ripe.atlas.sagan"
distfiles="https://github.com/RIPE-NCC/ripe.atlas.sagan/archive/v${version}.tar.gz"
checksum=39d8c0864ec8d790fe46f45cb55020d8603fceb374c77cda46f96b71279af016
python3-ripe-atlas-sagan_package() {
depends="python3-dateutil python3-pytz python3-cryptography"
archs=noarch
pycompile_module="ripe/atlas/sagan"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}