community/libbytesize: rename py subpackage to py3-libbytesize

py3- prefix is standardised across aports
This commit is contained in:
ptrcnull 2023-11-01 16:52:47 +01:00 committed by A. Klitzing
parent 4377359635
commit 6774f8e85c

View File

@ -3,7 +3,7 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
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*
}