summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Krizek2020-07-14 13:13:23 +0200
committerTomas Krizek2020-07-14 13:13:30 +0200
commitd553b7037233a2c8bf45a87a438cb1a525b89cd0 (patch)
tree66f03bd7495167c2d360816f909bda68967cc816
parent2ade25744adabec3b9ced6d35e47fc382501ae88 (diff)
downloadaur-d553b7037233a2c8bf45a87a438cb1a525b89cd0.tar.gz
add conflicts/provides
-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