[arch-commits] Commit in python-netifaces/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:37:24 UTC 2020


    Date: Monday, November 9, 2020 @ 15:37:23
  Author: felixonmars
Revision: 747028

archrelease: copy trunk to community-staging-x86_64

Added:
  python-netifaces/repos/community-staging-x86_64/
  python-netifaces/repos/community-staging-x86_64/PKGBUILD
    (from rev 747027, python-netifaces/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-netifaces/repos/community-staging-x86_64/PKGBUILD (from rev 747027, python-netifaces/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 15:37:23 UTC (rev 747028)
@@ -0,0 +1,30 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
+# Contributor: Ghost of Kendo <ghostofkendo at gmail dot com>
+
+pkgname=python-netifaces
+pkgver=0.10.9
+pkgrel=5
+pkgdesc="Portable module to access network interface information in Python"
+arch=('x86_64')
+url="https://alastairs-place.net/netifaces/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/n/netifaces/netifaces-${pkgver}.tar.gz")
+sha512sums=('8fc593de4d2cbda46a3e2430ede031360f1abfc64d47d00fbec09f3395fd83479bf29d97cb6834b1df06850c9ac2745c9344b6814f34be5975d4d5df98e05e87')
+
+build() {
+  cd "${srcdir}/netifaces-${pkgver}"
+
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/netifaces-${pkgver}"
+
+  python setup.py install --root "${pkgdir}" --skip-build
+
+  # Install license, that is inside the readme file
+  install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list