python-iptools: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:22:09 +07:00
parent a4b11ce628
commit a6b1acdb6e
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-iptools'
pkgname=python-iptools
version=0.7.0
revision=2
archs=noarch
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="BSD-2-Clause"
homepage="https://github.com/bd808/python-iptools"
distfiles="${PYPI_SITE}/i/iptools/iptools-${version}.tar.gz"
checksum=118a4f638bb5fa0123df56fe3be703b112a689167539bcc194f8698ccdd9e2ea
post_install() {
vlicense LICENSE
}
python3-iptools_package() {
archs=noarch
depends="python3"
pycompile_module="iptools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

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

View file

@ -0,0 +1,18 @@
# Template file for 'python3-iptools'
pkgname=python3-iptools
version=0.7.0
revision=3
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 utilites for manipulating IPv4 and IPv6 addresses"
maintainer="Andrew Mirghassemi <a.mirghassemi@live.com>"
license="BSD-2-Clause"
homepage="https://github.com/bd808/python-iptools"
distfiles="${PYPI_SITE}/i/iptools/iptools-${version}.tar.gz"
checksum=118a4f638bb5fa0123df56fe3be703b112a689167539bcc194f8698ccdd9e2ea
post_install() {
vlicense LICENSE
}