python-netaddr: drop package
This commit is contained in:
parent
001de6c098
commit
c7419f22de
3 changed files with 19 additions and 35 deletions
|
@ -1,34 +0,0 @@
|
|||
# Template file for 'python-netaddr'
|
||||
pkgname=python-netaddr
|
||||
version=0.7.19
|
||||
revision=3
|
||||
archs=noarch
|
||||
wrksrc="netaddr-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="netaddr"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Python2 network address manipulation library"
|
||||
maintainer="Felix Hanley <felix@userspace.com.au>"
|
||||
homepage="https://github.com/drkjam/netaddr/"
|
||||
license="3-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/n/netaddr/netaddr-${version}.tar.gz"
|
||||
checksum=38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd
|
||||
alternatives="netaddr:netaddr:/usr/bin/netaddr2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-netaddr_package() {
|
||||
archs=noarch
|
||||
depends="python3"
|
||||
pycompile_module="netaddr"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="netaddr:netaddr:/usr/bin/netaddr3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/netaddr3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-netaddr
|
19
srcpkgs/python3-netaddr/template
Normal file
19
srcpkgs/python3-netaddr/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'python3-netaddr'
|
||||
pkgname=python3-netaddr
|
||||
version=0.7.19
|
||||
revision=4
|
||||
wrksrc="netaddr-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
short_desc="Python3 network address manipulation library"
|
||||
maintainer="Felix Hanley <felix@userspace.com.au>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/drkjam/netaddr/"
|
||||
distfiles="${PYPI_SITE}/n/netaddr/netaddr-${version}.tar.gz"
|
||||
checksum=38aeec7cdd035081d3a4c306394b19d677623bf76fa0913f6695127c7753aefd
|
||||
conflicts="python-netaddr>=0"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue