diff options
author | Carlos Aznarán Laos | 2023-05-07 14:43:00 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2023-05-07 14:43:00 -0500 |
commit | d15dfa9a4bd30d4685fd2903d3f5af95405ef1c5 (patch) | |
tree | 640b5773da331f5b5bdfc409a76b50f6b7c5c42d | |
parent | 9ca936549004b6a7f9f3efe615b4f2547ca0e789 (diff) | |
download | aur-cmakew.tar.gz |
Python 3.11 rebuild
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 5 insertions, 7 deletions
@@ -5,6 +5,8 @@ pkgbase = cmakew url = https://github.com/thombashi/cmakew arch = any license = MIT + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools makedepends = python-wheel makedepends = git @@ -8,23 +8,19 @@ arch=('any') url="https://github.com/thombashi/${pkgname}" license=(MIT) depends=(python-logbook python-subprocrunner python-typepy) # python-six -makedepends=(python-setuptools python-wheel git) +makedepends=(python-build python-installer python-setuptools python-wheel git) source=("${pkgname}-${pkgver}::git+${url}.git?signed#tag=v${pkgver}") validpgpkeys=('ACEC3954F31619D7288C17B07BAC46763C91BB7A') # Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> sha512sums=('SKIP') build() { cd ${pkgname}-${pkgver} - python setup.py build -} - -check() { - cd ${pkgname}-${pkgver} + python -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname}-${pkgver} - PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl install -Dvm644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dvm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |