[arch-commits] Commit in python-pcapy/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri Aug 9 22:21:23 UTC 2019


    Date: Friday, August 9, 2019 @ 22:21:23
  Author: anthraxx
Revision: 498568

archrelease: copy trunk to community-x86_64

Added:
  python-pcapy/repos/community-x86_64/PKGBUILD
    (from rev 498567, python-pcapy/trunk/PKGBUILD)
Deleted:
  python-pcapy/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  129 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-09 22:21:18 UTC (rev 498567)
+++ PKGBUILD	2019-08-09 22:21:23 UTC (rev 498568)
@@ -1,64 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Chris Severance aur.severach AatT spamgourmet.com
-
-_pyname=pcapy
-pkgbase=python-pcapy
-pkgname=('python-pcapy' 'python2-pcapy')
-pkgver=0.11.4
-pkgrel=1
-pkgdesc='Extension module that interfaces with the libpcap packet capture library'
-url='https://github.com/CoreSecurity/pcapy'
-arch=('x86_64')
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'libpcap')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/CoreSecurity/pcapy/archive/${pkgver}.tar.gz)
-sha512sums=('58fa9d5c89e093b6a5130a9f4e37f3186c616b32608ee6e5d07b1a9206ae310bb52e03738873923b4720c47c85ec886e12275dc64fb7a8c3c2e43ffb6fa875e5')
-
-prepare() {
-  sed '/self.assertEqual(refNone, sys.getrefcount(None))/d' -i ${_pyname}-${pkgver}/tests/pcapytests.py
-  cp -ra ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
-  msg2 'Building python...'
-  (cd ${_pyname}-${pkgver}
-    python setup.py build
-  )
-  msg2 'Building python2...'
-  (cd ${_pyname}-${pkgver}-py2
-    python2 setup.py build
-  )
-}
-
-check() {
-  msg2 'Checking python...'
-  (cd ${_pyname}-${pkgver}/tests
-    local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-    PYTHONPATH="../build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-      python pcapytests.py
-  )
-  msg2 'Checking python2...'
-  (cd ${_pyname}-${pkgver}-py2/tests
-    local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
-    PYTHONPATH="../build/lib.linux-${CARCH}-${PYTHONVERSION}" \
-      python2 pcapytests.py
-  )
-}
-
-package_python-pcapy() {
-  depends=('python' 'libpcap')
-  cd ${_pyname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -Dm 644 pcapy.html ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
-  rm -r "${pkgdir}/usr/share/doc/pcapy"
-}
-
-package_python2-pcapy() {
-  depends=('python2' 'libpcap')
-  cd ${_pyname}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -Dm 644 pcapy.html ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
-  rm -r "${pkgdir}/usr/share/doc/pcapy"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-pcapy/repos/community-x86_64/PKGBUILD (from rev 498567, python-pcapy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-09 22:21:23 UTC (rev 498568)
@@ -0,0 +1,65 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Chris Severance aur.severach AatT spamgourmet.com
+
+_pyname=pcapy
+pkgbase=python-pcapy
+pkgname=('python-pcapy' 'python2-pcapy')
+pkgver=0.11.5
+pkgrel=1
+pkgdesc='Extension module that interfaces with the libpcap packet capture library'
+url='https://github.com/CoreSecurity/pcapy'
+arch=('x86_64')
+license=('Apache')
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'libpcap')
+source=(https://github.com/CoreSecurity/pcapy/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('2ff96eb65caee8a45a3ae3edb78d5b4d8debcace9dc2921aefa3be83bb0af9c6')
+sha512sums=('b7b5e81ed94e828501de01758292e18888497e77acc9864421b555b59de26f233c4365093e48213b36e27a51ad887e7f4d5ce2e4fac3f2f1a3006b5b75297977')
+
+prepare() {
+  sed '/self.assertEqual(refNone, sys.getrefcount(None))/d' -i ${_pyname}-${pkgver}/tests/pcapytests.py
+  cp -ra ${_pyname}-${pkgver}{,-py2}
+}
+
+build() {
+  msg2 'Building python...'
+  (cd ${_pyname}-${pkgver}
+    python setup.py build
+  )
+  msg2 'Building python2...'
+  (cd ${_pyname}-${pkgver}-py2
+    python2 setup.py build
+  )
+}
+
+check() {
+  msg2 'Checking python...'
+  (cd ${_pyname}-${pkgver}/tests
+    local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+    PYTHONPATH="../build/lib.linux-${CARCH}-${PYTHONVERSION}" \
+      python pcapytests.py
+  )
+  msg2 'Checking python2...'
+  (cd ${_pyname}-${pkgver}-py2/tests
+    local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
+    PYTHONPATH="../build/lib.linux-${CARCH}-${PYTHONVERSION}" \
+      python2 pcapytests.py
+  )
+}
+
+package_python-pcapy() {
+  depends=('python' 'libpcap')
+  cd ${_pyname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 pcapy.html ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
+  rm -r "${pkgdir}/usr/share/doc/pcapy"
+}
+
+package_python2-pcapy() {
+  depends=('python2' 'libpcap')
+  cd ${_pyname}-${pkgver}-py2
+  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 pcapy.html ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
+  rm -r "${pkgdir}/usr/share/doc/pcapy"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list