[arch-commits] Commit in python-dnslib/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Mar 17 10:35:33 UTC 2019


    Date: Sunday, March 17, 2019 @ 10:35:32
  Author: felixonmars
Revision: 442344

upgpkg: python-dnslib 0.9.8-2

remove python2 sibling

Modified:
  python-dnslib/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++---------------------
 1 file changed, 5 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 10:32:04 UTC (rev 442343)
+++ PKGBUILD	2019-03-17 10:35:32 UTC (rev 442344)
@@ -1,33 +1,17 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
-pkgbase=python-dnslib
-pkgname=(python-dnslib python2-dnslib)
+pkgname=python-dnslib
 pkgver=0.9.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Simple library to encode/decode DNS wire-format packets"
 arch=('any')
 url="https://bitbucket.org/paulc/dnslib"
 license=('custom:BSD')
-makedepends=('python' 'python2')
+depends=('python')
 source=("https://pypi.io/packages/source/d/dnslib/dnslib-$pkgver.tar.gz")
-md5sums=('e55da71bdbe46d6cca878d45ea7a72f7')
+sha512sums=('0e71b49817981bf4a7c5f752e2bc79172693d8ff5898f4de14df1fb80f281aa756079c6206e55d67ba8c85f55f493c2eb414772dbe37b969435e1a4a8175ea83')
 
-prepare() {
-  cp -a dnslib-$pkgver{,-py2}
-}
-
-package_python-dnslib() {
-  depends=("python")
-
+package() {
   cd dnslib-$pkgver
   python setup.py install -O1 --root="$pkgdir"
 }
-
-package_python2-dnslib() {
-  depends=("python2")
-
-  cd dnslib-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-}
-
-# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list