diff options
author | Carlos Aznarán | 2024-01-27 16:41:12 -0500 |
---|---|---|
committer | Carlos Aznarán | 2024-01-27 16:41:12 -0500 |
commit | 12d8f2fa4e4e38cb2edb4b143809679513958cfe (patch) | |
tree | 164d324260899521b1337922c4981feee9e954d4 /PKGBUILD | |
parent | b3a755e50c3a7e45f91be4a0a5f1eac3f3732dcc (diff) | |
download | aur-python-jupyter-book.tar.gz |
Bump version to 1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -14,16 +14,16 @@ depends=(python-click python-jinja python-jsonschema python-linkify-it-py python python-sphinx-togglebutton python-sphinxcontrib-bibtex python-sphinx-multitoc-numbering) makedepends=(python-build python-installer python-flit-core) checkdepends=(python-pytest python-jupytext python-texsoup) -source=(${_base}-${pkgver}rc1.tar.gz::https://github.com/executablebooks/${_base}/archive/v${pkgver}rc1.tar.gz) -sha512sums=('bcf839cbc02dcdb53be789d1dee3fd7eb2fa84301e2ffc4b63574d7654119ea31a45cfa07a9ad697d03a66b3dea3d04872d48ceb1ac6358850477628e840c29d') +source=(${_base}-${pkgver}.tar.gz::https://github.com/executablebooks/${_base}/archive/v${pkgver}.tar.gz) +sha512sums=('4dc6056db34cb3692d529a038ddd1042ddd27c352d180408cdc4dbe400e28a6c046d570303c635e19982cf5cabdc302188d569778c48d6d648690e730d525711') build() { - cd ${_base}-${pkgver}rc1 + cd ${_base}-${pkgver} python -m build --wheel --skip-dependency-check --no-isolation } check() { - cd ${_base}-${pkgver}rc1 + 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 \ @@ -35,7 +35,7 @@ check() { } package() { - cd ${_base}-${pkgver}rc1 + cd ${_base}-${pkgver} PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |