python-IPy: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:38:50 +07:00
parent 06c05702e7
commit c870042161
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-IPy'
pkgname=python-IPy
version=1.00
revision=2
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
}
}

View file

@ -1 +0,0 @@
python-IPy

View file

@ -0,0 +1,18 @@
# Template file for 'python3-IPy'
pkgname=python3-IPy
version=1.00
revision=3
wrksrc="IPy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 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
}