commit asciinema for openSUSE:Factory

2019-04-18 Thread root
Hello community,

here is the log from the commit of package asciinema for openSUSE:Factory 
checked in at 2019-04-18 09:57:10

Comparing /work/SRC/openSUSE:Factory/asciinema (Old)
 and  /work/SRC/openSUSE:Factory/.asciinema.new.17052 (New)


Package is "asciinema"

Thu Apr 18 09:57:10 2019 rev:7 rq:695321 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/asciinema/asciinema.changes  2019-01-15 
09:17:43.294160272 +0100
+++ /work/SRC/openSUSE:Factory/.asciinema.new.17052/asciinema.changes   
2019-04-18 09:57:10.933369892 +0200
@@ -1,0 +2,6 @@
+Wed Apr 17 09:59:05 UTC 2019 - Martin Pluskal 
+
+- Modernise spec file
+- Reduce space usage by fdupes
+
+---



Other differences:
--
++ asciinema.spec ++
--- /var/tmp/diff_new_pack.HGcYaT/_old  2019-04-18 09:57:11.473370232 +0200
+++ /var/tmp/diff_new_pack.HGcYaT/_new  2019-04-18 09:57:11.477370235 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package asciinema
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,13 +20,13 @@
 Version:2.0.2
 Release:0
 Summary:Terminal session recorder
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Productivity/Networking/Other
-Url:https://asciinema.org
+URL:https://asciinema.org
 Source: 
https://github.com/asciinema/asciinema/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  python3-devel
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  python3-setuptools
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
 %description
@@ -36,18 +36,19 @@
 %setup -q
 
 %build
-python3 setup.py build
+%python3_build
 
 %install
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python3_install
+%fdupes %{buildroot}%{python3_sitelib}
 
-install -Dm644 {man/,%{buildroot}%{_mandir}/man1/}%{name}.1
+install -Dpm644 {man/,%{buildroot}%{_mandir}/man1/}%{name}.1
 
 rm -R %{buildroot}%{_datadir}/doc/%{name}
 
 %files
-%defattr(-,root,root,-)
-%doc CHANGELOG.md CODE_OF_CONDUCT.md LICENSE CONTRIBUTING.md README.md
+%license LICENSE
+%doc CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
 %{_bindir}/%{name}
 %{python3_sitelib}/%{name}/
 %{python3_sitelib}/%{name}-%{version}*




commit asciinema for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package asciinema for openSUSE:Factory 
checked in at 2019-01-15 09:17:19

Comparing /work/SRC/openSUSE:Factory/asciinema (Old)
 and  /work/SRC/openSUSE:Factory/.asciinema.new.28833 (New)


Package is "asciinema"

Tue Jan 15 09:17:19 2019 rev:6 rq:665142 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/asciinema/asciinema.changes  2018-04-05 
15:34:52.365147552 +0200
+++ /work/SRC/openSUSE:Factory/.asciinema.new.28833/asciinema.changes   
2019-01-15 09:17:43.294160272 +0100
@@ -1,0 +2,13 @@
+Sun Jan 13 08:20:04 UTC 2019 - Alexei Podvalsky 
+
+- Update to 2.0.2
+  * Official support for Python 3.7
+  * Recording is now possible on US-ASCII locale
+  * Improved Android support
+  * Possibility of programatic recording with 
+asciinema.record_asciicast function
+  * Uses new JSON response format added recently to asciinema-server
+  * Tweaked message about how to stop recording
+  * Added proper description and other metadata to Python package
+
+---

Old:

  asciinema-2.0.1.tar.gz

New:

  asciinema-2.0.2.tar.gz



Other differences:
--
++ asciinema.spec ++
--- /var/tmp/diff_new_pack.1rHfgY/_old  2019-01-15 09:17:43.910159698 +0100
+++ /var/tmp/diff_new_pack.1rHfgY/_new  2019-01-15 09:17:43.910159698 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   asciinema
-Version:2.0.1
+Version:2.0.2
 Release:0
 Summary:Terminal session recorder
 License:GPL-3.0+
@@ -43,9 +43,11 @@
 
 install -Dm644 {man/,%{buildroot}%{_mandir}/man1/}%{name}.1
 
+rm -R %{buildroot}%{_datadir}/doc/%{name}
+
 %files
 %defattr(-,root,root,-)
