terjeros pushed to python-curtsies (f22). "Initial import (#1206295)."
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun Mar 29 12:15:07 UTC 2015
>From 695744f61638471abdc8a0a15e37379078f8a713 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Terje=20R=C3=B8sten?= <terje.rosten at ntnu.no>
Date: Sun, 29 Mar 2015 14:04:50 +0200
Subject: Initial import (#1206295).
diff --git a/.gitignore b/.gitignore
index e69de29..088b9aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/curtsies-0.1.19.tar.gz
diff --git a/python-curtsies.spec b/python-curtsies.spec
new file mode 100644
index 0000000..8e32957
--- /dev/null
+++ b/python-curtsies.spec
@@ -0,0 +1,92 @@
+%global with_python3 1
+
+Summary: Curses-like terminal wrapper, with colored strings
+Name: python-curtsies
+Version: 0.1.19
+Release: 1%{?dist}
+License: MIT
+Group: Development/Tools
+URL: https://github.com/thomasballinger/curtsies
+Source0: https://pypi.python.org/packages/source/c/curtsies/curtsies-%{version}.tar.gz
+BuildArch: noarch
+Requires: python-blessings
+BuildRequires: python-devel
+BuildRequires: python-tools
+BuildRequires: python-setuptools
+%if 0%{?with_python3}
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%endif
+
+%description
+Curtsies is curses-like terminal wrapper, can be to annotate portions
+of strings with terminal colors and formatting.
+
+Most terminals will display text in color if you use ANSI escape codes
+- curtsies makes rendering such text to the terminal easy. Curtsies
+assumes use of an VT-100 compatible terminal: unlike curses, it has no
+compatibility layer for other types of terminals.
+
+%if 0%{?with_python3}
+%package -n python3-curtsies
+Summary: Curses-like terminal wrapper, with colored strings
+Group: Development/Tools
+Requires: python3-blessings
+
+%description -n python3-curtsies
+Curtsies is curses-like terminal wrapper, can be to annotate portions
+of strings with terminal colors and formatting.
+
+Most terminals will display text in color if you use ANSI escape codes
+- curtsies makes rendering such text to the terminal easy. Curtsies
+assumes use of an VT-100 compatible terminal: unlike curses, it has no
+compatibility layer for other types of terminals.
+
+This is the Python 3 version of python-curtsies.
+%endif
+
+%prep
+%setup -q -n curtsies-%{version}
+%if 0%{?with_python3}
+rm -rf %{py3dir}
+cp -a . %{py3dir}
+%endif
+
+%build
+%{__python2} setup.py build
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py build
+popd
+%endif
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+popd
+%endif
+
+%files
+%doc LICENSE readme.md
+%{python_sitelib}/curtsies
+%{python_sitelib}/curtsies-*-py*.egg-info
+
+%if 0%{?with_python3}
+%files -n python3-curtsies
+%doc LICENSE readme.md
+%{python3_sitelib}/curtsies
+%{python3_sitelib}/curtsies-*-py*.egg-info
+%endif
+
+%changelog
+* Thu Mar 26 2015 Terje Rosten <terje.rosten at ntnu.no> - 0.1.19-1
+- 0.1.19
+- bpython needs < 0.2
+
+* Tue Jan 13 2015 Terje Rosten <terje.rosten at ntnu.no> - 0.2.0-1
+- 0.2.0
+
+* Wed May 28 2014 Terje Rosten <terje.rosten at ntnu.no> - 0.0.32-1
+- initial package
diff --git a/sources b/sources
index e69de29..009db82 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4684006227e547072b0b328fd9cfa731 curtsies-0.1.19.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-curtsies.git/commit/?h=f22&id=695744f61638471abdc8a0a15e37379078f8a713
More information about the scm-commits
mailing list