aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-06-17 15:36:25 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-06-17 15:29:13 +0200
commitd9caae9c5219bb034ae8a7e3d04e9485b9d5cd15 (patch)
treee80f3dd49395443e68a4b6d557ee51a48f60e65f
parenta504c4ae694e9d92cfae6b9af6f008118939bb73 (diff)
downloadaports-d9caae9c5219bb034ae8a7e3d04e9485b9d5cd15.tar.bz2
aports-d9caae9c5219bb034ae8a7e3d04e9485b9d5cd15.tar.xz
main/btrfs-progs: rename py-btrfs-progs to py3-btrfs-progs
-rw-r--r--main/btrfs-progs/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD
index 406e336800..21645612f4 100644
--- a/main/btrfs-progs/APKBUILD
+++ b/main/btrfs-progs/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs
pkgver=4.17
-pkgrel=0
+pkgrel=1
pkgdesc="BTRFS filesystem utilities"
url="https://btrfs.wiki.kernel.org"
arch="all"
@@ -13,7 +13,7 @@ depends_dev="linux-headers"
makedepends="$depends_dev acl-dev asciidoc attr-dev autoconf automake e2fsprogs-dev
libtool lzo-dev py3-setuptools python3-dev util-linux-dev xmlto zlib-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:bashcomp:noarch
- py-$pkgname:py $pkgname-libs $pkgname-extra"
+ py3-$pkgname:py3 $pkgname-libs $pkgname-extra"
source="https://www.kernel.org/pub/linux/kernel/people/kdave/$pkgname/$pkgname-v$pkgver.tar.xz
includes.patch
musl-compat.patch
@@ -58,8 +58,10 @@ bashcomp() {
"$subpkgdir"/usr/share/bash-completion/completions/btrfs
}
-py() {
- pkgdesc="Python bindings for $pkgname"
+py3() {
+ pkgdesc="Python 3 bindings for $pkgname"
+ provides="py-btrfs-progs=$pkgver-r$pkgrel" # for backward compatibility
+ replaces="py-btrfs-progs" # for backward compatibility
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/