[arch-commits] Commit in python-dnslib/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Aug 29 16:07:51 UTC 2022
Date: Monday, August 29, 2022 @ 16:07:51
Author: felixonmars
Revision: 1285367
upgpkg: python-dnslib 0.9.20-1
Modified:
python-dnslib/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 16:04:22 UTC (rev 1285366)
+++ PKGBUILD 2022-08-29 16:07:51 UTC (rev 1285367)
@@ -1,16 +1,22 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-dnslib
-pkgver=0.9.19
+pkgver=0.9.20
pkgrel=1
pkgdesc="Simple library to encode/decode DNS wire-format packets"
arch=('any')
-url="https://bitbucket.org/paulc/dnslib"
-license=('custom:BSD')
+url="https://github.com/paulc/dnslib"
+license=('BSD')
depends=('python')
-source=("https://pypi.io/packages/source/d/dnslib/dnslib-$pkgver.tar.gz")
-sha512sums=('3b49bfc9e566ecbd648899fe9bb367b7463a1ba4a2b4487ebdf342918dd0bf9e6281fc62e18568164490c0a22f842bedaeffcb61bbeeea0ef75db9d529e6fb46')
+makedepends=('python-setuptools')
+source=("https://github.com/paulc/dnslib/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('be60dd5cf3175d6c82216639e015e7dcdb456cbf11efeb9d60485f86ffc1a2526d38aed27f8482b18f848bdcc83db2654d6ed9c50356aa5fefeefe02ee8b9ee5')
+check() {
+ cd dnslib-$pkgver
+ VERSIONS=python ./run_tests.sh
+}
+
package() {
cd dnslib-$pkgver
python setup.py install -O1 --root="$pkgdir"
More information about the arch-commits
mailing list