python-netifaces: update to 0.10.7
This commit is contained in:
parent
f703b03250
commit
8e09f9760e
1 changed files with 10 additions and 4 deletions
|
@ -1,21 +1,27 @@
|
||||||
# Template file for 'python-netifaces'
|
# Template file for 'python-netifaces'
|
||||||
pkgname=python-netifaces
|
pkgname=python-netifaces
|
||||||
version=0.10.6
|
version=0.10.7
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="netifaces-${version}"
|
wrksrc="netifaces-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
makedepends="python-devel python3-devel"
|
makedepends="python-devel python3-devel"
|
||||||
short_desc="Python2 library to retrieve information about network interfaces"
|
short_desc="Python2 library to retrieve information about network interfaces"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://bitbucket.org/al45tair/netifaces"
|
homepage="https://github.com/al45tair/netifaces"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/n/netifaces/netifaces-${version}.tar.gz"
|
||||||
checksum=0c4da523f36d36f1ef92ee183f2512f3ceb9a9d2a45f7d19cda5a42c6689ebe0
|
checksum=bd590fcb75421537d4149825e1e63cca225fd47dad861710c46bd1cb329d8cbd
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
sed -n '/Copyright/,/SOFTWARE\./p' PKG-INFO >LICENSE
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-netifaces_package() {
|
python3-netifaces_package() {
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue