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

Eli Schwartz eschwartz at archlinux.org
Fri Sep 25 05:49:38 UTC 2020


    Date: Friday, September 25, 2020 @ 05:49:38
  Author: eschwartz
Revision: 711967

python-netifaces: separate build step in build()

Modified:
  python-netifaces/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-25 05:44:21 UTC (rev 711966)
+++ PKGBUILD	2020-09-25 05:49:38 UTC (rev 711967)
@@ -14,10 +14,16 @@
 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}"
+  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