diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 9 insertions, 18 deletions
@@ -1,6 +1,6 @@ pkgbase = anaconda2 pkgdesc = Completely free enterprise-ready Python distribution for large-scale data processing, predictive analytics, and scientific computing. - pkgver = 2019.03 + pkgver = 2019.07 pkgrel = 1 url = https://store.continuum.io/cshop/anaconda/ install = anaconda2.install @@ -9,9 +9,9 @@ pkgbase = anaconda2 options = !strip options = libtool options = staticlibs - source = http://repo.continuum.io/archive/Anaconda2-2019.03-Linux-x86_64.sh + source = http://repo.continuum.io/archive/Anaconda2-2019.07-Linux-x86_64.sh source = anaconda2.install - sha256sums = cedfee5b5a3f62fcdac0a1d2d12396d0f232d2213d24d6dc893df5d8e64b8773 + sha256sums = 189e16e7adf9ba4b7b7d06ecdc10ce4ad4153e5e3505b9331f3d142243e18e97 sha256sums = c491735df1753335c6aa5b3b71bd936ccb4ff5622fedbf22d1d6d9da5bd45fbc pkgname = anaconda2 @@ -1,8 +1,8 @@ -# Maintainer : Immae <ismael.bouya@normalesup.org> +# Maintainer : Jingbei Li <i@jingbei.li> +# Contributor : Immae <ismael.bouya@normalesup.org> # Contributor : Martin Wimpress <code@flexion.org> -# Contributor : Jingbei Li <i@jingbei.li> pkgname=anaconda2 -pkgver=2019.03 +pkgver=2019.07 pkgrel=1 pkgdesc="Completely free enterprise-ready Python distribution for large-scale data processing, predictive analytics, and scientific computing." arch=('x86_64') @@ -11,19 +11,10 @@ license=("custom") source=("http://repo.continuum.io/archive/Anaconda2-${pkgver}-Linux-x86_64.sh" "$pkgname.install") options=(!strip libtool staticlibs) -sha256sums=('cedfee5b5a3f62fcdac0a1d2d12396d0f232d2213d24d6dc893df5d8e64b8773' +sha256sums=('189e16e7adf9ba4b7b7d06ecdc10ce4ad4153e5e3505b9331f3d142243e18e97' 'c491735df1753335c6aa5b3b71bd936ccb4ff5622fedbf22d1d6d9da5bd45fbc') install="$pkgname.install" -prepare() { - cd ${srcdir} - msg2 "Patching Anaconda2-${pkgver}-Linux-x86_64.sh" - sed \ - -e '/wc -c "\$THIS_PATH" | grep/s/!//' \ - -e "/export FORCE/s|$|;sed \"/^def update_prefix/a\\\ new_prefix='/opt/$pkgname'\" -i pkgs/.install.py|" \ - -i Anaconda2-${pkgver}-Linux-x86_64.sh -} - package() { prefix=${pkgdir}/opt/${pkgname} LD_PRELOAD="/usr/lib/libfakeroot/libfakeroot.so" @@ -36,8 +27,8 @@ package() { msg2 "Correcting permissions" chmod a+r -R pkgs - msg2 "Stripping \$pkgdir from default meta" - find conda-meta -name '*.json' -exec sed -e "s/${pkgdir//\//\\\/}//g" -i {} \; + msg2 "Stripping \$pkgdir" + sed -e "s|${pkgdir}||g" -i $(grep "${pkgdir}" . -rIl 2>/dev/null) msg2 "Installing license" install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |