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 @@ ...@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs pkgname=btrfs-progs
pkgver=4.17 pkgver=4.17
pkgrel=0 pkgrel=1
pkgdesc="BTRFS filesystem utilities" pkgdesc="BTRFS filesystem utilities"
url="https://btrfs.wiki.kernel.org" url="https://btrfs.wiki.kernel.org"
arch="all" arch="all"
...@@ -13,7 +13,7 @@ depends_dev="linux-headers" ...@@ -13,7 +13,7 @@ depends_dev="linux-headers"
makedepends="$depends_dev acl-dev asciidoc attr-dev autoconf automake e2fsprogs-dev 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" libtool lzo-dev py3-setuptools python3-dev util-linux-dev xmlto zlib-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:bashcomp:noarch 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 source="https://www.kernel.org/pub/linux/kernel/people/kdave/$pkgname/$pkgname-v$pkgver.tar.xz
includes.patch includes.patch
musl-compat.patch musl-compat.patch
...@@ -58,8 +58,10 @@ bashcomp() { ...@@ -58,8 +58,10 @@ bashcomp() {
"$subpkgdir"/usr/share/bash-completion/completions/btrfs "$subpkgdir"/usr/share/bash-completion/completions/btrfs
} }
py() { py3() {
pkgdesc="Python bindings for $pkgname" 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 mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$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