python-setuptools 75.3.0-1
This commit is contained in:
parent
04b6eb73f7
commit
326e78bd8a
14
PKGBUILD
14
PKGBUILD
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
pkgname=python-setuptools
|
pkgname=python-setuptools
|
||||||
pkgver=75.1.0
|
pkgver=75.3.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
|
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -14,17 +14,17 @@ license=('PSF')
|
|||||||
depends=('python')
|
depends=('python')
|
||||||
makedepends=('python-flit-core' 'python-wheel' 'python-installer' 'python-build')
|
makedepends=('python-flit-core' 'python-wheel' 'python-installer' 'python-build')
|
||||||
source=(https://github.com/pypa/setuptools/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
source=(https://github.com/pypa/setuptools/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||||
sha256sums=(d59a21b17a275fb872a9c3dae73963160ae079f1049ed956880cd7c09b120538)
|
sha256sums=(625fb6087d038db909775d787d3ac34eb5b1082b7091f715e1861934408758a4)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname#*-}-${pkgver}
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
python3 setup.py egg_info
|
python3 setup.py egg_info
|
||||||
python3 -m build --wheel --skip-dependency-check --no-isolation
|
python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname#*-}-${pkgver}
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
python3 -m installer --destdir=${pkgdir} dist/*.whl
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user