aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-05-07 19:23:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-07 19:23:16 +0000
commitc5a4a4d03982bf1a5415fae29463d8a09d6f7e7f (patch)
treee5b475c59b94a8c7280f509e6480ffb8fa069a7b
parenta02529133ed71ce4ef87142f7377f68d8ba8d4c9 (diff)
main/py3-urlgrabber: add provides ans replaces
as suggested by @maxwell-k (https://github.com/alpinelinux/aports/pull/6606#discussion_r274472667)
-rw-r--r--main/py3-urlgrabber/APKBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/py3-urlgrabber/APKBUILD b/main/py3-urlgrabber/APKBUILD
index f68dab533bc..2888b53e6c0 100644
--- a/main/py3-urlgrabber/APKBUILD
+++ b/main/py3-urlgrabber/APKBUILD
@@ -11,6 +11,11 @@ depends="python3 py3-curl py3-six"
makedepends="py3-setuptools"
subpackages="$pkgname-doc"
source="https://github.com/rpm-software-management/urlgrabber/releases/download/urlgrabber-${pkgver//./-}/urlgrabber-$pkgver.tar.gz"
+
+# keep those til after alpine v3.11
+provides="py-urlgrabber=$pkgver-r$pkgrel" # for backward compatibility
+replaces="py-urlgrabber" # for backward compatibility
+
builddir="$srcdir"/urlgrabber-$pkgver
build() {