Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
[update to 0.8.2] Set websocket.terminal to None when the child exits
Browse files Browse the repository at this point in the history
Chiplunkar (1):
      Fix for jupyter/terminado#62

Hugo (3):
      Add python_requires to help pip, and version classifers
      Remove x.y classifiers
      Correct field name

Steven Silvester (2):
      Run only the basic test on Appveyor
      Bump to 0.8.2

Thomas Kluyver (1):
      Set websocket.terminal to None when the child exits
  • Loading branch information
fenrus75 committed Apr 4, 2019
1 parent 1e30577 commit 17a0d00
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 24 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.*~
*~
*.swp
.repo-index
*.log
build.log.round*
*.tar.*
*.tgz
!*.tar.*.*
*.zip
commitmsg
results/
rpms/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := terminado
URL = http://pypi.debian.net/terminado/terminado-0.8.1.tar.gz

URL = https://files.pythonhosted.org/packages/ae/fc/f5c7c36ac0da236078a26da7dce5748db45c8273cd551232ae01b26043b3/terminado-0.8.2.tar.gz
ARCHIVES =

include ../common/Makefile.common
10 changes: 8 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = terminado
url = http://pypi.debian.net/terminado/terminado-0.8.1.tar.gz
url = https://files.pythonhosted.org/packages/ae/fc/f5c7c36ac0da236078a26da7dce5748db45c8273cd551232ae01b26043b3/terminado-0.8.2.tar.gz
archives =
giturl = https://github.com/jupyter/terminado.git

Expand All @@ -12,13 +12,17 @@ allow_test_failures = false
# unset %build ld_as_needed variable
asneeded = false
# this package is trusted enough to automatically update (used by other tools)
autoupdate = false
autoupdate = true
# extend flags with '-std=gnu++98
broken_c++ = false
# disable parallelization during build
broken_parallel_build = false
# this package is a library compatability package and only ships versioned library files
compat = false
# set conservative build flags
conservative_flags = false
# dev package requires the extras to be installed
dev_requires_extras = false
# pass -ffast-math to compiler
fast-math = false
# optimize build for speed over size
Expand All @@ -43,6 +47,8 @@ skip_tests = false
so_to_lib = false
# configure build for avx2
use_avx2 = false
# configure build for avx512
use_avx512 = false
# add clang flags
use_clang = false
# configure build for lto
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
21
50 changes: 32 additions & 18 deletions terminado.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,39 @@
# Generated by: autospec.py
#
Name : terminado
Version : 0.8.1
Release : 20
URL : http://pypi.debian.net/terminado/terminado-0.8.1.tar.gz
Source0 : http://pypi.debian.net/terminado/terminado-0.8.1.tar.gz
Version : 0.8.2
Release : 21
URL : https://files.pythonhosted.org/packages/ae/fc/f5c7c36ac0da236078a26da7dce5748db45c8273cd551232ae01b26043b3/terminado-0.8.2.tar.gz
Source0 : https://files.pythonhosted.org/packages/ae/fc/f5c7c36ac0da236078a26da7dce5748db45c8273cd551232ae01b26043b3/terminado-0.8.2.tar.gz
Summary : Terminals served to xterm.js using Tornado websockets
Group : Development/Tools
License : BSD-3-Clause
Requires: terminado-python3
Requires: terminado-python
Requires: ptyprocess
License : BSD-2-Clause BSD-3-Clause
Requires: terminado-license = %{version}-%{release}
Requires: terminado-python = %{version}-%{release}
Requires: terminado-python3 = %{version}-%{release}
Requires: XStatic
Requires: XStatic-term.js
Requires: terminado
Requires: tornado
BuildRequires : pbr
BuildRequires : pip

BuildRequires : python3-dev
BuildRequires : setuptools
BuildRequires : buildreq-distutils3

%description
This is a `Tornado <http://tornadoweb.org/>`_ websocket backend for the
`Xterm.js <https://xtermjs.org/>`_ Javascript terminal emulator
library.

%package license
Summary: license components for the terminado package.
Group: Default

%description license
license components for the terminado package.


%package python
Summary: python components for the terminado package.
Group: Default
Requires: terminado-python3
Requires: terminado-python3 = %{version}-%{release}

%description python
python components for the terminado package.
Expand All @@ -45,26 +51,34 @@ python3 components for the terminado package.


%prep
%setup -q -n terminado-0.8.1
%setup -q -n terminado-0.8.2

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1511887193
python3 setup.py build -b py3
export SOURCE_DATE_EPOCH=1554402889
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build

%install
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
python3 -tt setup.py build -b py3 install --root=%{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/terminado
cp LICENSE %{buildroot}/usr/share/package-licenses/terminado/LICENSE
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----

%files
%defattr(-,root,root,-)

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/terminado/LICENSE

%files python
%defattr(-,root,root,-)

Expand Down
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b99efb25c9bc9c8ae4ccd9a9b7996e436bb742c8/terminado-0.8.1.tar.gz
16e24dd723b08de1e95181bdd6d24503ab7351b2/terminado-0.8.2.tar.gz
1 change: 1 addition & 0 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# This file contains recursive sources that require this package
notebook

0 comments on commit 17a0d00

Please sign in to comment.