-%doc CHANGELOG* LICENSE
+%doc CHANGELOG.md CODE_OF_CONDUCT.md LICENSE CONTRIBUTING.md README.md
 %{_bindir}/%{name}
 %{python3_sitelib}/%{name}/
 %{python3_sitelib}/%{name}-%{version}*

++ asciinema-2.0.1.tar.gz -> asciinema-2.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-2.0.1/.gitignore 
new/asciinema-2.0.2/.gitignore
--- old/asciinema-2.0.1/.gitignore  2018-04-04 09:05:41.0 +0200
+++ new/asciinema-2.0.2/.gitignore  2019-01-12 19:58:29.0 +0100
@@ -1,3 +1,120 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+wheels/
+share/python-wheels/
+*.egg-info/
+.installed.cfg
+*.egg
+MANIFEST
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.nox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*.cover
+.hypothesis/
+.pytest_cache/
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+local_settings.py
+db.sqlite3
+
+# Flask stuff:
+instance/
+.webassets-cache
+
+# Scrapy stuff:
+.scrapy
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
+# Jupyter Notebook
+.ipynb_checkpoints
+
+# IPython
+profile_default/
+ipython_config.py
+
+# pyenv
+.python-version
+
+# celery beat schedule file
+celerybeat-schedule
+
+# SageMath parsed files
+*.sage.py
+
+# Environments
+.env
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# Spyder project settings
+.spyderproject
+.spyproject
+
+# Rope project settings
+.ropeproject
+
+# mkdocs documentation
+/site
+
+# mypy
+.mypy_cache/
+.dmypy.json
+dmypy.json
+
+# Pyre type checker
+.pyre/
+
+# custom
 /dist
 tmp
 *.pyc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-2.0.1/.travis.yml 
new/asciinema-2.0.2/.travis.yml
--- old/asciinema-2.0.1/.travis.yml 2018-04-04 09:05:41.0 +0200
+++ new/asciinema-2.0.2/.travis.yml 2019-01-12 19:58:29.0 +0100
@@ -1,15 +1,17 @@
-sudo: false
+sudo: required
+dist: xenial
 language: python
 
 python:
   - "3.4"
   - "3.5"
   - "3.6"
-  - "3.7-dev"
+  - "3.7"
+  - "3.8-dev"
 
 before_install:
-  - pip install pep8
+  - pip install pycodestyle
 
 script:
-  - find . -name \*.py -exec pep8 --ignore=E501 {} +
+  - find . -name \*.py -exec pycodestyle --ignore=E501,E402 {} +
   - make test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-2.0.1/CHANGELOG.md 
new/asciinema-2.0.2/CHANGELOG.md
--- old/asciinema-2.0.1/CHANGELOG.md2018-04-04 09:05:41.0 +0200
+++ new/asciinema-2.0.2/CHANGELOG.md2019-01-12 19:58:29.0 

commit asciinema for openSUSE:Factory

2018-04-05 Thread root
Hello community,

here is the log from the commit of package asciinema for openSUSE:Factory 
checked in at 2018-04-05 15:34:49

Comparing /work/SRC/openSUSE:Factory/asciinema (Old)
 and  /work/SRC/openSUSE:Factory/.asciinema.new (New)


Package is "asciinema"

Thu Apr  5 15:34:49 2018 rev:5 rq:593653 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/asciinema/asciinema.changes  2018-02-14 
09:45:42.828734500 +0100
+++ /work/SRC/openSUSE:Factory/.asciinema.new/asciinema.changes 2018-04-05 
15:34:52.365147552 +0200
@@ -1,0 +2,9 @@
+Thu Apr  5 04:14:49 UTC 2018 - avvi...@yandex.by
+
+- Upadte to 2.0.1:
+  * Fixed example in asciicast v2 format doc
+  * Replaced deprecated encodestring with encodebytes
+  * Fixed location of config dir (mv ~/.asciinema ~/.config/asciinema)
+  * Internal refactorings
+
+---

Old:

  asciinema-2.0.0.tar.gz

New:

  asciinema-2.0.1.tar.gz



Other differences:
--
++ asciinema.spec ++
--- /var/tmp/diff_new_pack.EjuIuQ/_old  2018-04-05 15:34:52.917127603 +0200
+++ /var/tmp/diff_new_pack.EjuIuQ/_new  2018-04-05 15:34:52.917127603 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   asciinema
-Version:2.0.0
+Version:2.0.1
 Release:0
 Summary:Terminal session recorder
 License:GPL-3.0+

