summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 4 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7477fc13eb40..6e3e04329c33 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -14,6 +14,8 @@ pkgbase = python-dnspython-git
optdepends = python-trio: async I/O backend
optdepends = python-curio: async I/O backend
optdepends = python-sniffio: async I/O
+ provides = python-dnspython
+ conflicts = python-dnspython
source = https://github.com/rthalley/dnspython/archive/v2.0.0rc2.tar.gz
sha256sums = c588b132eefaf7d0892a3b0aa863b990264f08811ae4b0d4d6e6b62086c3de18
diff --git a/PKGBUILD b/PKGBUILD
index c5b3b188f2b4..39f8fa58addb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,6 +7,8 @@ pkgdesc="A DNS toolkit for Python"
arch=('any')
url="http://www.dnspython.org"
license=('ISC')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
makedepends=(
'python-setuptools'
# 'cython' # uncomment dep & build option for cython optimization speedup