diff options
author | Andrew Sun | 2019-09-26 13:24:33 -0400 |
---|---|---|
committer | Andrew Sun | 2019-09-26 13:24:33 -0400 |
commit | 87d9f4df6e7ef0642d97dabf1acb9585f0ad4c9a (patch) | |
tree | 2109ac28b98b8f4fc091b25390c1660eff03479f | |
parent | a5bd2b57b17e1d6ac9107ea4f6ab7461e134c8a9 (diff) | |
download | aur-87d9f4df6e7ef0642d97dabf1acb9585f0ad4c9a.tar.gz |
update to 0.4.2.11
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 10 insertions, 14 deletions
@@ -1,6 +1,6 @@ pkgbase = pyshark pkgdesc = Python wrapper for tshark, allowing python packet parsing using wireshark dissectors - pkgver = 0.4.2.9 + pkgver = 0.4.2.11 pkgrel = 1 url = https://github.com/KimiNewt/pyshark arch = any @@ -9,10 +9,8 @@ pkgbase = pyshark makedepends = python-py makedepends = python-lxml makedepends = python-setuptools - source = https://pypi.python.org/packages/source/p/pyshark/pyshark-0.4.2.9.tar.gz - source = LICENSE.txt - sha512sums = 6c9baff71a628838f778c04c1c5da2ad5b275341f1cb1a0459c5544b772f9d7b66f152daaf68cd9698082814f1fc1530a2b727adfac6919f1ffb857b8188f9e4 - sha512sums = 6e3b6007f701cf20091c8d45fcd54c45ec273941580011234031f89ac2d8a68f99e9f091ba0b6b293f4195b37dec62a43c85f6a546f30cf00f54f5812360fbb4 + source = pyshark-0.4.2.11.tar.gz::https://github.com/KimiNewt/pyshark/archive/v0.4.2.11.tar.gz + sha512sums = 4f822328ac06671652a21219f4abce8026c0da7bd47f2cb55e686ff70b49391599852cdbe2422183ffae5729a4e8a68e359c8371a8e53e379a198bb78a81b078 pkgname = python-pyshark depends = wireshark-cli @@ -3,29 +3,27 @@ pkgbase=pyshark pkgname=('python-pyshark') -pkgver=0.4.2.9 +pkgver=0.4.2.11 pkgrel=1 pkgdesc='Python wrapper for tshark, allowing python packet parsing using wireshark dissectors' url='https://github.com/KimiNewt/pyshark' arch=('any') license=('MIT') makedepends=('wireshark-cli' 'python-py' 'python-lxml' 'python-setuptools') -source=("https://pypi.python.org/packages/source/p/pyshark/pyshark-${pkgver}.tar.gz" - "LICENSE.txt") -sha512sums=('6c9baff71a628838f778c04c1c5da2ad5b275341f1cb1a0459c5544b772f9d7b66f152daaf68cd9698082814f1fc1530a2b727adfac6919f1ffb857b8188f9e4' - '6e3b6007f701cf20091c8d45fcd54c45ec273941580011234031f89ac2d8a68f99e9f091ba0b6b293f4195b37dec62a43c85f6a546f30cf00f54f5812360fbb4') +source=("${pkgbase}-${pkgver}.tar.gz"::"https://github.com/KimiNewt/pyshark/archive/v${pkgver}.tar.gz") +sha512sums=('4f822328ac06671652a21219f4abce8026c0da7bd47f2cb55e686ff70b49391599852cdbe2422183ffae5729a4e8a68e359c8371a8e53e379a198bb78a81b078') build() { - cd "${srcdir}/${pkgbase}-${pkgver}" + cd "${srcdir}/${pkgbase}-${pkgver}/src" python setup.py build } package_python-pyshark() { depends=('wireshark-cli' 'python-py' 'python-lxml') - cd "${srcdir}/${pkgbase}-${pkgver}" + cd "${srcdir}/${pkgbase}-${pkgver}/src" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build - install -Dm644 README.txt "${pkgdir}/usr/share/doc/${pkgname}/README" - install -Dm644 ${srcdir}/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 ../README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" } # vim: ts=2 sw=2 et: |