++ asciinema-2.0.0.tar.gz -> asciinema-2.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-2.0.0/CHANGELOG.md 
new/asciinema-2.0.1/CHANGELOG.md
--- old/asciinema-2.0.0/CHANGELOG.md2018-02-10 22:47:22.0 +0100
+++ new/asciinema-2.0.1/CHANGELOG.md2018-04-04 09:05:41.0 +0200
@@ -1,5 +1,12 @@
 # asciinema changelog
 
+## 2.0.1 (2018-04-04)
+
+* Fixed example in asciicast v2 format doc (thanks Josh "@anowlcalledjosh" 
Holland!)
+* Replaced deprecated `encodestring` (since Python 3.1) with `encodebytes` 
(thanks @delirious-lettuce!)
+* Fixed location of config dir (you can `mv ~/.asciinema ~/.config/asciinema`)
+* Internal refactorings
+
 ## 2.0 (2018-02-10)
 
 This major release brings many new features, improvements and bugfixes. The 
most
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-2.0.0/asciinema/__init__.py 
new/asciinema-2.0.1/asciinema/__init__.py
--- old/asciinema-2.0.0/asciinema/__init__.py   2018-02-10 22:47:22.0 
+0100
+++ new/asciinema-2.0.1/asciinema/__init__.py   2018-04-04 09:05:41.0 
+0200
@@ -1,7 +1,7 @@
 import sys
 
 __author__ = 'Marcin Kulik'
-__version__ = '2.0.0'
+__version__ = '2.0.1'
 
 if sys.version_info[0] < 3:
 raise ImportError('Python < 3 is unsupported.')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-2.0.0/asciinema/asciicast/events.py 
new/asciinema-2.0.1/asciinema/asciicast/events.py
--- old/asciinema-2.0.0/asciinema/asciicast/events.py   1970-01-01 
01:00:00.0 +0100
+++ new/asciinema-2.0.1/asciinema/asciicast/events.py   2018-04-04 
09:05:41.0 +0200
@@ -0,0 +1,28 @@
+def to_relative_time(events):
+prev_time = 0
+
+for frame in events:
+time, type, data = frame
+delay = time - prev_time
+prev_time = time
+yield [delay, type, data]
+
+
+def to_absolute_time(events):
+time = 0
+
+for frame in events:
+delay, type, data = frame
+time = time + delay
+yield [time, type, data]
+
+
+def cap_relative_time(events, time_limit):
+if time_limit:
+return ([min(delay, time_limit), type, data] for delay, type, data in 
events)
+else:
+return events
+
+
+def adjust_speed(events, speed):
+return ([delay / speed, type, data] for delay, type, data in events)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-2.0.0/asciinema/asciicast/frames.py 
new/asciinema-2.0.1/asciinema/asciicast/frames.py
--- old/asciinema-2.0.0/asciinema/asciicast/frames.py   2018-02-10 
22:47:22.0 +0100
+++ new/asciinema-2.0.1/asciinema/asciicast/frames.py   1970-01-01 
01:00:00.0 +0100
@@ -1,28 +0,0 @@
-def to_relative_time(frames):
-prev_time = 0
-
-for frame in frames:
-time, data = frame
-delay = time - prev_time
-prev_time = time
-yield [delay, data]
-
-
-def to_absolute_time(frames):
-time = 0
-
-for frame in frames:
-delay, data = frame
-time = time + delay
-yield [time, data]
-
-
-def cap_relative_time(frames, time_limit):
-if time_limit:
-return ([min(delay, time_limit), text] for delay, text in frames)
-else:
-return frames
-
-
-def 

commit asciinema for openSUSE:Factory

2018-02-14 Thread root
Hello community,

here is the log from the commit of package asciinema for openSUSE:Factory 
checked in at 2018-02-14 09:45:21

Comparing /work/SRC/openSUSE:Factory/asciinema (Old)
 and  /work/SRC/openSUSE:Factory/.asciinema.new (New)


Package is "asciinema"

Wed Feb 14 09:45:21 2018 rev:4 rq:575428 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/asciinema/asciinema.changes  2017-05-09 
18:10:08.185656446 +0200
+++ /work/SRC/openSUSE:Factory/.asciinema.new/asciinema.changes 2018-02-14 
09:45:42.828734500 +0100
@@ -1,0 +2,6 @@
+Sun Feb 11 23:55:35 UTC 2018 - avvi...@yandex.by
+
+- Update to 2.0.0:
+  * see: /usr/share/doc/packages/asciinema/CHANGELOG 
+
+---

