[arch-commits] Commit in python-dnslib/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 29 16:08:06 UTC 2022


    Date: Monday, August 29, 2022 @ 16:08:06
  Author: felixonmars
Revision: 1285368

archrelease: copy trunk to community-any

Added:
  python-dnslib/repos/community-any/PKGBUILD
    (from rev 1285367, python-dnslib/trunk/PKGBUILD)
Deleted:
  python-dnslib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 16:07:51 UTC (rev 1285367)
+++ PKGBUILD	2022-08-29 16:08:06 UTC (rev 1285368)
@@ -1,17 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-dnslib
-pkgver=0.9.19
-pkgrel=1
-pkgdesc="Simple library to encode/decode DNS wire-format packets"
-arch=('any')
-url="https://bitbucket.org/paulc/dnslib"
-license=('custom:BSD')
-depends=('python')
-source=("https://pypi.io/packages/source/d/dnslib/dnslib-$pkgver.tar.gz")
-sha512sums=('3b49bfc9e566ecbd648899fe9bb367b7463a1ba4a2b4487ebdf342918dd0bf9e6281fc62e18568164490c0a22f842bedaeffcb61bbeeea0ef75db9d529e6fb46')
-
-package() {
-  cd dnslib-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-}

Copied: python-dnslib/repos/community-any/PKGBUILD (from rev 1285367, python-dnslib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-29 16:08:06 UTC (rev 1285368)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-dnslib
+pkgver=0.9.20
+pkgrel=1
+pkgdesc="Simple library to encode/decode DNS wire-format packets"
+arch=('any')
+url="https://github.com/paulc/dnslib"
+license=('BSD')
+depends=('python')
+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