mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
32 lines
984 B
Text
32 lines
984 B
Text
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=py3-traitlets
|
|
pkgver=5.9.0
|
|
pkgrel=0
|
|
pkgdesc="lightweight Traits like module"
|
|
url="https://traitlets.readthedocs.io/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-hatchling"
|
|
options="!check" # No test suite present
|
|
source="traitlets-$pkgver.tar.gz::https://github.com/ipython/traitlets/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/${pkgname#py3-}-$pkgver"
|
|
|
|
replaces="py-traitlets" # Backwards compatibility
|
|
provides="py-traitlets=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
local whl=dist/traitlets-$pkgver-py3-none-any.whl
|
|
python3 -m installer --dest="$pkgdir" "$whl"
|
|
}
|
|
|
|
sha512sums="
|
|
51b6cd4a41c5a966e1b331141c12a787e1b378628d06f0136fbe434b0563b45d426972576a8a98f52db08495048d80042e1ba6689c3ca955d04941b3c009fd18 traitlets-5.9.0.tar.gz
|
|
"
|