Old:

  asciinema-1.4.0.tar.gz

New:

  asciinema-2.0.0.tar.gz



Other differences:
--
++ asciinema.spec ++
--- /var/tmp/diff_new_pack.GGBgjZ/_old  2018-02-14 09:45:45.148649953 +0100
+++ /var/tmp/diff_new_pack.GGBgjZ/_new  2018-02-14 09:45:45.152649807 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   asciinema
-Version:1.4.0
+Version:2.0.0
 Release:0
 Summary:Terminal session recorder
 License:GPL-3.0+

++ asciinema-1.4.0.tar.gz -> asciinema-2.0.0.tar.gz ++
 3748 lines of diff (skipped)




commit asciinema for openSUSE:Factory

2017-05-09 Thread root
Hello community,

here is the log from the commit of package asciinema for openSUSE:Factory 
checked in at 2017-05-09 18:10:06

Comparing /work/SRC/openSUSE:Factory/asciinema (Old)
 and  /work/SRC/openSUSE:Factory/.asciinema.new (New)


Package is "asciinema"

Tue May  9 18:10:06 2017 rev:3 rq:493629 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/asciinema/asciinema.changes  2016-07-14 
09:50:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.asciinema.new/asciinema.changes 2017-05-09 
18:10:08.185656446 +0200
@@ -1,0 +2,6 @@
+Tue May  9 05:47:55 UTC 2017 - avvi...@yandex.by
+
+- Update to 1.4.0:
+  * see: /usr/share/doc/packages/asciinema/CHANGELOG 
+
+---

Old:

  asciinema-1.3.0.tar.gz

New:

  asciinema-1.4.0.tar.gz



Other differences:
--
++ asciinema.spec ++
--- /var/tmp/diff_new_pack.ykh4TE/_old  2017-05-09 18:10:09.313497069 +0200
+++ /var/tmp/diff_new_pack.ykh4TE/_new  2017-05-09 18:10:09.313497069 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package asciinema
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   asciinema
-Version:1.3.0
+Version:1.4.0
 Release:0
 Summary:Terminal session recorder
 License:GPL-3.0+

++ asciinema-1.3.0.tar.gz -> asciinema-1.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-1.3.0/.travis.yml 
new/asciinema-1.4.0/.travis.yml
--- old/asciinema-1.3.0/.travis.yml 2016-07-13 10:54:24.0 +0200
+++ new/asciinema-1.4.0/.travis.yml 2017-04-11 18:05:08.0 +0200
@@ -2,12 +2,17 @@
 language: python
 
 python:
-  - "3.2"
   - "3.3"
   - "3.4"
   - "3.5"
+  - "3.6"
 
-script: make test
+before_install:
+  - pip install pep8
+
+script:
+  - find . -name \*.py -exec pep8 --ignore=E501 {} +
+  - make test
 
 notifications:
   irc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-1.3.0/CHANGELOG.md 
new/asciinema-1.4.0/CHANGELOG.md
--- old/asciinema-1.3.0/CHANGELOG.md2016-07-13 10:54:24.0 +0200
+++ new/asciinema-1.4.0/CHANGELOG.md2017-04-11 18:05:08.0 +0200
@@ -1,5 +1,14 @@
 # asciinema changelog
 
+## 1.4.0 (2017-04-11)
+
+* Dropped distutils fallback in setup.py - setuptools required now (thanks 
Jakub "@jakubjedelsky" Jedelsky!)
+* Dropped official support for Python 3.2 (although it still works on 3.2)
+* New `--speed` option for `asciinema play` (thanks Bastiaan "@bastiaanb" 
Bakker!)
+* Ability to set API token via `ASCIINEMA_API_TOKEN` env variable (thanks 
Samantha "@samdmarshall" Marshall!)
+* Improved shutdown on more signals: CHLD, HUP, TERM, QUIT (thanks Richard 
"@typerlc"!)
+* Fixed stdin handling during playback via `asciinema play`
+
 ## 1.3.0 (2016-07-13)
 
 This release brings back the original Python implementation of asciinema. It's
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asciinema-1.3.0/README.md 
new/asciinema-1.4.0/README.md
--- old/asciinema-1.3.0/README.md   2016-07-13 10:54:24.0 +0200
+++ new/asciinema-1.4.0/README.md   2017-04-11 18:05:08.0 +0200
@@ -109,6 +109,7 @@
 Available options:
 
 * `-w, --max-wait=` - Reduce replayed terminal inactivity to max  
