parent
d416eea1f7
commit
e9b5e77de2
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-iptools/template
Normal file
32
srcpkgs/python-iptools/template
Normal 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
1
srcpkgs/python3-iptools
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-iptools/
|
Loading…
Add table
Add a link
Reference in a new issue