From 6774f8e85cdec4f50e35d9bd00a78e093a03c417 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Wed, 1 Nov 2023 16:52:47 +0100 Subject: [PATCH] community/libbytesize: rename py subpackage to py3-libbytesize py3- prefix is standardised across aports --- community/libbytesize/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/community/libbytesize/APKBUILD b/community/libbytesize/APKBUILD index c7e24421f61..84b9617a113 100644 --- a/community/libbytesize/APKBUILD +++ b/community/libbytesize/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: André Klitzing pkgname=libbytesize pkgver=2.10 -pkgrel=0 +pkgrel=1 pkgdesc="Library for working with arbitrary big sizes in bytes" options="!check" # Tests require dealing with locales url="https://github.com/storaged-project/libbytesize" @@ -14,7 +14,7 @@ checkdepends="bash py3-six" subpackages=" $pkgname-dev $pkgname-lang - py-$pkgname:_py:noarch + py3-$pkgname:_py:noarch $pkgname-doc $pkgname-tools:_tools:noarch " @@ -45,6 +45,9 @@ _py() { pkgdesc="Python bindings for $pkgname" depends="python3 py3-six" + replaces="py-libbytesize" # Backwards compatibility + provides="py-libbytesize=$pkgver-r$pkgrel" # Backwards compatibility + amove usr/lib/python* }