seconds
+* `-s, --speed=` - Playback speedup (can be fractional)
 
 NOTE: it is recommended to run `asciinema play` in a terminal of dimensions not
 smaller than the one used for recording as there's no "transcoding" of control
@@ -141,13 +142,26 @@
 machines so all of them use the same token, but that's not necessary. You can
 assign new tokens to your account from as many machines as you want.
 
+## Hosting the recordings on the web
+
+As mentioned in the `Usage / rec` section above, if the `filename` argument to
+`asciinema rec` is omitted then the resulting asciicast is uploaded
+to [asciinema.org](https://asciinema.org) where it's hosted for further 
playback
+in a web browser.
+
+If you prefer to host the recordings yourself, you can do so by recording to a
+file (`asciinema rec demo.json`) and using
+[asciinema's standalone web 
player](https://github.com/asciinema/asciinema-player#self-hosting-quick-start)
+in your HTML page.
+
 ## Configuration file
 
 asciinema uses a config file to keep API token and user settings. In most cases
 the location of this file is `$HOME/.config/asciinema/config`.
 
 *NOTE: When you first run 

commit asciinema for openSUSE:Factory

2016-07-14 Thread h_root
Hello community,

here is the log from the commit of package asciinema for openSUSE:Factory 
checked in at 2016-07-14 09:50:45

Comparing /work/SRC/openSUSE:Factory/asciinema (Old)
 and  /work/SRC/openSUSE:Factory/.asciinema.new (New)


Package is "asciinema"

Changes:

--- /work/SRC/openSUSE:Factory/asciinema/asciinema.changes  2016-04-30 
23:29:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.asciinema.new/asciinema.changes 2016-07-14 
09:50:48.0 +0200
@@ -1,0 +2,7 @@
+Wed Jul 13 17:00:28 UTC 2016 - avvi...@yandex.by
+
+- Upadate to 1.3.0:
+  * see: /usr/share/doc/packages/asciinema/CHANGELOG 
+- Create a new spec file for building RPM on Python.
+
+---

Old:

  asciinema-1.2.0.tar.gz
  asciinema-rpmlintrc

New:

  asciinema-1.3.0.tar.gz



Other differences:
--
++ asciinema.spec ++
--- /var/tmp/diff_new_pack.0KZl2r/_old  2016-07-14 09:50:50.0 +0200
+++ /var/tmp/diff_new_pack.0KZl2r/_new  2016-07-14 09:50:50.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package asciinema
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,19 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   asciinema
-Version:1.2.0
+Version:1.3.0
 Release:0
 Summary:Terminal session recorder 
-Group:  Productivity/Networking/Other
 License:GPL-3.0+
-Url:https://asciinema.org/
-Source0:
https://github.com/asciinema/asciinema/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Source1:asciinema-rpmlintrc
-BuildRequires:  python-base
-BuildRequires:  go >= 1.3.1
-BuildRequires:  golang-packaging
-ExclusiveArch:  %{ix86} x86_64
+Group:  Productivity/Networking/Other
+Url:https://asciinema.org
+Source: 
https://github.com/asciinema/asciinema/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildArch:  noarch
 
 %description
 Record of terminal sessions and sharing them on the web.
@@ -36,20 +36,19 @@
 %setup -q
 
 %build
-%goprep github.com/asciinema/asciinema
-%gobuild ...
+python3 setup.py build
 
 %install
-install -m755 %{_builddir}/go/bin/* %{buildroot}%{_bindir}
-install -Dm644 {man/,%{buildroot}%{_mandir}/man1/}%{name}.1
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%check
-%gotest github.com/asciinema/asciinema
+install -Dm644 {man/,%{buildroot}%{_mandir}/man1/}%{name}.1
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc CHANGELOG* LICENSE
 %{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1%{ext_info}
+%{python3_sitelib}/%{name}/
+%{python3_sitelib}/%{name}-%{version}*
+%{_mandir}/man?/%{name}.?%{ext_info}
 
 %changelog

++ asciinema-1.2.0.tar.gz -> asciinema-1.3.0.tar.gz ++
 207880 lines of diff (skipped)