[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Aug 4 16:02:28 UTC 2021
Date: Wednesday, August 4, 2021 @ 16:02:27
Author: dvzrv
Revision: 993675
upgpkg: python-ethtool 0.15-1: Upgrade to 0.15.
Remove ignoring of tests (problems seems to have been fixed upstream).
Update maintainer info.
Modified:
python-ethtool/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-04 15:46:21 UTC (rev 993674)
+++ PKGBUILD 2021-08-04 16:02:27 UTC (rev 993675)
@@ -1,10 +1,10 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
# Contributor: Konstantin Shalygin <k0ste at k0ste.ru>
_name=ethtool
pkgname=python-ethtool
-pkgver=0.14
-pkgrel=6
+pkgver=0.15
+pkgrel=1
pkgdesc='Python bindings for the ethtool kernel interface.'
arch=('x86_64')
url="https://github.com/fedora-python/python-ethtool"
@@ -13,7 +13,8 @@
makedepends=('asciidoc' 'libnl' 'python-setuptools')
checkdepends=('net-tools' 'python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('1b211527cab50d012312476171897beed0885d5a37e5713e5ac2e9a57fcbf67b8e0983160d0f13da8804b04738f60095bef21ab127651cb87b4f0629bb89ccf7')
+sha512sums=('6789dbbefcde4881a6adad194cd01586c5dad8aecc5c89c368109d96acfed96e994df6050a37ab0c575ca4266d0aeb62ec7008679a7c68fae5f8f8f91978ffa5')
+b2sums=('dd2fd2c7abf07f0a5fb32dfce7bf34f7a8e6300000250447fb56f0dfcd467509c5a8c86860f54650ec08ce4360bd56bd08fcbb2b70c06b13115d7416f4e3d230')
build() {
cd "${_name}-${pkgver}"
@@ -22,13 +23,11 @@
a2x -d manpage -f manpage "man/pifconfig.8.asciidoc"
}
-# do not run flaky tests:
-# https://github.com/fedora-python/python-ethtool/issues/40
check() {
cd "${_name}-${pkgver}"
local _py3_ver=$(python --version | cut -d " " -f2)
export PYTHONPATH="build/lib.linux-$CARCH-${_py3_ver%"."*}:${PYTHONPATH}"
- py.test -k 'not test_etherinfo_objects and not test_get_interface_info_active and not test_get_interface_info_all'
+ pytest -v
}
package() {
@@ -35,7 +34,6 @@
cd "${_name}-${pkgver}"
python setup.py install --skip-build \
--optimize=1 \
- --prefix=/usr \
--root="${pkgdir}"
install -t "${pkgdir}/usr/share/man/man8" \
More information about the arch-commits
mailing list