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

26 lines
915 B
Bash

# Template file for 'ripe-atlas-sagan'
pkgname=python-ripe-atlas-sagan
version=1.2.1
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-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=e86a5fea7ab742a033fc549cac1b082d0059c00b4421e3e617e609bf5df5cac4
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*
}
}