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

27 lines
906 B
Bash

# Template file for 'ripe-atlas-sagan'
pkgname=python-ripe-atlas-sagan
version=1.1.11
revision=1
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-openssl"
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=9d84c8346366e344b081a95cae684d397e1a8d0cb9be6bb0c3190e5f813ef869
python3-ripe-atlas-sagan_package() {
depends="python3-dateutil python3-pytz python3-openssl"
noarch=yes
pycompile_module="ripe/atlas/sagan"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}