[arch-commits] Commit in ipython/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Mar 25 21:45:55 UTC 2018


    Date: Sunday, March 25, 2018 @ 21:45:54
  Author: eschwartz
Revision: 312618

Update urls to use HTTPS

Drop unneeded functions; backports.shutil_get_terminal_size was fixed in
https://github.com/ipython/ipython/pull/9417

Modified:
  ipython/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-25 21:20:39 UTC (rev 312617)
+++ PKGBUILD	2018-03-25 21:45:54 UTC (rev 312618)
@@ -10,7 +10,7 @@
 pkgrel=2
 pkgdesc="An enhanced Interactive Python shell."
 arch=('any')
-url="http://ipython.org"
+url="https://ipython.org"
 license=('BSD')
 depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite'
          'python-setuptools' 'python-pickleshare' 'python-prompt_toolkit'
@@ -20,7 +20,7 @@
 
 source=("ipython-$pkgver.tgz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
         "https://pypi.python.org/packages/source/s/simplegeneric/simplegeneric-0.8.1.zip"
-        "http://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png")
+        "https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png")
 md5sums=('fe8704b6b28c05cf608e0747a7c983ec'
          'f9c1fab00fd981be588fc32759f474e3'
          '2901d65f1b1fe354e72850085cd1c072')
@@ -27,18 +27,6 @@
 
 # confirm that an update does not break sage?
 
-prepare() {
-  cd "$srcdir"
-
-  # python 3.5 does not need a 3.3 backport hack
-  cd "$srcdir/ipython-$pkgver"
-  sed -i 's|backports.shutil_get_terminal_size|shutil|' IPython/utils/terminal.py
-}
-
-build() {
-  cd "$srcdir"
-}
-
 package() {
   cd "$srcdir/ipython-$pkgver"
 
@@ -63,4 +51,3 @@
   #cd $srcdir/ipython-$pkgver/IPython/qt/console/resources/icon/
   #install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython.svg"
 }
-



More information about the arch-commits mailing list