[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 13:38:58 Author: felixonmars Revision: 751814 upgpkg: python-ethtool 0.14-6: Python 3.9 rebuild Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 13:38:53 UTC (rev 751813) +++ PKGBUILD2020-11-12 13:38:58 UTC (rev 751814) @@ -4,7 +4,7 @@ _name=ethtool pkgname=python-ethtool pkgver=0.14 -pkgrel=5 +pkgrel=6 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool;
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 13:38:15 Author: foutrelis Revision: 751811 pytest does not like newlines in -k argument Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 13:28:23 UTC (rev 751810) +++ PKGBUILD2020-11-12 13:38:15 UTC (rev 751811) @@ -28,9 +28,7 @@ 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' + py.test -k 'not test_etherinfo_objects and not test_get_interface_info_active and not test_get_interface_info_all' } package() {
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Tuesday, November 10, 2020 @ 04:14:35 Author: felixonmars Revision: 748592 upgpkg: python-ethtool 0.14-5: Python 3.9 rebuild Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-10 04:14:31 UTC (rev 748591) +++ PKGBUILD2020-11-10 04:14:35 UTC (rev 748592) @@ -4,7 +4,7 @@ _name=ethtool pkgname=python-ethtool pkgver=0.14 -pkgrel=4 +pkgrel=5 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool;
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Friday, November 1, 2019 @ 14:01:54 Author: foutrelis Revision: 522010 Python 3.8 rebuild Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-01 14:01:50 UTC (rev 522009) +++ PKGBUILD2019-11-01 14:01:54 UTC (rev 522010) @@ -4,7 +4,7 @@ _name=ethtool pkgname=python-ethtool pkgver=0.14 -pkgrel=3 +pkgrel=4 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool;
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 19:58:26 Author: felixonmars Revision: 519654 Python 3.8 rebuild Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 19:58:23 UTC (rev 519653) +++ PKGBUILD2019-10-25 19:58:26 UTC (rev 519654) @@ -4,7 +4,7 @@ _name=ethtool pkgname=python-ethtool pkgver=0.14 -pkgrel=2 +pkgrel=3 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool;
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Sunday, February 17, 2019 @ 17:06:30 Author: dvzrv Revision: 434135 upgpkg: python-ethtool 0.14-2 Switching to pythonhosted.org as upstream. Removing python2 compatibility. Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD | 48 1 file changed, 12 insertions(+), 36 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-17 17:06:03 UTC (rev 434134) +++ PKGBUILD2019-02-17 17:06:30 UTC (rev 434135) @@ -1,49 +1,40 @@ # Maintainer: David Runge # Contributor: Konstantin Shalygin -pkgbase=python-ethtool -pkgname=('python-ethtool' 'python2-ethtool') +_name=ethtool +pkgname=python-ethtool pkgver=0.14 -pkgrel=1 +pkgrel=2 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool; license=('GPL') -makedepends=('asciidoc' 'libnl' 'python-setuptools' 'python2-setuptools') -checkdepends=('net-tools' 'python-pytest' 'python2-pytest') -source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/fedora-python/${pkgbase}/archive/v${pkgver}.tar.gz;) -sha512sums=('57a3f2d60dd8309192fc858614645d4e7533c90c03113ffc1eeeb810b86eb71b0a80b4eb209d3452c7624c5318a853de50d9d716d41334bf079e6e3e2490fd4b') +depends=('python' 'libnl') +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') build() { - cd "${pkgbase}-${pkgver}" + cd "${_name}-${pkgver}" python setup.py build a2x -d manpage -f manpage "man/pethtool.8.asciidoc" a2x -d manpage -f manpage "man/pifconfig.8.asciidoc" - python2 setup.py build - cp -v man/pethtool.8 man/pethtool2.8 - cp -v man/pifconfig.8 man/pifconfig2.8 } # do not run flaky tests: # https://github.com/fedora-python/python-ethtool/issues/40 check() { - cd "${pkgbase}-${pkgver}" + 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' - export PYTHONPATH="build/lib.linux-$CARCH-2.7:${PYTHONPATH}" - py.test2 -k 'not test_etherinfo_objects \ - and not test_get_interface_info_active \ - and not test_get_interface_info_all' -# python setup.py test -# python2 setup.py test } -package_python-ethtool() { - depends=('python' 'libnl') - cd "${pkgbase}-${pkgver}" +package() { + cd "${_name}-${pkgver}" python setup.py install --skip-build \ --optimize=1 \ --prefix=/usr \ @@ -52,18 +43,3 @@ install -t "${pkgdir}/usr/share/man/man8" \ -vDm 644 man/{pethtool,pifconfig}.8 } - -package_python2-ethtool() { - depends=('python2' 'libnl') - cd "${pkgbase}-${pkgver}" - python2 setup.py install --skip-build \ ---optimize=1 \ ---prefix=/usr \ ---root="${pkgdir}" - - mv -v "${pkgdir}/usr/bin/pethtool" "${pkgdir}/usr/bin/pethtool2" - mv -v "${pkgdir}/usr/bin/pifconfig" "${pkgdir}/usr/bin/pifconfig2" - install -t "${pkgdir}/usr/share/man/man8" \ --vDm 644 man/{pethtool,pifconfig}2.8 -} -
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Thursday, September 20, 2018 @ 19:43:39 Author: dvzrv Revision: 383786 upgpkg: python-ethtool 0.14-1 Upgrading to 0.14. Adding tests (while skipping the flaky ones). Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD | 47 +-- 1 file changed, 25 insertions(+), 22 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-20 19:31:29 UTC (rev 383785) +++ PKGBUILD2018-09-20 19:43:39 UTC (rev 383786) @@ -3,44 +3,47 @@ pkgbase=python-ethtool pkgname=('python-ethtool' 'python2-ethtool') -pkgver=0.13 -pkgrel=8 +pkgver=0.14 +pkgrel=1 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool; license=('GPL') makedepends=('asciidoc' 'libnl' 'python-setuptools' 'python2-setuptools') -checkdepends=('net-tools') +checkdepends=('net-tools' 'python-pytest' 'python2-pytest') source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/fedora-python/${pkgbase}/archive/v${pkgver}.tar.gz;) -sha512sums=('f7fe0dadae8b163a0116c64b1b3c6897bc7d302d1b764abf26e853342495ab3fefc0558ab08c6081b1cda535c134c7181c08951c96c1cf389ae069acc4c8efab') +sha512sums=('57a3f2d60dd8309192fc858614645d4e7533c90c03113ffc1eeeb810b86eb71b0a80b4eb209d3452c7624c5318a853de50d9d716d41334bf079e6e3e2490fd4b') -prepare(){ - cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}" -} - build() { - cd "${pkgname[0]}-${pkgver}" + cd "${pkgbase}-${pkgver}" python setup.py build a2x -d manpage -f manpage "man/pethtool.8.asciidoc" a2x -d manpage -f manpage "man/pifconfig.8.asciidoc" - cd ../"${pkgname[1]}-${pkgver}" python2 setup.py build - a2x -v -d manpage -f manpage "man/pethtool.8.asciidoc" - a2x -v -d manpage -f manpage "man/pifconfig.8.asciidoc" + cp -v man/pethtool.8 man/pethtool2.8 + cp -v man/pifconfig.8 man/pifconfig2.8 } -# build without tests for now +# do not run flaky tests: # https://github.com/fedora-python/python-ethtool/issues/40 -#check() { -# cd "${pkgname[0]}-${pkgver}" +check() { + cd "${pkgbase}-${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' + export PYTHONPATH="build/lib.linux-$CARCH-2.7:${PYTHONPATH}" + py.test2 -k 'not test_etherinfo_objects \ + and not test_get_interface_info_active \ + and not test_get_interface_info_all' # python setup.py test -# cd ../"${pkgname[1]}-${pkgver}" # python2 setup.py test -#} +} package_python-ethtool() { depends=('python' 'libnl') - cd "${pkgname[0]}-${pkgver}" + cd "${pkgbase}-${pkgver}" python setup.py install --skip-build \ --optimize=1 \ --prefix=/usr \ @@ -47,12 +50,12 @@ --root="${pkgdir}" install -t "${pkgdir}/usr/share/man/man8" \ --vDm644 man/{pethtool,pifconfig}.8 +-vDm 644 man/{pethtool,pifconfig}.8 } package_python2-ethtool() { depends=('python2' 'libnl') - cd "${pkgname[1]}-${pkgver}" + cd "${pkgbase}-${pkgver}" python2 setup.py install --skip-build \ --optimize=1 \ --prefix=/usr \ @@ -60,7 +63,7 @@ mv -v "${pkgdir}/usr/bin/pethtool" "${pkgdir}/usr/bin/pethtool2" mv -v "${pkgdir}/usr/bin/pifconfig" "${pkgdir}/usr/bin/pifconfig2" - install -vDm644 man/pethtool.8 "${pkgdir}/usr/share/man/man8/pethtool2.8" - install -vDm644 man/pifconfig.8 "${pkgdir}/usr/share/man/man8/pifconfig2.8" + install -t "${pkgdir}/usr/share/man/man8" \ +-vDm 644 man/{pethtool,pifconfig}2.8 }
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Sunday, July 8, 2018 @ 11:11:35 Author: felixonmars Revision: 354733 Python 3.7 rebuild Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-08 11:11:22 UTC (rev 354732) +++ PKGBUILD2018-07-08 11:11:35 UTC (rev 354733) @@ -4,7 +4,7 @@ pkgbase=python-ethtool pkgname=('python-ethtool' 'python2-ethtool') pkgver=0.13 -pkgrel=7 +pkgrel=8 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool;
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Tuesday, July 3, 2018 @ 21:45:00 Author: foutrelis Revision: 351533 Remove quotes from pkgrel to avoid setconf resetting it to 1 Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-03 20:56:39 UTC (rev 351532) +++ PKGBUILD2018-07-03 21:45:00 UTC (rev 351533) @@ -3,8 +3,8 @@ pkgbase=python-ethtool pkgname=('python-ethtool' 'python2-ethtool') -pkgver='0.13' -pkgrel='7' +pkgver=0.13 +pkgrel=7 pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool;
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Wednesday, February 14, 2018 @ 13:04:57 Author: dvzrv Revision: 294297 upgpkg: python-ethtool 0.13-7 Rebuild for community. Adding first checkdepends. However, check() is disabled for now, as some tests require root to be run. Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-02-14 13:03:09 UTC (rev 294296) +++ PKGBUILD2018-02-14 13:04:57 UTC (rev 294297) @@ -4,17 +4,18 @@ pkgbase=python-ethtool pkgname=('python-ethtool' 'python2-ethtool') pkgver='0.13' -pkgrel='6' +pkgrel='7' pkgdesc='Python bindings for the ethtool kernel interface.' arch=('x86_64') url="https://github.com/fedora-python/python-ethtool; license=('GPL') makedepends=('asciidoc' 'libnl' 'python-setuptools' 'python2-setuptools') +checkdepends=('net-tools') source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/fedora-python/${pkgbase}/archive/v${pkgver}.tar.gz;) sha512sums=('f7fe0dadae8b163a0116c64b1b3c6897bc7d302d1b764abf26e853342495ab3fefc0558ab08c6081b1cda535c134c7181c08951c96c1cf389ae069acc4c8efab') prepare(){ - cp -a "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}" + cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}" } build() { @@ -28,6 +29,15 @@ a2x -v -d manpage -f manpage "man/pifconfig.8.asciidoc" } +# build without tests for now +# https://github.com/fedora-python/python-ethtool/issues/40 +#check() { +# cd "${pkgname[0]}-${pkgver}" +# python setup.py test +# cd ../"${pkgname[1]}-${pkgver}" +# python2 setup.py test +#} + package_python-ethtool() { depends=('python' 'libnl') cd "${pkgname[0]}-${pkgver}"
[arch-commits] Commit in python-ethtool/trunk (PKGBUILD)
Date: Friday, February 2, 2018 @ 22:10:43 Author: dvzrv Revision: 288653 upgpkg: python-ethtool 0.13-6 Adding python-ethtool 0.13 from the AUR. Modified: python-ethtool/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-02-02 22:07:46 UTC (rev 288652) +++ PKGBUILD2018-02-02 22:10:43 UTC (rev 288653) @@ -10,7 +10,7 @@ url="https://github.com/fedora-python/python-ethtool; license=('GPL') makedepends=('asciidoc' 'libnl' 'python-setuptools' 'python2-setuptools') -source=("${pkgbase}-${pkgver}::https://github.com/fedora-python/${pkgbase}/archive/v${pkgver}.tar.gz;) +source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/fedora-python/${pkgbase}/archive/v${pkgver}.tar.gz;) sha512sums=('f7fe0dadae8b163a0116c64b1b3c6897bc7d302d1b764abf26e853342495ab3fefc0558ab08c6081b1cda535c134c7181c08951c96c1cf389ae069acc4c8efab') prepare(){