Commit d9caae9c authored by Jakub Jirutka's avatar Jakub Jirutka 🇺🇦
Browse files

main/btrfs-progs: rename py-btrfs-progs to py3-btrfs-progs

parent a504c4ae
......@@ -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/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment