Many thanks @petronny, for long time I did not figure out how to boostrap.
Search Criteria
Package Details: pypy3-flit-core 3.12.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pypy3-flit-core.git (read-only, click to copy) |
---|---|
Package Base: | pypy3-flit-core |
Description: | A PEP 517 build backend for packages using Flit |
Upstream URL: | https://github.com/pypa/flit/tree/main/flit_core |
Licenses: | BSD-3-Clause |
Submitter: | carlosal1015 |
Maintainer: | carlosal1015 |
Last Packager: | carlosal1015 |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2024-08-29 17:19 (UTC) |
Last Updated: | 2025-06-02 15:48 (UTC) |
Dependencies (1)
Required by (12)
- pypy3-build (make)
- pypy3-editables (make)
- pypy3-idna (make)
- pypy3-installer (make)
- pypy3-packaging (make)
- pypy3-pathspec (make)
- pypy3-pep517 (make)
- pypy3-pyparsing (make)
- pypy3-pyproject-hooks (make)
- pypy3-pyproject-metadata (make)
- pypy3-testpath (make)
- pypy3-tomli (make)
Sources (1)
Latest Comments
carlosal1015 commented on 2025-06-02 15:50 (UTC)
petronny commented on 2025-06-01 14:57 (UTC) (edited on 2025-06-01 15:20 (UTC) by petronny)
Bootstrap build
# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
_base=flit_core
pkgname=pypy3-${_base//_/-}
pkgver=3.9.0
pkgrel=1
pkgdesc="A PEP 517 build backend for packages using Flit"
arch=(any)
url="https://github.com/pypa/${_base::4}/tree/main/${_base}"
license=(BSD-3-Clause)
depends=(pypy3)
source=(${_base::4}-${pkgver}.tar.gz::https://github.com/pypa/${_base::4}/archive/${pkgver}.tar.gz)
sha512sums=('1218756afcb79af1df0020548102ba29245a9fa998d332357a2a6a2b7b543dda835918f4811ba343e86e1f7c6b45a6dcafe26f8e905c1e49734141f7d4e9f4fc')
build() {
cd ${_base::4}-${pkgver}/${_base}
pypy3 -m flit_core.wheel
}
package() {
cd ${_base::4}-${pkgver}/${_base}
pypy3 bootstrap_install.py --installdir "$pkgdir"/opt/pypy3/lib/pypy3.11/site-packages dist/flit_core-*.whl
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
carlosal1015 commented on 2024-09-15 03:58 (UTC)
Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.
maksverver commented on 2024-09-14 18:26 (UTC)
How is this PKGBUILD supposed to work?
There is an obvious dependency cycle between this and pypy3-build: pypy3-flit-core has a makedep on pypy3-build, and pypy3-build has a makedep on pypy3-flit-core. So it seems if you don't already have both packages installed, there is no way to install either of them.
Pinned Comments
carlosal1015 commented on 2024-09-15 03:58 (UTC)
Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.