diff options
author | Carlos Aznarán Laos | 2023-05-16 14:16:46 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2023-05-16 14:16:46 -0500 |
commit | 8d05cdf034db064e0ff3f17d1aac8851a9d153b1 (patch) | |
tree | d3c326d5563aad4ab1a207809a1558e719403a38 | |
parent | a5737461f4ad098fee06e57965466ff47965b93e (diff) | |
download | aur-8d05cdf034db064e0ff3f17d1aac8851a9d153b1.tar.gz |
Bump version to 3.17
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 72 |
2 files changed, 34 insertions, 53 deletions
@@ -1,29 +1,24 @@ pkgbase = python-abjad pkgdesc = Python API for building LilyPond files - pkgver = 3.10 + pkgver = 3.17 pkgrel = 1 url = https://github.com/Abjad/abjad arch = any - groups = abjad license = GPL3 - makedepends = git - makedepends = python-setuptools + checkdepends = python-pytest makedepends = python-build makedepends = python-installer + makedepends = python-setuptools makedepends = python-wheel depends = lilypond - depends = python>=3.10 depends = python-ply - depends = python-quicktions depends = python-roman depends = python-uqbar - optdepends = fluidsynth: playback generated MIDI files optdepends = graphviz: creates rhythm-trees graphs and other tree structures - optdepends = python-abjad-ext-ipython: IPython extension optdepends = python-abjad-ext-nauert: quantization extension optdepends = python-abjad-ext-rmakers: rhythm-maker extension optdepends = timidity++: playback generated MIDI files - source = python-abjad-3.10.tar.gz::https://github.com/Abjad/abjad/archive/v3.10.tar.gz - sha256sums = fac112fdf87142c58cdf5598b2d8eafa935f436d0290a142a02e3e48eeac7cbe + source = python-abjad-3.17.tar.gz::https://github.com/Abjad/abjad/archive/v3.17.tar.gz + sha512sums = a80a8cee9a6ca7405e7dc940f9176e4a6207931badd97ccb32e8515bfc88138085c257c81d330b91960112fa37bed385516bffc4cf85b9d898062f481768c059 pkgname = python-abjad @@ -1,53 +1,39 @@ -# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Contributor: Luis Martinez <luis dot martinez at disroot dot org> # Contributor: Robert Kubosz <kubosz.robert@gmail.com> - -## Do not use git source; tree contains massive objects - -pkgname=python-abjad -pkgver=3.10 +_base=abjad +pkgname=python-${_base} +pkgver=3.17 pkgrel=1 -pkgdesc='Python API for building LilyPond files' -arch=('any') -url="https://github.com/Abjad/abjad" -license=('GPL3') -groups=('abjad') -depends=( - 'lilypond' - 'python>=3.10' - 'python-ply' - 'python-quicktions' - 'python-roman' - 'python-uqbar') -makedepends=( - 'git' - 'python-setuptools' - 'python-build' - 'python-installer' - 'python-wheel') -optdepends=( - 'fluidsynth: playback generated MIDI files' - 'graphviz: creates rhythm-trees graphs and other tree structures' - 'python-abjad-ext-ipython: IPython extension' - 'python-abjad-ext-nauert: quantization extension' - 'python-abjad-ext-rmakers: rhythm-maker extension' - 'timidity++: playback generated MIDI files') -# checkdepends=('python-pytest') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('fac112fdf87142c58cdf5598b2d8eafa935f436d0290a142a02e3e48eeac7cbe') +pkgdesc="Python API for building LilyPond files" +arch=(any) +url="https://github.com/Abjad/${_base}" +license=(GPL3) +depends=(lilypond python-ply python-roman python-uqbar) +makedepends=(python-build python-installer python-setuptools python-wheel) +optdepends=('graphviz: creates rhythm-trees graphs and other tree structures' + 'python-abjad-ext-nauert: quantization extension' + 'python-abjad-ext-rmakers: rhythm-maker extension' + 'timidity++: playback generated MIDI files') +checkdepends=(python-pytest) +source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) +sha512sums=('a80a8cee9a6ca7405e7dc940f9176e4a6207931badd97ccb32e8515bfc88138085c257c81d330b91960112fa37bed385516bffc4cf85b9d898062f481768c059') # validpgpkeys=('EF80D3D6F5926FC997919D6A27A5BE0A6ADE7F36') ## Trevor Baca build() { - cd "abjad-$pkgver" - python -m build --wheel --no-isolation + cd ${_base}-${pkgver} + python -m build --wheel --skip-dependency-check --no-isolation } -## tests segfault -# check() { -# cd "abjad-$pkgver" -# pytest -x -c /dev/null -# } +# tests segfault +check() { + cd ${_base}-${pkgver} + python -m venv --system-site-packages test-env + test-env/bin/python -m installer dist/*.whl + test-env/bin/python -m pytest tests # -x -c /dev/null +} package() { - cd "abjad-$pkgver" - PYTHONHASHSEED=0 python -m installer --destdir="$pkgdir/" dist/*.whl + cd ${_base}-${pkgver} + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl } |