diff options
author | lilac | 2024-04-28 21:34:38 +0800 |
---|---|---|
committer | lilac | 2024-04-28 21:34:38 +0800 |
commit | a8e3a3598961f781903d4de2195e2b96b05f9567 (patch) | |
tree | 569792244b7ce5ca8f8a39296912a63dd4697c6f | |
parent | d71e934763e6aaed73df0f74d1bde34c18399dff (diff) | |
download | aur-python-modin.tar.gz |
[lilac] updated to 0.29.0-2
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = python-modin pkgdesc = Speed up your Pandas workflows by changing a single line of code pkgver = 0.29.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/modin-project/modin arch = any license = Apache-2.0 @@ -21,6 +21,6 @@ pkgbase = python-modin depends = python-pytz depends = python-rpyc source = modin-0.29.0.tar.gz::https://github.com/modin-project/modin/archive/0.29.0.tar.gz - sha512sums = 9c6273a13b4d3458a15c084befa2a2868c7e24cce00bace549194dbcc7d00fe63b91084a333342a4d80702020d25792a468f18a66bd3175111ad50df995c1c79 + sha512sums = 7a04c6fbfa548fbaaab5bb159ada9bad7331926c57359d7156c80a387287d6843c9c6d21b08f75077ec3e4db9b8f48d0edcb2005b6c0b91f14ec33bfd3881120 pkgname = python-modin @@ -3,7 +3,7 @@ _pkgname=modin pkgname=python-modin pkgver=0.29.0 -pkgrel=1 +pkgrel=2 pkgdesc='Speed up your Pandas workflows by changing a single line of code' arch=('any') url='https://github.com/modin-project/modin' @@ -28,7 +28,12 @@ makedepends=( python-wheel ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/modin-project/modin/archive/${pkgver}.tar.gz") -sha512sums=('9c6273a13b4d3458a15c084befa2a2868c7e24cce00bace549194dbcc7d00fe63b91084a333342a4d80702020d25792a468f18a66bd3175111ad50df995c1c79') +sha512sums=('7a04c6fbfa548fbaaab5bb159ada9bad7331926c57359d7156c80a387287d6843c9c6d21b08f75077ec3e4db9b8f48d0edcb2005b6c0b91f14ec33bfd3881120') + +prepare() { + sed -i "s,SafeConfigParser,ConfigParser," "${srcdir}/${_pkgname}-${pkgver}/versioneer.py" + sed -i "s,readfp,read_file," "${srcdir}/${_pkgname}-${pkgver}/versioneer.py" +} build() { cd "${_pkgname}-${pkgver}" @@ -38,5 +43,7 @@ build() { package() { cd "${_pkgname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + rm -rfv "${pkgdir}${site_packages}/modin/tests" } # vim:set ts=2 sw=2 et: |