[arch-commits] Commit in python-pcapy/repos (4 files)
Levente Polyak
anthraxx at archlinux.org
Wed Jan 18 16:26:23 UTC 2017
Date: Wednesday, January 18, 2017 @ 16:26:22
Author: anthraxx
Revision: 207891
archrelease: copy trunk to community-i686, community-x86_64
Added:
python-pcapy/repos/community-i686/PKGBUILD
(from rev 207890, python-pcapy/trunk/PKGBUILD)
python-pcapy/repos/community-x86_64/PKGBUILD
(from rev 207890, python-pcapy/trunk/PKGBUILD)
Deleted:
python-pcapy/repos/community-i686/PKGBUILD
python-pcapy/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 124 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 58 --------------------
community-x86_64/PKGBUILD | 58 --------------------
3 files changed, 124 insertions(+), 116 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-01-18 16:26:13 UTC (rev 207890)
+++ community-i686/PKGBUILD 2017-01-18 16:26:22 UTC (rev 207891)
@@ -1,58 +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.10.10
-pkgrel=3
-pkgdesc='Extension module that interfaces with the libpcap packet capture library'
-url='https://github.com/CoreSecurity/pcapy'
-arch=('i686' '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=('9b53a5d14b1e4a95f1745513a0e42e64ee818c9f342ffb84cac8700b0cb88e051e2b0d2659cc6cf273a43d95695bcd7da7f8fd3dca8a2b81edfef21471ac904d')
-
-prepare() {
- sed '/data_files/,/pcapytests/d' -i ${_pyname}-${pkgver}/setup.py
- cp -ra ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
- (cd ${_pyname}-${pkgver}
- python setup.py build
- )
- (cd ${_pyname}-${pkgver}-py2
- python2 setup.py build
- )
-}
-
-check() {
- (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
- )
- (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}"
-}
-
-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}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-pcapy/repos/community-i686/PKGBUILD (from rev 207890, python-pcapy/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-01-18 16:26:22 UTC (rev 207891)
@@ -0,0 +1,62 @@
+# 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.1
+pkgrel=1
+pkgdesc='Extension module that interfaces with the libpcap packet capture library'
+url='https://github.com/CoreSecurity/pcapy'
+arch=('i686' '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=('60eebbeae84da33d7bd2eb2398687007a305e8986fcc183d8061fa50bbc0cdf9a66c17461a32a652ca39952dd0935b164bd98a200f82ffef00ffaa55409522a3')
+
+prepare() {
+ sed '/data_files/,/pcapytests/d' -i ${_pyname}-${pkgver}/setup.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}"
+}
+
+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}"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-01-18 16:26:13 UTC (rev 207890)
+++ community-x86_64/PKGBUILD 2017-01-18 16:26:22 UTC (rev 207891)
@@ -1,58 +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.10.10
-pkgrel=3
-pkgdesc='Extension module that interfaces with the libpcap packet capture library'
-url='https://github.com/CoreSecurity/pcapy'
-arch=('i686' '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=('9b53a5d14b1e4a95f1745513a0e42e64ee818c9f342ffb84cac8700b0cb88e051e2b0d2659cc6cf273a43d95695bcd7da7f8fd3dca8a2b81edfef21471ac904d')
-
-prepare() {
- sed '/data_files/,/pcapytests/d' -i ${_pyname}-${pkgver}/setup.py
- cp -ra ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
- (cd ${_pyname}-${pkgver}
- python setup.py build
- )
- (cd ${_pyname}-${pkgver}-py2
- python2 setup.py build
- )
-}
-
-check() {
- (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
- )
- (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}"
-}
-
-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}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-pcapy/repos/community-x86_64/PKGBUILD (from rev 207890, python-pcapy/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-01-18 16:26:22 UTC (rev 207891)
@@ -0,0 +1,62 @@
+# 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.1
+pkgrel=1
+pkgdesc='Extension module that interfaces with the libpcap packet capture library'
+url='https://github.com/CoreSecurity/pcapy'
+arch=('i686' '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=('60eebbeae84da33d7bd2eb2398687007a305e8986fcc183d8061fa50bbc0cdf9a66c17461a32a652ca39952dd0935b164bd98a200f82ffef00ffaa55409522a3')
+
+prepare() {
+ sed '/data_files/,/pcapytests/d' -i ${_pyname}-${pkgver}/setup.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}"
+}
+
+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}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list