Date: Thursday, November 24, 2022 @ 23:46:53 Author: kgizdov Revision: 1353583
drop pip from makedepends Modified: python-keras/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-24 23:25:58 UTC (rev 1353582) +++ PKGBUILD 2022-11-24 23:46:53 UTC (rev 1353583) @@ -7,17 +7,17 @@ url='https://keras.io/' license=('Apache') pkgver=2.11.0 -pkgrel=1 +pkgrel=2 arch=('any') source=("https://files.pythonhosted.org/packages/py2.py3/${_pkgbase::1}/${_pkgbase}/${_pkgbase//-/_}-${pkgver}-py2.py3-none-any.whl" "${_pkgbase}-${pkgver}-LICENSE::https://raw.githubusercontent.com/keras-team/${_pkgbase}/v${pkgver}/LICENSE") -makedepends=('python-pip') +makedepends=('python-build' 'python-installer' 'python-wheel') depends=('absl-py' 'python' 'python-h5py' 'python-keras-preprocessing' 'python-numpy' 'python-pandas' 'python-pillow' 'python-pydot' 'python-scipy' 'python-six' 'python-tensorflow' 'python-yaml' 'tensorboard') -sha256sums=('38c6fff0ea9a8b06a2717736565c92a73c8cd9b1c239e7125ccb188b7848f65e' - '58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd') +b2sums=('d41941a7add4943c7752e0c65027a17a799b142c9a51c4991f2e67250e43ec3736cc5d7e2fff9f8e8903edebfe9b3a39cfe270e54cf172c8478b9dee6b5c0736' + 'dc6395f606b09f8a2fa6e8d28f8436a9b0d2ee7e43b4033542c55eb1bf26e9e6c01fd53770e825b9e996ef15fd2eb77f1e0524d4fc1a3e8bf52d72de3adbd653') package () { - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl - install -Dm 644 "${_pkgbase}-${pkgver}-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + python -m installer --destdir="$pkgdir" *.whl + install -Dm 644 "${_pkgbase}-${pkgver}-LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
