[skip-ci] python2-dnspython: added replaces/conflicts/provides array

This commit is contained in:
Jeff Huang 2018-10-03 01:26:14 +02:00
parent acc80ed9fb
commit eeae6b98fa

View File

@ -1,7 +1,7 @@
pkgname=(python3-dnspython python2-dnspython) pkgname=(python3-dnspython python2-dnspython)
pkgbase=python-dnspython pkgbase=python-dnspython
pkgver=1.15.0 pkgver=1.15.0
pkgrel=1 pkgrel=2
pkgdesc="A DNS toolkit for Python" pkgdesc="A DNS toolkit for Python"
arch=('any') arch=('any')
url="http://www.dnspython.org" url="http://www.dnspython.org"
@ -14,6 +14,9 @@ sha256sums=('11598ae5735746e63921f8eebdfdee4a2e7d0ba842ebd57ba02682d4aed8244b'
package_python2-dnspython() { package_python2-dnspython() {
depends=('python2') depends=('python2')
replaces=('python2-dns')
conflicts=('python2-dns')
provides=('pthon2-dns')
cd "$srcdir"/dnspython-$pkgver cd "$srcdir"/dnspython-$pkgver
python2 setup.py install --root="$pkgdir" python2 setup.py install --root="$pkgdir"