diff --git a/python-setuptools/PKGBUILD b/python-setuptools/PKGBUILD index 6733325e..b2500312 100644 --- a/python-setuptools/PKGBUILD +++ b/python-setuptools/PKGBUILD @@ -3,8 +3,8 @@ _realname=setuptools pkgbase="python-${_realname}" pkgname=("python-${_realname}") -pkgver=69.0.3 -pkgrel=2 +pkgver=70.2.0 +pkgrel=1 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages" arch=('any') license=('PSF') @@ -16,16 +16,11 @@ msys2_references=( "cpe: cpe:/a:python:setuptools" ) depends=('python') -makedepends=( - "python-wheel" - "python-build" - "python-installer" -) provides=("python3-${_realname}" 'python3-distribute') replaces=("python3-${_realname}" 'python3-distribute') conflicts=("python3-${_realname}") source=("${_realname}-${pkgver}.tar.gz::https://github.com/pypa/setuptools/archive/v${pkgver}.tar.gz") -sha256sums=('1b3b43e613f07b94fbea7ce37653616d81247e0e49833521aa309c494354947e') +sha256sums=('2af81b872c912684c11b99148396472d42b2f200ba2c825a3eb125e5384a479b') prepare() { export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0 @@ -35,7 +30,7 @@ build() { cd "${srcdir}/setuptools-${pkgver}" python setup.py egg_info - python -m build --wheel --skip-dependency-check --no-isolation + python setup.py build } check() { ( @@ -53,5 +48,5 @@ check() { ( package() { cd "${srcdir}/setuptools-${pkgver}" - python -m installer --destdir="${pkgdir}" dist/*.whl + python setup.py install --prefix=/usr --root="$pkgdir" --skip-build }