[arch-commits] Commit in sage-notebook/repos/community-any (4 files)
Date: Friday, November 8, 2019 @ 23:45:09 Author: arojas Revision: 524733 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 524732, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 524732, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 130 - sage.service | 16 +++ 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-08 23:44:49 UTC (rev 524732) +++ PKGBUILD2019-11-08 23:45:09 UTC (rev 524733) @@ -1,65 +0,0 @@ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.1.2 -pkgrel=2 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax2 jsmol) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk python2-sphinx) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('2c55438fb9a3ef88994ed385e2e9d88b11283853705fec11235a4f51a34aa04c' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build - - cd doc - make SPHINXBUILD=sphinx-build2 html -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax2 "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin - -# install docs - mkdir -p "$pkgdir"/usr/share/doc/sagenb - cp -r doc/build/html "$pkgdir"/usr/share/doc/sagenb -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 524732, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-08 23:45:09 UTC (rev 524733) @@ -0,0 +1,65 @@ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.1.3 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax2 jsmol) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk python2-sphinx) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('d00ec4fba5ee16cb0027a186902f41077169f0467d8cb2ae52108a01fe15b55a' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py +} + +build() { + cd sagenb-$pkgver + python2 setup.py build
[arch-commits] Commit in sage-notebook/repos/community-any (4 files)
Date: Friday, February 1, 2019 @ 21:57:52 Author: arojas Revision: 429132 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 429131, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 429131, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 130 - sage.service | 16 +++ 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-02-01 21:57:28 UTC (rev 429131) +++ PKGBUILD2019-02-01 21:57:52 UTC (rev 429132) @@ -1,65 +0,0 @@ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.1.1 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk python2-sphinx) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('a6740bc2b2b331a6adbb865be2bf76c6bf6ef1630fc16be1879bcc16530fe00c' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build - - cd doc - make SPHINXBUILD=sphinx-build2 html -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin - -# install docs - mkdir -p "$pkgdir"/usr/share/doc/sagenb - cp -r doc/build/html "$pkgdir"/usr/share/doc/sagenb -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 429131, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-02-01 21:57:52 UTC (rev 429132) @@ -0,0 +1,65 @@ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.1.2 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk python2-sphinx) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('2c55438fb9a3ef88994ed385e2e9d88b11283853705fec11235a4f51a34aa04c' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py +} + +build() { + cd sagenb-$pkgver + python2 setup.py build +
[arch-commits] Commit in sage-notebook/repos/community-any (4 files)
Date: Monday, November 5, 2018 @ 20:33:42 Author: arojas Revision: 401678 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 401677, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 401677, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 130 - sage.service | 16 +++ 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-11-05 20:33:20 UTC (rev 401677) +++ PKGBUILD2018-11-05 20:33:42 UTC (rev 401678) @@ -1,65 +0,0 @@ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.1.0 -pkgrel=2 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk python2-sphinx) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('219a02e2b15289a6ecdc8db41e14424fbbe7ad5ff85fbc1d85baf558db502590' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build - - cd doc - make SPHINXBUILD=sphinx-build2 html -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin - -# install docs - mkdir -p "$pkgdir"/usr/share/doc/sagenb - cp -r doc/build/html "$pkgdir"/usr/share/doc/sagenb -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 401677, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-11-05 20:33:42 UTC (rev 401678) @@ -0,0 +1,65 @@ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.1.1 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk python2-sphinx) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('a6740bc2b2b331a6adbb865be2bf76c6bf6ef1630fc16be1879bcc16530fe00c' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py +} + +build() { + cd sagenb-$pkgver + python2 setup.py build +
[arch-commits] Commit in sage-notebook/repos/community-any (4 files)
Date: Saturday, October 20, 2018 @ 19:38:04 Author: arojas Revision: 398120 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 398119, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 398119, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 123 ++--- sage.service | 16 +++ 2 files changed, 73 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-20 19:37:42 UTC (rev 398119) +++ PKGBUILD2018-10-20 19:38:04 UTC (rev 398120) @@ -1,58 +0,0 @@ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.1.0 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('219a02e2b15289a6ecdc8db41e14424fbbe7ad5ff85fbc1d85baf558db502590' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 398119, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-20 19:38:04 UTC (rev 398120) @@ -0,0 +1,65 @@ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.1.0 +pkgrel=2 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk python2-sphinx) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('219a02e2b15289a6ecdc8db41e14424fbbe7ad5ff85fbc1d85baf558db502590' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py +} + +build() { + cd sagenb-$pkgver + python2 setup.py build + + cd doc + make SPHINXBUILD=sphinx-build2 html +} + +package() { + cd sagenb-$pkgver + + python2 setup.py install --root "$pkgdir" --optimize=1 + + install -D -m644 COPYING
[arch-commits] Commit in sage-notebook/repos/community-any (4 files)
Date: Thursday, October 18, 2018 @ 06:21:17 Author: arojas Revision: 395803 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 395802, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 395802, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 116 - sage.service | 16 +++ 2 files changed, 66 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-18 06:20:53 UTC (rev 395802) +++ PKGBUILD2018-10-18 06:21:17 UTC (rev 395803) @@ -1,58 +0,0 @@ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.4 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('440033b213bcf55146efb2f3c124a58332271e1b595b2e220174b82d989b104f' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 395802, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-18 06:21:17 UTC (rev 395803) @@ -0,0 +1,58 @@ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.1.0 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('219a02e2b15289a6ecdc8db41e14424fbbe7ad5ff85fbc1d85baf558db502590' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py +} + +build() { + cd sagenb-$pkgver + python2 setup.py build +} + +package() { + cd sagenb-$pkgver + + python2 setup.py install --root "$pkgdir" --optimize=1 + + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING + + ln -s
[arch-commits] Commit in sage-notebook/repos/community-any (5 files)
Date: Wednesday, October 17, 2018 @ 16:11:16 Author: arojas Revision: 395055 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 395054, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 395054, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service sage-notebook/repos/community-any/sagenb-deprecated.patch -+ PKGBUILD| 120 ++ sage.service| 16 +++--- sagenb-deprecated.patch | 18 -- 3 files changed, 66 insertions(+), 88 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-17 16:10:50 UTC (rev 395054) +++ PKGBUILD2018-10-17 16:11:16 UTC (rev 395055) @@ -1,62 +0,0 @@ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.3 -pkgrel=2 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service -sagenb-deprecated.patch) -sha256sums=('416c8c53629e8100d6f485a07d08c55e07f93fcbe21aa67506802c15ab271b38' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' -'b5cfaa3412a10acebc287bcc94b1a3e86509bf1d06c5415cc58d7cb504d1bd6d') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - patch -p1 -i ../sagenb-deprecated.patch # Fix deprecated imports - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 395054, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-17 16:11:16 UTC (rev 395055) @@ -0,0 +1,58 @@ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.4 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('440033b213bcf55146efb2f3c124a58332271e1b595b2e220174b82d989b104f' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e
[arch-commits] Commit in sage-notebook/repos/community-any (6 files)
Date: Wednesday, October 10, 2018 @ 19:34:52 Author: arojas Revision: 392123 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 392122, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 392122, sage-notebook/trunk/sage.service) sage-notebook/repos/community-any/sagenb-deprecated.patch (from rev 392122, sage-notebook/trunk/sagenb-deprecated.patch) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service sage-notebook/repos/community-any/sagenb-deprecated.patch -+ PKGBUILD| 125 ++ sage.service| 16 ++--- sagenb-deprecated.patch | 36 ++--- 3 files changed, 88 insertions(+), 89 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-10 19:34:29 UTC (rev 392122) +++ PKGBUILD2018-10-10 19:34:52 UTC (rev 392123) @@ -1,63 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.3 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service -sagenb-deprecated.patch) -sha256sums=('416c8c53629e8100d6f485a07d08c55e07f93fcbe21aa67506802c15ab271b38' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' -'b5cfaa3412a10acebc287bcc94b1a3e86509bf1d06c5415cc58d7cb504d1bd6d') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - patch -p1 -i ../sagenb-deprecated.patch # Fix deprecated imports - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 392122, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-10 19:34:52 UTC (rev 392123) @@ -0,0 +1,62 @@ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.3 +pkgrel=2 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax jsmol) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service +sagenb-deprecated.patch) +sha256sums=('416c8c53629e8100d6f485a07d08c55e07f93fcbe21aa67506802c15ab271b38' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' +'b5cfaa3412a10acebc287bcc94b1a3e86509bf1d06c5415cc58d7cb504d1bd6d') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + patch -p1 -i ../sagenb-deprecated.patch # Fix deprecated
[arch-commits] Commit in sage-notebook/repos/community-any (6 files)
Date: Monday, June 11, 2018 @ 06:27:18 Author: arojas Revision: 342331 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 342330, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 342330, sage-notebook/trunk/sage.service) sage-notebook/repos/community-any/sagenb-deprecated.patch (from rev 342330, sage-notebook/trunk/sagenb-deprecated.patch) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service sage-notebook/repos/community-any/sagenb-deprecated.patch -+ PKGBUILD| 126 +++--- sage.service| 16 ++--- sagenb-deprecated.patch | 36 ++--- 3 files changed, 89 insertions(+), 89 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-11 06:26:50 UTC (rev 342330) +++ PKGBUILD2018-06-11 06:27:18 UTC (rev 342331) @@ -1,63 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas -# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.2 -pkgrel=2 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service -sagenb-deprecated.patch) -sha256sums=('a0c596fcd3d9ad854024542f265188000573e58861cecfb3ddcdfd252e22af52' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' -'b5cfaa3412a10acebc287bcc94b1a3e86509bf1d06c5415cc58d7cb504d1bd6d') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - patch -p1 -i ../sagenb-deprecated.patch # Fix deprecated imports - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 342330, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-11 06:27:18 UTC (rev 342331) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.3 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service +sagenb-deprecated.patch) +sha256sums=('416c8c53629e8100d6f485a07d08c55e07f93fcbe21aa67506802c15ab271b38' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' +'b5cfaa3412a10acebc287bcc94b1a3e86509bf1d06c5415cc58d7cb504d1bd6d') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + patch -p1 -i ../sagenb-deprecated.patch # Fix deprecated imports +
[arch-commits] Commit in sage-notebook/repos/community-any (5 files)
Date: Tuesday, May 22, 2018 @ 17:52:56 Author: arojas Revision: 327716 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 327715, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 327715, sage-notebook/trunk/sage.service) sage-notebook/repos/community-any/sagenb-deprecated.patch (from rev 327715, sage-notebook/trunk/sagenb-deprecated.patch) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service -+ PKGBUILD| 123 +++--- sage.service| 16 ++--- sagenb-deprecated.patch | 18 ++ 3 files changed, 89 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-22 17:52:24 UTC (rev 327715) +++ PKGBUILD2018-05-22 17:52:56 UTC (rev 327716) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.2 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('a0c596fcd3d9ad854024542f265188000573e58861cecfb3ddcdfd252e22af52' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 327715, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-22 17:52:56 UTC (rev 327716) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.2 +pkgrel=2 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service +sagenb-deprecated.patch) +sha256sums=('a0c596fcd3d9ad854024542f265188000573e58861cecfb3ddcdfd252e22af52' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' +'b5cfaa3412a10acebc287bcc94b1a3e86509bf1d06c5415cc58d7cb504d1bd6d') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + patch -p1 -i ../sagenb-deprecated.patch # Fix deprecated imports + +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i
[arch-commits] Commit in sage-notebook/repos/community-any (5 files)
Date: Tuesday, May 22, 2018 @ 17:39:56 Author: arojas Revision: 327702 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 327701, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 327701, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service sage-notebook/repos/community-any/sagenb-deprecated.patch -+ PKGBUILD| 124 +++- sage.service| 16 +-- sagenb-deprecated.patch | 235 -- 3 files changed, 68 insertions(+), 307 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-22 17:39:29 UTC (rev 327701) +++ PKGBUILD2018-05-22 17:39:56 UTC (rev 327702) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.1 -pkgrel=3 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service sagenb-deprecated.patch) -sha256sums=('d3fa8deca39618262733bf4fd86d079f038f6f7b3f428c20773fd523411a1626' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' -'ce6e712a4da0bd99bcffc9c2e6fdbbe7c8c7a0e8689dc0e671a2b536236ce603') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - -# don't use deprecated imports - patch -p1 -i ../sagenb-deprecated.patch - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 327701, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-22 17:39:56 UTC (rev 327702) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.2 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('a0c596fcd3d9ad854024542f265188000573e58861cecfb3ddcdfd252e22af52' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i
[arch-commits] Commit in sage-notebook/repos/community-any (5 files)
Date: Saturday, July 22, 2017 @ 18:09:46 Author: arojas Revision: 246017 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 246013, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 246013, sage-notebook/trunk/sage.service) sage-notebook/repos/community-any/sagenb-deprecated.patch (from rev 246014, sage-notebook/trunk/sagenb-deprecated.patch) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service -+ PKGBUILD| 124 sage.service| 16 +-- sagenb-deprecated.patch | 235 ++ 3 files changed, 307 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-07-22 18:09:45 UTC (rev 246016) +++ PKGBUILD2017-07-22 18:09:46 UTC (rev 246017) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.1 -pkgrel=2 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('d3fa8deca39618262733bf4fd86d079f038f6f7b3f428c20773fd523411a1626' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 246013, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-07-22 18:09:46 UTC (rev 246017) @@ -0,0 +1,64 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.1 +pkgrel=3 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service sagenb-deprecated.patch) +sha256sums=('d3fa8deca39618262733bf4fd86d079f038f6f7b3f428c20773fd523411a1626' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a' +'ce6e712a4da0bd99bcffc9c2e6fdbbe7c8c7a0e8689dc0e671a2b536236ce603') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + +# don't use deprecated imports + patch -p1 -i ../sagenb-deprecated.patch + +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env
[arch-commits] Commit in sage-notebook/repos/community-any (4 files)
Date: Saturday, June 17, 2017 @ 18:35:26 Author: arojas Revision: 237986 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 237985, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 237985, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 120 - sage.service | 16 +++ 2 files changed, 68 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-06-17 18:35:02 UTC (rev 237985) +++ PKGBUILD2017-06-17 18:35:26 UTC (rev 237986) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0.1 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('d3fa8deca39618262733bf4fd86d079f038f6f7b3f428c20773fd523411a1626' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 237985, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-06-17 18:35:26 UTC (rev 237986) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.1 +pkgrel=2 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('d3fa8deca39618262733bf4fd86d079f038f6f7b3f428c20773fd523411a1626' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e "s|python='python'|python='python2'|" -i sagenb/interfaces/expect.py +} + +build() { + cd sagenb-$pkgver + python2 setup.py build +} + +package() { + cd sagenb-$pkgver + + python2 setup.py install --root "$pkgdir" --optimize=1 + + install -D -m644 COPYING
[arch-commits] Commit in sage-notebook/repos/community-any (4 files)
Date: Saturday, June 3, 2017 @ 07:24:01 Author: arojas Revision: 233643 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 233642, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 233642, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 120 - sage.service | 16 +++ 2 files changed, 68 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-06-03 07:23:29 UTC (rev 233642) +++ PKGBUILD2017-06-03 07:24:01 UTC (rev 233643) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=1.0 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) -sha256sums=('90faad86182100dc96c1a85bd16d4c6f5c4e9e158d33edf8fa86c9870beb3e03' -'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 233642, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-06-03 07:24:01 UTC (rev 233643) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0.1 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('d3fa8deca39618262733bf4fd86d079f038f6f7b3f428c20773fd523411a1626' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py + sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py +} + +build() { + cd sagenb-$pkgver + python2 setup.py build +} + +package() { + cd sagenb-$pkgver + + python2 setup.py install --root "$pkgdir" --optimize=1 + + install -D -m644 COPYING
[arch-commits] Commit in sage-notebook/repos/community-any (6 files)
Date: Wednesday, May 24, 2017 @ 06:25:48 Author: arojas Revision: 229923 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 229922, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/sage.service (from rev 229922, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage.service sage-notebook/repos/community-any/sagenb-flask-0.11.patch -+ PKGBUILD| 127 - jmol.patch | 21 -- sage.service| 16 +- sagenb-flask-0.11.patch | 342 -- 4 files changed, 68 insertions(+), 438 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-05-24 06:25:30 UTC (rev 229922) +++ PKGBUILD2017-05-24 06:25:48 UTC (rev 229923) @@ -1,67 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.13 -pkgrel=4 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service jmol.patch sagenb-flask-0.11.patch) -sha256sums=('8e88c66a244c027256c0c6c944414ef63d6c28c4f03c118c9964d610357896a6' -'8f16928bbb5989ffd99a81ed76c6d391dfe32ea74f626a24bc27dff348412de7' -'3e7d7437d5dd4e139add01dc21b367de391b8c4472a3af3827b2466489779e3c' -'931be5497fdb722fba1211c4dcb359519fd618a2e36bd1a80cc0cdb5302bb51d') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook=sagenb" \ - --terminal=true \ - --categories="Education;Science;Math" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -# port away from deprecated Flask API - patch -p0 -i "$srcdir"/sagenb-flask-0.11.patch -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -# remove sage3d - rm -r "$pkgdir"/usr/bin -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 229922, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-05-24 06:25:48 UTC (rev 229923) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=1.0 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service) +sha256sums=('90faad86182100dc96c1a85bd16d4c6f5c4e9e158d33edf8fa86c9870beb3e03' +'2cf8668fa77a96fe562dafd50cab41aad03f53ee8b91587b1b45ecd193c1517a') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook=sagenb" \ + --terminal=true \ + --categories="Education;Science;Math" + + cd sagenb-$pkgver + +#
[arch-commits] Commit in sage-notebook/repos/community-any (8 files)
Date: Thursday, May 4, 2017 @ 21:14:04 Author: arojas Revision: 227067 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 227066, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 227066, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage.service (from rev 227066, sage-notebook/trunk/sage.service) sage-notebook/repos/community-any/sagenb-flask-0.11.patch (from rev 227066, sage-notebook/trunk/sagenb-flask-0.11.patch) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage.service sage-notebook/repos/community-any/sagenb-flask-0.11.patch -+ PKGBUILD| 135 - jmol.patch | 42 +- sage.service| 16 - sagenb-flask-0.11.patch | 684 +++--- 4 files changed, 438 insertions(+), 439 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-05-04 21:13:32 UTC (rev 227066) +++ PKGBUILD2017-05-04 21:14:04 UTC (rev 227067) @@ -1,68 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.13 -pkgrel=3 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service jmol.patch sagenb-flask-0.11.patch) -md5sums=('f72cd81add5373f74b459957a64074ce' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0' - 'a63fe71bfd4b36384ef5b802f592e319') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook" \ - --terminal=true \ - --categories="Education;Science;Math" \ - --custom="X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username=" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -# port away from deprecated Flask API - patch -p0 -i "$srcdir"/sagenb-flask-0.11.patch -} - -build() { - cd sagenb-$pkgver - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 227066, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-05-04 21:14:04 UTC (rev 227067) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=0.13 +pkgrel=4 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service jmol.patch sagenb-flask-0.11.patch) +sha256sums=('8e88c66a244c027256c0c6c944414ef63d6c28c4f03c118c9964d610357896a6' +'8f16928bbb5989ffd99a81ed76c6d391dfe32ea74f626a24bc27dff348412de7' +'3e7d7437d5dd4e139add01dc21b367de391b8c4472a3af3827b2466489779e3c' +'931be5497fdb722fba1211c4dcb359519fd618a2e36bd1a80cc0cdb5302bb51d') + +prepare() { +#
[arch-commits] Commit in sage-notebook/repos/community-any (7 files)
Date: Friday, August 5, 2016 @ 10:44:40 Author: arojas Revision: 185267 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 185266, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 185266, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage.service (from rev 185266, sage-notebook/trunk/sage.service) sage-notebook/repos/community-any/sagenb-flask-0.11.patch (from rev 185266, sage-notebook/trunk/sagenb-flask-0.11.patch) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage.service -+ PKGBUILD| 144 +-- jmol.patch | 42 ++--- sage.service| 16 +- sagenb-flask-0.11.patch | 342 ++ 4 files changed, 439 insertions(+), 105 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-08-05 10:44:07 UTC (rev 185266) +++ PKGBUILD2016-08-05 10:44:40 UTC (rev 185267) @@ -1,76 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.13 -pkgrel=2 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch' -"https://pypi.io/packages/source/F/Flask/Flask-0.10.1.tar.gz;) -md5sums=('f72cd81add5373f74b459957a64074ce' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0' - '378670fe456957eb3c27ddaef60b2b24') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook" \ - --terminal=true \ - --categories="Education;Science;Math" \ - --custom="X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username=" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -} - -build() { - cd sagenb-$pkgver - python2 setup.py build - - cd "$srcdir"/Flask-0.10.1 - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" - -# Install flask 0.10 - cd "$srcdir"/Flask-0.10.1 - python2 setup.py install --root "$pkgdir" --optimize=1 - install -d "$pkgdir"/usr/lib/sage/site-packages - mv "$pkgdir"/usr/lib/python2.7/site-packages/{f,F}lask* "$pkgdir"/usr/lib/sage/site-packages -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 185266, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-08-05 10:44:40 UTC (rev 185267) @@ -0,0 +1,68 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=0.13 +pkgrel=3 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; sage.service jmol.patch sagenb-flask-0.11.patch) +md5sums=('f72cd81add5373f74b459957a64074ce' + '61620179a7ecd85401d8e5a6ece3ea41' +
[arch-commits] Commit in sage-notebook/repos/community-any (6 files)
Date: Saturday, June 4, 2016 @ 12:25:31 Author: arojas Revision: 177853 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 177852, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 177852, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage.service (from rev 177852, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 142 ++--- jmol.patch | 42 sage.service | 16 +++--- 3 files changed, 105 insertions(+), 95 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-06-04 10:25:02 UTC (rev 177852) +++ PKGBUILD2016-06-04 10:25:31 UTC (rev 177853) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.13 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') -md5sums=('f72cd81add5373f74b459957a64074ce' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook" \ - --terminal=true \ - --categories="Education;Science;Math" \ - --custom="X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username=" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -} - -build() { - cd sagenb-$pkgver - - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 177852, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-06-04 10:25:31 UTC (rev 177853) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=0.13 +pkgrel=2 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch' +"https://pypi.io/packages/source/F/Flask/Flask-0.10.1.tar.gz;) +md5sums=('f72cd81add5373f74b459957a64074ce' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0' + '378670fe456957eb3c27ddaef60b2b24') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook" \ + --terminal=true \ + --categories="Education;Science;Math" \ + --custom="X-DCOP-ServiceType= +X-KDE-SubstituteUID=false +X-KDE-Username=" + + cd sagenb-$pkgver + +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|'
[arch-commits] Commit in sage-notebook/repos/community-any (6 files)
Date: Monday, May 9, 2016 @ 22:48:24 Author: arojas Revision: 174465 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 174464, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 174464, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage.service (from rev 174464, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage.service --+ PKGBUILD | 132 - jmol.patch | 42 +- sage.service | 16 +++--- 3 files changed, 95 insertions(+), 95 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-05-09 20:47:50 UTC (rev 174464) +++ PKGBUILD2016-05-09 20:48:24 UTC (rev 174465) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.12 -pkgrel=2 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=("http://mirrors.mit.edu/sage/spkg/upstream/sagenb/sagenb-$pkgver.tar.bz2; 'sage.service' 'jmol.patch') -md5sums=('f421c5c4d347226534ca0ca95ac726e2' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook" \ - --terminal=true \ - --categories="Education;Science;Math" \ - --custom="X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username=" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -} - -build() { - cd sagenb-$pkgver - - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 174464, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-05-09 20:48:24 UTC (rev 174465) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=0.13 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=($pkgname-$pkgver::"https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') +md5sums=('f72cd81add5373f74b459957a64074ce' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook" \ + --terminal=true \ + --categories="Education;Science;Math" \ + --custom="X-DCOP-ServiceType= +X-KDE-SubstituteUID=false +X-KDE-Username=" + + cd sagenb-$pkgver + +# Use python2 + find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ +-e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i + sed -e
[arch-commits] Commit in sage-notebook/repos/community-any (7 files)
Date: Wednesday, April 27, 2016 @ 17:54:28 Author: arojas Revision: 172069 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 172068, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 172068, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage.service (from rev 172068, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage-notebook.install sage-notebook/repos/community-any/sage.service ---+ PKGBUILD | 133 +++- jmol.patch| 42 +++ sage-notebook.install |8 -- sage.service | 16 ++--- 4 files changed, 95 insertions(+), 104 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-04-27 15:53:58 UTC (rev 172068) +++ PKGBUILD2016-04-27 15:54:28 UTC (rev 172069) @@ -1,67 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.12 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=("http://mirrors.mit.edu/sage/spkg/upstream/sagenb/sagenb-$pkgver.tar.bz2; 'sage.service' 'jmol.patch') -install=$pkgname.install -md5sums=('f421c5c4d347226534ca0ca95ac726e2' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook" \ - --terminal=true \ - --categories="Education;Science;Math" \ - --custom="X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username=" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -} - -build() { - cd sagenb-$pkgver - - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 172068, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-04-27 15:54:28 UTC (rev 172069) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=0.12 +pkgrel=2 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=("http://mirrors.mit.edu/sage/spkg/upstream/sagenb/sagenb-$pkgver.tar.bz2; 'sage.service' 'jmol.patch') +md5sums=('f421c5c4d347226534ca0ca95ac726e2' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage -notebook" \ + --terminal=true \ + --categories="Education;Science;Math" \ + --custom="X-DCOP-ServiceType= +X-KDE-SubstituteUID=false +X-KDE-Username=" + + cd sagenb-$pkgver + +# Use python2 + find -name '*.py' | xargs sed -e 's|#!
[arch-commits] Commit in sage-notebook/repos/community-any (8 files)
Date: Sunday, April 17, 2016 @ 23:48:52 Author: arojas Revision: 171269 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 171268, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 171268, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage-notebook.install (from rev 171268, sage-notebook/trunk/sage-notebook.install) sage-notebook/repos/community-any/sage.service (from rev 171268, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage-notebook.install sage-notebook/repos/community-any/sage.service ---+ PKGBUILD | 137 +++- jmol.patch| 42 +++--- sage-notebook.install | 16 ++--- sage.service | 16 ++--- 4 files changed, 104 insertions(+), 107 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-04-17 21:48:27 UTC (rev 171268) +++ PKGBUILD2016-04-17 21:48:52 UTC (rev 171269) @@ -1,70 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.11.7 -pkgrel=1 -pkgdesc='Browser-based notebook interface for SageMath' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel -python2-webassets mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=("$pkgname-$pkgver.tar.gz::https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') -install=$pkgname.install -md5sums=('d25b1709da70a337d6149dddec192b9d' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="SageMath notebook" \ - --name="SageMath" \ - --exec="/usr/bin/sage -notebook" \ - --terminal=true \ - --categories="Education;Science;Math" \ - --custom="X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username=" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -} - -build() { - cd sagenb-${pkgver} - - python2 setup.py build -} - -package() { - cd sagenb-$pkgver - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - -# Use system mathjax - rm -r "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 171268, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-04-17 21:48:52 UTC (rev 171269) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=0.12 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=("http://mirrors.mit.edu/sage/spkg/upstream/sagenb/sagenb-$pkgver.tar.bz2; 'sage.service' 'jmol.patch') +install=$pkgname.install +md5sums=('f421c5c4d347226534ca0ca95ac726e2' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="SageMath" \ + --exec="/usr/bin/sage
[arch-commits] Commit in sage-notebook/repos/community-any (8 files)
Date: Friday, December 11, 2015 @ 10:31:06 Author: arojas Revision: 152811 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 152810, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 152810, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage-notebook.install (from rev 152810, sage-notebook/trunk/sage-notebook.install) sage-notebook/repos/community-any/sage.service (from rev 152810, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage-notebook.install sage-notebook/repos/community-any/sage.service ---+ PKGBUILD | 142 jmol.patch| 42 +++--- sage-notebook.install | 16 ++--- sage.service | 16 ++--- 4 files changed, 108 insertions(+), 108 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-12-11 09:30:34 UTC (rev 152810) +++ PKGBUILD2015-12-11 09:31:06 UTC (rev 152811) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas-# Maintainer: Evgeniy Alekseev - -pkgname=sage-notebook -pkgver=0.11.4 -pkgrel=2 -pkgdesc='Browser-based notebook interface for Sage' -arch=(any) -url='http://www.sagemath.org' -license=(GPL3) -depends=(sage-mathematics python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel -python2-webassets mathjax) -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=(gendesk) -source=("https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') -install=$pkgname.install -md5sums=('e8e0495d3668735c4ec2abc157c17f6b' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname="sage-notebook" \ - --pkgdesc="Sage notebook" \ - --name="Sage" \ - --exec="/usr/bin/sage -notebook" \ - --terminal=true \ - --categories="Education;Science;Math" \ - --custom="X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username=" - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e "s|python = 'python'|python = 'python2'|" -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i "$srcdir"/jmol.patch -} - -build() { - cd sagenb-${pkgver} - - python2 setup.py build -} - -package() { - cd sagenb-${pkgver} - - python2 setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING - -# Use system mathjax - rm -r "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - ln -s /usr/share/mathjax "$pkgdir"/usr/lib/python2.7/site-packages/sagenb/data/mathjax - -# install a systemd user unit - install -Dm644 "${srcdir}/sage.service" "$pkgdir/usr/lib/systemd/user/sage.service" -# install *.desktop and icon files - install -Dm644 "${srcdir}/sage-notebook.desktop" "$pkgdir/usr/share/applications/sage-notebook.desktop" - install -Dm644 "$pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png" \ - "$pkgdir/usr/share/pixmaps/sage-notebook.png" -} - Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 152810, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-12-11 09:31:06 UTC (rev 152811) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Antonio Rojas +# Maintainer: Evgeniy Alekseev + +pkgname=sage-notebook +pkgver=0.11.5 +pkgrel=1 +pkgdesc='Browser-based notebook interface for SageMath' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sagemath python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel +python2-webassets mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=("$pkgname-$pkgver.tar.gz::https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') +install=$pkgname.install +md5sums=('cf855521ff6e93ef586ab647ed75c997' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname="sage-notebook" \ + --pkgdesc="SageMath notebook" \ + --name="Sage" \ +
[arch-commits] Commit in sage-notebook/repos/community-any (8 files)
Date: Sunday, March 1, 2015 @ 18:37:56 Author: arojas Revision: 128503 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 128502, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 128502, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage-notebook.install (from rev 128502, sage-notebook/trunk/sage-notebook.install) sage-notebook/repos/community-any/sage.service (from rev 128502, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage-notebook.install sage-notebook/repos/community-any/sage.service ---+ PKGBUILD | 136 +--- jmol.patch| 42 +++--- sage-notebook.install | 16 ++--- sage.service | 16 ++--- 4 files changed, 108 insertions(+), 102 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-03-01 17:37:39 UTC (rev 128502) +++ PKGBUILD2015-03-01 17:37:56 UTC (rev 128503) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Antonio Rojas aro...@archlinux.org -# Maintainer: Evgeniy Alekseev arcanis.arch at gmail dot com - -pkgname=sage-notebook -pkgver=0.11.4 -pkgrel=1 -pkgdesc='Browser-based notebook interface for Sage' -arch=('any') -url='http://www.sagemath.org' -license=('GPL3') -depends=('sage-mathematics' 'python2-twisted' 'python2-flask-oldsessions' 'python2-flask-openid' 'python2-flask-autoindex' 'python2-flask-babel' 'python2-flask-silk' 'python2-webassets') -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=('gendesk') -source=(https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') -install=$pkgname.install -md5sums=('e8e0495d3668735c4ec2abc157c17f6b' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname=sage-notebook \ - --pkgdesc=Sage notebook \ - --name=Sage \ - --exec=/usr/bin/sage -notebook \ - --terminal=true \ - --categories=Education;Science;Math \ - --custom=X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username= - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e s|python = 'python'|python = 'python2'| -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i $srcdir/jmol.patch -} - -build() { - cd sagenb-${pkgver} - - python2 setup.py build -} - -package() { - cd sagenb-${pkgver} - - python2 setup.py install --root $pkgdir --optimize=1 - - install -D -m644 COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING - -# install a systemd user unit - install -Dm644 ${srcdir}/sage.service $pkgdir/usr/lib/systemd/user/sage.service -# install *.desktop and icon files - install -Dm644 ${srcdir}/sage-notebook.desktop $pkgdir/usr/share/applications/sage-notebook.desktop - install -Dm644 $pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png \ - $pkgdir/usr/share/pixmaps/sage-notebook.png -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 128502, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-03-01 17:37:56 UTC (rev 128503) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Antonio Rojas aro...@archlinux.org +# Maintainer: Evgeniy Alekseev arcanis.arch at gmail dot com + +pkgname=sage-notebook +pkgver=0.11.4 +pkgrel=2 +pkgdesc='Browser-based notebook interface for Sage' +arch=(any) +url='http://www.sagemath.org' +license=(GPL3) +depends=(sage-mathematics python2-twisted python2-flask-oldsessions python2-flask-openid python2-flask-autoindex python2-flask-babel +python2-webassets mathjax) +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=(gendesk) +source=(https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') +install=$pkgname.install +md5sums=('e8e0495d3668735c4ec2abc157c17f6b' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname=sage-notebook \ + --pkgdesc=Sage notebook \ + --name=Sage \ + --exec=/usr/bin/sage -notebook \ + --terminal=true \ + --categories=Education;Science;Math \ + --custom=X-DCOP-ServiceType= +X-KDE-SubstituteUID=false
[arch-commits] Commit in sage-notebook/repos/community-any (8 files)
Date: Wednesday, February 4, 2015 @ 09:24:50 Author: arojas Revision: 127072 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 127071, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 127071, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage-notebook.install (from rev 127071, sage-notebook/trunk/sage-notebook.install) sage-notebook/repos/community-any/sage.service (from rev 127071, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage-notebook.install sage-notebook/repos/community-any/sage.service ---+ PKGBUILD | 129 jmol.patch| 42 +++ sage-notebook.install | 22 ++-- sage.service | 16 ++--- 4 files changed, 102 insertions(+), 107 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-02-04 08:24:01 UTC (rev 127071) +++ PKGBUILD2015-02-04 08:24:50 UTC (rev 127072) @@ -1,64 +0,0 @@ -# Maintainer: Antonio Rojas aro...@archlinux.org -# Maintainer: Evgeniy Alekseev arcanis.arch at gmail dot com - -pkgname=sage-notebook -pkgver=0.11.1 -pkgrel=3 -pkgdesc='Web-based notebook interface for Sage' -arch=('any') -url='http://www.sagemath.org' -license=('GPL3') -depends=('sage-mathematics' 'python2-twisted' 'python2-flask-oldsessions' 'python2-flask-openid' 'python2-flask-autoindex' 'python2-flask-babel' 'python2-flask-silk' 'python2-webassets') -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=('gendesk') -source=(https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') -install=$pkgname.install -md5sums=('74d9ddd0f1b77ff8ef9d0f5b0007cf00' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname=sage-notebook \ - --pkgdesc=Sage notebook \ - --name=Sage \ - --exec=/usr/bin/sage -notebook \ - --terminal=true \ - --categories=Education;Science;Math \ - --custom=X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username= - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e s|python = 'python'|python = 'python2'| -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i $srcdir/jmol.patch -} - -build() { - cd sagenb-${pkgver} - - python2 setup.py build -} - -package() { - cd sagenb-${pkgver} - - python2 setup.py install --root $pkgdir --optimize=1 - - install -D -m644 COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING - -# install a systemd user unit - install -Dm644 ${srcdir}/sage.service $pkgdir/usr/lib/systemd/user/sage.service -# install *.desktop and icon files - install -Dm644 ${srcdir}/sage-notebook.desktop $pkgdir/usr/share/applications/sage-notebook.desktop - install -Dm644 $pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png \ - $pkgdir/usr/share/pixmaps/sage-notebook.png -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 127071, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-02-04 08:24:50 UTC (rev 127072) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Antonio Rojas aro...@archlinux.org +# Maintainer: Evgeniy Alekseev arcanis.arch at gmail dot com + +pkgname=sage-notebook +pkgver=0.11.1 +pkgrel=4 +pkgdesc='Web-based notebook interface for Sage' +arch=('any') +url='http://www.sagemath.org' +license=('GPL3') +depends=('sage-mathematics' 'python2-twisted' 'python2-flask-oldsessions' 'python2-flask-openid' 'python2-flask-autoindex' 'python2-flask-babel' 'python2-flask-silk' 'python2-webassets') +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=('gendesk') +source=(https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') +install=$pkgname.install +md5sums=('74d9ddd0f1b77ff8ef9d0f5b0007cf00' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname=sage-notebook \ + --pkgdesc=Sage notebook \ + --name=Sage \ + --exec=/usr/bin/sage -notebook \ + --terminal=true \ + --categories=Education;Science;Math \ + --custom=X-DCOP-ServiceType=
[arch-commits] Commit in sage-notebook/repos/community-any (8 files)
Date: Sunday, January 11, 2015 @ 11:31:20 Author: arojas Revision: 125720 archrelease: copy trunk to community-any Added: sage-notebook/repos/community-any/PKGBUILD (from rev 125719, sage-notebook/trunk/PKGBUILD) sage-notebook/repos/community-any/jmol.patch (from rev 125719, sage-notebook/trunk/jmol.patch) sage-notebook/repos/community-any/sage-notebook.install (from rev 125719, sage-notebook/trunk/sage-notebook.install) sage-notebook/repos/community-any/sage.service (from rev 125719, sage-notebook/trunk/sage.service) Deleted: sage-notebook/repos/community-any/PKGBUILD sage-notebook/repos/community-any/jmol.patch sage-notebook/repos/community-any/sage-notebook.install sage-notebook/repos/community-any/sage.service ---+ PKGBUILD | 128 jmol.patch| 42 +++ sage-notebook.install | 31 +-- sage.service | 16 +++--- 4 files changed, 107 insertions(+), 110 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-01-11 10:30:45 UTC (rev 125719) +++ PKGBUILD2015-01-11 10:31:20 UTC (rev 125720) @@ -1,64 +0,0 @@ -# Maintainer: Antonio Rojas aro...@archlinux.org -# Maintainer: Evgeniy Alekseev arcanis.arch at gmail dot com - -pkgname=sage-notebook -pkgver=0.11.1 -pkgrel=2 -pkgdesc='Web-based notebook interface for Sage' -arch=('any') -url='http://www.sagemath.org' -license=('GPL3') -depends=('sage-mathematics' 'python2-twisted' 'python2-flask-oldsessions' 'python2-flask-openid' 'python2-flask-autoindex' 'python2-flask-babel' 'python2-flask-silk' 'python2-webassets') -optdepends=('python2-pyopenssl: to use the notebook in secure mode') -makedepends=('gendesk') -source=(https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') -install=$pkgname.install -md5sums=('74d9ddd0f1b77ff8ef9d0f5b0007cf00' - '61620179a7ecd85401d8e5a6ece3ea41' - 'b29760c97a5328faa179a46008391bf0') - -prepare() { -# create *.desktop file - gendesk -f -n \ - --pkgname=sage-notebook \ - --pkgdesc=Sage notebook \ - --name=Sage \ - --exec=/usr/bin/sage -notebook \ - --terminal=true \ - --categories=Education;Science;Math \ - --custom=X-DCOP-ServiceType= -X-KDE-SubstituteUID=false -X-KDE-Username= - - cd sagenb-$pkgver - -# Use python2 - find -name '*.py' | xargs sed -e 's|#! /usr/bin/python|#! /usr/bin/python2|' -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ --e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i - sed -e 's|python %s|python2 %s|' -i sagenb/notebook/run_notebook.py - sed -e s|python = 'python'|python = 'python2'| -i sagenb/interfaces/expect.py - -# fix displaying 3D plots - patch -p0 -i $srcdir/jmol.patch -} - -build() { - cd sagenb-${pkgver} - - python2 setup.py build -} - -package() { - cd sagenb-${pkgver} - - python2 setup.py install --root $pkgdir --optimize=1 - - install -D -m644 COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING - -# install a systemd user unit - install -Dm644 ${srcdir}/sage.service $pkgdir/usr/lib/systemd/user/sage.service -# install *.desktop and icon files - install -Dm644 ${srcdir}/sage-notebook.desktop $pkgdir/usr/share/applications/sage-notebook.desktop - install -Dm644 $pkgdir/usr/lib/python2.7/site-packages/sagenb/data/sage/images/icon48x48.png \ - $pkgdir/usr/share/pixmaps/sage-notebook.png -} Copied: sage-notebook/repos/community-any/PKGBUILD (from rev 125719, sage-notebook/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-01-11 10:31:20 UTC (rev 125720) @@ -0,0 +1,64 @@ +# Maintainer: Antonio Rojas aro...@archlinux.org +# Maintainer: Evgeniy Alekseev arcanis.arch at gmail dot com + +pkgname=sage-notebook +pkgver=0.11.1 +pkgrel=3 +pkgdesc='Web-based notebook interface for Sage' +arch=('any') +url='http://www.sagemath.org' +license=('GPL3') +depends=('sage-mathematics' 'python2-twisted' 'python2-flask-oldsessions' 'python2-flask-openid' 'python2-flask-autoindex' 'python2-flask-babel' 'python2-flask-silk' 'python2-webassets') +optdepends=('python2-pyopenssl: to use the notebook in secure mode') +makedepends=('gendesk') +source=(https://github.com/sagemath/sagenb/archive/$pkgver.tar.gz; 'sage.service' 'jmol.patch') +install=$pkgname.install +md5sums=('74d9ddd0f1b77ff8ef9d0f5b0007cf00' + '61620179a7ecd85401d8e5a6ece3ea41' + 'b29760c97a5328faa179a46008391bf0') + +prepare() { +# create *.desktop file + gendesk -f -n \ + --pkgname=sage-notebook \ + --pkgdesc=Sage notebook \ + --name=Sage \ + --exec=/usr/bin/sage -notebook \ + --terminal=true \ + --categories=Education;Science;Math \ + --custom=X-DCOP-ServiceType=
[arch-commits] Commit in sage-notebook/repos (community-any)
Date: Tuesday, January 6, 2015 @ 19:52:49 Author: arojas Revision: 125535 Deleted: sage-notebook/repos/community-any/