0faa2c5ed6
* New package: ripe-atlas-tools-2.0.2 The official command-line client for RIPE Atlas. * New package: python-ripe-atlas-cousteau-1.3 Dependency of ripe-atlas-tools * New package: python-ripe-atlas-sagan-1.1.11 Dependency of ripe-atlas-tools * New package: python-socketIO-client-0.7.2 * New package: python-IPy-0.83
31 lines
792 B
Bash
31 lines
792 B
Bash
# Template file for 'python-IPy'
|
|
pkgname=python-IPy
|
|
version=0.83
|
|
revision=1
|
|
build_style=python-module
|
|
noarch=yes
|
|
pycompile_module="IPy.py"
|
|
wrksrc="IPy-${version}"
|
|
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"
|
|
homepage="https://github.com/autocracy/python-ipy"
|
|
distfiles="${PYPI_SITE}/I/IPy/IPy-${version}.tar.gz"
|
|
checksum=61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
python3-IPy_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
noarch=yes
|
|
pycompile_module="IPy.py"
|
|
depends="python3"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING
|
|
}
|
|
}
|