void-packages/srcpkgs/python-IPy/template
2019-03-04 21:44:44 +01:00

32 lines
805 B
Bash

# Template file for 'python-IPy'
pkgname=python-IPy
version=1.00
revision=1
archs=noarch
wrksrc="IPy-${version}"
build_style=python-module
pycompile_module="IPy.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 class for handling of IPv4 and IPv6 addresses and networks"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/autocracy/python-ipy"
distfiles="${PYPI_SITE}/I/IPy/IPy-${version}.tar.gz"
checksum=2f2bf658a858d43868d8a4352b3889cf78c66e2ce678b300dcf518c9149ba621
post_install() {
vlicense COPYING
}
python3-IPy_package() {
short_desc="${short_desc/Python2/Python3}"
archs=noarch
pycompile_module="IPy.py"
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING
}
}