Merge pull request #4908 from felix/python-netaddr
New package: python-netaddr-0.7.18
This commit is contained in:
commit
ca2d49b466
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-netaddr/template
Normal file
32
srcpkgs/python-netaddr/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'python-netaddr'
|
||||
pkgname=python-netaddr
|
||||
version=0.7.18
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="netaddr-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="netaddr"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
depends="python"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
short_desc="A network address manipulation library for Python2"
|
||||
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=a1f5c9fcf75ac2579b9995c843dade33009543c04f218ff7c007b3c81695bd19
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3.4-netaddr_package() {
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3.4-netaddr
Symbolic link
1
srcpkgs/python3.4-netaddr
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-netaddr
|
Loading…
Reference in a new issue