Skip to content
Snippets Groups Projects
Commit 6da231cd authored by Kevin Daudt's avatar Kevin Daudt :computer:
Browse files

community/py3-traitlets: upgrade to 5.3.0

parent cffb6855
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!37022community/*: upgrade several python packages
Pipeline #130406 canceled
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-traitlets
pkgver=5.1.1
pkgver=5.3.0
pkgrel=0
pkgdesc="lightweight Traits like module"
url="https://traitlets.readthedocs.io/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-six"
makedepends="py3-setuptools"
depends="python3 py3-six py3-hatchling"
makedepends="py3-build py3-installer py3-wheel"
options="!check" # No test suite present
source="traitlets-$pkgver.tar.gz::https://github.com/ipython/traitlets/archive/$pkgver.tar.gz"
builddir="$srcdir/${pkgname#py3-}-$pkgver"
......@@ -17,13 +17,17 @@ replaces="py-traitlets" # Backwards compatibility
provides="py-traitlets=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
python3 -m build \
--no-isolation \
--wheel \
.
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
local whl=dist/traitlets-$pkgver-py3-none-any.whl
python3 -m installer --dest="$pkgdir" "$whl"
}
sha512sums="
ecb95b31af85e520f7068a803cf89b678c1cc593fcb4b8359c17c58cbb4e7be242fffc78ec04aeded06c2877c97057d045c1894dd4de2fc570ce82e791c77583 traitlets-5.1.1.tar.gz
df3d57569abfcd6305be8f43b4e907751e9f023514920ece69c11cea95350acef14a0c3e64447ce504377acd2cda9e9ad21f53c5d6e8f30c8e1aa3376ebd45f8 traitlets-5.3.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment