mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 16:52:06 +01:00
community/libbytesize: rename py subpackage to py3-libbytesize
py3- prefix is standardised across aports
This commit is contained in:
parent
4377359635
commit
6774f8e85c
@ -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*
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user