Package Details: pypy3-installer 0.7.0-2

Git Clone URL: https://aur.archlinux.org/pypy3-installer.git (read-only, click to copy)
Package Base: pypy3-installer
Description: A low-level library for installing from a Python wheel distribution
Upstream URL: https://installer.pypa.io
Licenses: MIT
Submitter: carlosal1015
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2024-08-29 16:55 (UTC)
Last Updated: 2025-06-02 16:17 (UTC)

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.

Latest Comments

petronny commented on 2025-06-01 15:28 (UTC)

Bootstrap build

# Maintainer: Carlos Aznarán <caznaranl@uni.pe>
_base=installer
pkgname=pypy3-${_base}
pkgver=0.7.0
pkgrel=1
pkgdesc="A low-level library for installing from a Python wheel distribution"
arch=(any)
url="https://${_base}.pypa.io"
license=(MIT)
makedepends=(pypy3-flit-core)
source=(${_base}-${pkgver}.tar.gz::https://github.com/pypa/${_base}/archive/${pkgver}.tar.gz)
sha512sums=('a509c6ea9d88b8527cce0428ca6109077820cb9aa352967a389012bac40f8ec04039ab73710f4fb32b32ed20affd520ce0ba16ba18d9d380ce0af1f51fe8e2c6')

build() {
  cd ${_base}-${pkgver}
  pypy3 -m flit_core.wheel
}

package() {
  cd ${_base}-${pkgver}
  PYTHONPATH=$(find dist -name 'installer-*.whl') pypy3 -m installer --destdir="$pkgdir" dist/installer-*.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.

carlosal1015 commented on 2024-08-30 13:26 (UTC)

Hi @MarsSeed, the plan is always have updated packages.

For latest version of pypy3-installer, will use pypy3-build and pypy3-flit-core as https://archlinux.org/packages/extra/any/python-installer.

  1. Build pypy3-flit-core as makedepends: pypy3-build and pypy3-installer which not depends of itself pypy3-flit-core (this one depends of makedepends pypy3-setuptools).
  2. Upgrade this pypy3-installer and pypy3-build to latest version and rid off python-dephell, but makedepends of pypy3-flit-core. I will submit python-dephell to arch4edu binary repository if python-dephell maintainer do not replace python-m2r by python-m2r2 or do it with suggest patch.

For step 2, users they should have and older version of pypy3-build (let's say 0.9.0) and pypy3-installer (let's say 0.2.3) that do not makedepends of pypy3-flit-core.

Arch Linux used this trick for python-build, python-installer before python-dephell EOL and was moved to AUR.

I do not like this idea, but I choose between leave pypy3 tool-chain broken or fix it.

MarsSeed commented on 2024-08-30 12:25 (UTC)

Using the obsolete dephell here is overkill.

Also, installer v0.7.0 supports Python 3.7+. Can you update to that version?

If you really must execute a deprecated setup.py here, why don't you include a copy of a working setup.py in this repo?

Forcing the user to install a shitton of dephell's dependencies is really an unnecessary burden for this task IMHO.