python-ipaddr: switch to python2-module

Clean up while I'm here.
This commit is contained in:
Alessio Sergi 2016-10-17 03:35:31 +02:00
parent b195187b88
commit 0d99c04b9f

View file

@ -1,17 +1,16 @@
# Template file for 'python-ipaddr' # Template file for 'python-ipaddr'
_name=ipaddr pkgname=python-ipaddr
pkgname=python-${_name}
version=2.1.11 version=2.1.11
revision=1 revision=2
noarch=yes noarch=yes
build_style=python-module wrksrc="ipaddr-${version}"
wrksrc=${_name}-${version} build_style=python2-module
pycompile_module="ipaddr" pycompile_module="ipaddr"
hostmakedepends="python" hostmakedepends="python"
makedepends="python-devel" makedepends="python-devel"
short_desc="Python IP address manipulation library" short_desc="Python IP address manipulation library"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>" maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://code.google.com/p/ipaddr-py/" homepage="https://github.com/google/ipaddr-py"
distfiles="${PYPI_SITE}/i/${_name}/${_name}-${version}.tar.gz" distfiles="${PYPI_SITE}/i/ipaddr/ipaddr-${version}.tar.gz"
checksum=1b555b8a8800134fdafe32b7d0cb52f5bdbfdd093707c3dd484c5ea59f1d98b7 checksum=1b555b8a8800134fdafe32b7d0cb52f5bdbfdd093707c3dd484c5ea59f1d98b7