New package: python-iptools-0.6.1

Closes: #6960 [via git-merge-pr]
This commit is contained in:
genericly 2017-07-05 00:11:47 -04:00 committed by Toyam Cox
parent d416eea1f7
commit e9b5e77de2
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Template file for 'python-iptools'
pkgname=python-iptools
version=0.6.1
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="iptools"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 utilites for manipulating IPv4 and IPv6 addresses"
maintainer="Andrew Mirghassemi <a.mirghassemi@live.com>"
license="2-clause-BSD"
homepage="https://github.com/bd808/python-iptools"
distfiles="${PYPI_SITE}/i/iptools/iptools-${version}.tar.gz"
checksum=0f03875a5bed740ba4bf44decb6a78679cca914a1ee8a6cc468114485c4d98e3
post_install() {
vlicense LICENSE
}
python3-iptools_package() {
noarch=yes
depends="python3"
pycompile_module="iptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="iptools:iptools/usr/bin/iptools3"
pkg_install() {
vmove /usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-iptools Symbolic link
View file

@ -0,0 +1 @@
python-iptools/