30 lines
917 B
Bash
30 lines
917 B
Bash
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
# then please put 'unknown'.
|
|
|
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
|
pkgname=python-pip
|
|
pkgver=24.2
|
|
pkgrel=1
|
|
pkgdesc="The PyPA recommended tool for installing Python packages"
|
|
arch=('x86_64')
|
|
url="https://pip.pypa.io/"
|
|
license=('MIT')
|
|
depends=('python' 'python-wheel')
|
|
makedepends=('python-build' 'python-installer' 'python-setuptools')
|
|
source=(https://github.com/pypa/pip/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
|
sha256sums=(e527f2366551b8483fa3a8ac2954aa79f2461e6600d917f3b6ae741d708cb982)
|
|
|
|
build() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname#*-}-${pkgver}
|
|
|
|
python3 -m installer -d ${pkgdir} dist/*.whl
|
|
}
|