[arch-commits] Commit in python-ifaddr/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Fri Nov 30 17:38:58 UTC 2018


    Date: Friday, November 30, 2018 @ 17:38:57
  Author: jelle
Revision: 410647

upgpkg: python-ifaddr 0.1.5-1

Modified:
  python-ifaddr/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-30 17:36:15 UTC (rev 410646)
+++ PKGBUILD	2018-11-30 17:38:57 UTC (rev 410647)
@@ -2,7 +2,7 @@
 
 _name=ifaddr
 pkgname=python-ifaddr
-pkgver=0.1.4
+pkgver=0.1.5
 pkgrel=1
 pkgdesc="Enumerates all IP addresses on all network adapters of the system"
 arch=('any')
@@ -11,8 +11,8 @@
 depends=('python')
 makedepends=('python-setuptools')
 checkdepends=('python-nose')
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.zip)
-sha512sums=('5b080d8f328f7a974644e15929850ba93b9232cee545740d89e4d63e982e351287504befef365834bfb3f4c5f25dc99f4a4d76753405658ae197590e2ce94929')
+source=(https://github.com/pydron/ifaddr/archive/${pkgver}.tar.gz)
+sha512sums=('a7c5ae08943b2b16c3759f29bfd60473edd609602bbcfbe2433495b395e004852b2209c5a01949327e0364dfd195e9fce31ae3f60b8bfdda358040dce4a4cbdc')
 
 build() {
   cd "${_name}-${pkgver}"
@@ -23,6 +23,8 @@
   cd "${_name}-${pkgver}"
 
   python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
 }
 
 check() {



More information about the arch-commits mailing list