[arch-commits] Commit in python-iwlib/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 12:09:12 UTC 2020


    Date: Thursday, November 12, 2020 @ 12:09:12
  Author: felixonmars
Revision: 751686

archrelease: copy trunk to community-staging-x86_64

Added:
  python-iwlib/repos/community-staging-x86_64/PKGBUILD
    (from rev 751683, python-iwlib/trunk/PKGBUILD)
Deleted:
  python-iwlib/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 12:09:11 UTC (rev 751685)
+++ PKGBUILD	2020-11-12 12:09:12 UTC (rev 751686)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=iwlib
-pkgname=python-iwlib
-pkgver=1.7.0
-pkgrel=2
-pkgdesc='Python module to interface with iwlib'
-arch=('x86_64')
-url="https://github.com/nathan-hoad/python-iwlib"
-license=('GPL2')
-depends=('python-cffi' 'wireless_tools')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('c9909449f8b52fdd75e3135951fde2085abc5be622acd7be045a281f108b4f0bc5623f97b7b57a6b91f17170ea524bbb6a52626fa87877621873fe8b6b9f0bca')
-
-prepare() {
-  cd "${_name}-${pkgver}"
-  # fixing include discovery: https://github.com/nhoad/python-iwlib/issues/11
-  rm -v test/__init__.py
-}
-
-build() {
-  cd "${_name}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${_name}-${pkgver}"
-  local _py3_ver=$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
-  export PYTHONPATH="build/lib.linux-$CARCH-${_py3_ver}/:${PYTHONPATH}"
-  py.test
-}
-
-package() {
-  cd "${_name}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  # docs
-  install -vDm 644 {AUTHORS,README.rst} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-}

Copied: python-iwlib/repos/community-staging-x86_64/PKGBUILD (from rev 751683, python-iwlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 12:09:12 UTC (rev 751686)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=iwlib
+pkgname=python-iwlib
+pkgver=1.7.0
+pkgrel=3
+pkgdesc='Python module to interface with iwlib'
+arch=('x86_64')
+url="https://github.com/nathan-hoad/python-iwlib"
+license=('GPL2')
+depends=('python-cffi' 'wireless_tools')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('c9909449f8b52fdd75e3135951fde2085abc5be622acd7be045a281f108b4f0bc5623f97b7b57a6b91f17170ea524bbb6a52626fa87877621873fe8b6b9f0bca')
+
+prepare() {
+  cd "${_name}-${pkgver}"
+  # fixing include discovery: https://github.com/nhoad/python-iwlib/issues/11
+  rm -v test/__init__.py
+}
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  local _py3_ver=$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
+  export PYTHONPATH="build/lib.linux-$CARCH-${_py3_ver}/:${PYTHONPATH}"
+  py.test
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # docs
+  install -vDm 644 {AUTHORS,README.rst} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list