diff options
author | Carlos Aznarán | 2024-03-11 16:45:35 -0500 |
---|---|---|
committer | Carlos Aznarán | 2024-03-11 16:45:35 -0500 |
commit | 1973ffbec9c8843cf91d6ada70e17eb410236404 (patch) | |
tree | 69e26ecf5cf6a91bd402f3a61ff5d655bbf28aae /PKGBUILD | |
parent | 46dba8113257b7cdf52b756b2650c18ac1eef834 (diff) | |
download | aur-1973ffbec9c8843cf91d6ada70e17eb410236404.tar.gz |
Bump version to 2.13.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -2,22 +2,25 @@ # Contributor: Pavel Merzlyakov <pavel.merzlyakov@gmail.com> _base=allure pkgname=python-${_base}-commons -pkgver=2.13.2 +pkgver=2.13.3 pkgrel=1 pkgdesc="Common module for integrate allure with python-based frameworks" arch=(any) url="https://github.com/${_base}-framework/${_base}-python" -depends=(python-pluggy python-attrs) -makedepends=(python-setuptools-scm git) -source=("git+${url}.git#tag=${pkgver}") -sha512sums=('SKIP') +license=(Apache-2.0) +depends=(python-attrs python-pluggy) +makedepends=(python-build python-installer python-setuptools-scm python-wheel) +source=(${_base}-python-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz) +sha512sums=('cc0a7b4181ecc482ff10cbcacbfe47068329f7c4dfa659998957f13619d5c63765e94aec272e843179580040c8e044a774948ddd95c164f377b0714f6abb9011') build() { - cd ${_base}-python/${_base}-python-commons - python setup.py build + cd ${_base}-python-${pkgver}/${_base}-python-commons + export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} + python -m build --wheel --skip-dependency-check --no-isolation } package() { - cd ${_base}-python/${_base}-python-commons - PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + cd ${_base}-python-${pkgver}/${_base}-python-commons + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl + install -Dm 644 ${srcdir}/${_base}-python-${pkgver}/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |