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

27 lines
915 B
Bash

# Template file for 'ripe-atlas-sagan'
pkgname=python-ripe-atlas-sagan
version=1.2.2
revision=2
noarch=yes
pycompile_module="ripe/atlas/sagan"
wrksrc="ripe.atlas.sagan-${version}"
build_style=python-module
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=c6c55651db6b10c45ff6a4c3d3d96039e4dd24508b7491929ec04284983dcd89
python3-ripe-atlas-sagan_package() {
depends="python3-dateutil python3-pytz python3-cryptography"
noarch=yes
pycompile_module="ripe/atlas/sagan"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}