summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-17 08:31:57 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-17 08:31:57 +0000
commit8db1c761a0065226136303f6c0c5a4b8b52e66f9 (patch)
tree16ff69f4c75564333b54bf950b3a461937421d24
parenta2266bcb5a057cc14481aa2f12a1007082696957 (diff)
automatic import of python-blessedopeneuler24.03_LTS_SP1
-rw-r--r--.gitignore1
-rw-r--r--python-blessed.spec85
-rw-r--r--sources1
3 files changed, 87 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..537856e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/blessed-1.20.0.tar.gz
diff --git a/python-blessed.spec b/python-blessed.spec
new file mode 100644
index 0000000..961a1da
--- /dev/null
+++ b/python-blessed.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-blessed
+Version: 1.20.0
+Release: 1
+Summary: Easy, practical library for making terminal apps, by providing an elegant, well-documented interface to Colors, Keyboard input, and screen Positioning capabilities.
+License: MIT
+URL: https://github.com/jquast/blessed
+Source0: https://files.pythonhosted.org/packages/25/ae/92e9968ad23205389ec6bd82e2d4fca3817f1cdef34e10aa8d529ef8b1d7/blessed-1.20.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-wcwidth
+Requires: python3-six
+Requires: python3-jinxed
+Requires: python3-ordereddict
+
+%description
+Blessed is an easy, practical library for making python terminal apps
+
+%package -n python3-blessed
+Summary: Easy, practical library for making terminal apps, by providing an elegant, well-documented interface to Colors, Keyboard input, and screen Positioning capabilities.
+Provides: python-blessed
+BuildRequires: python3-devel
+BuildRequires: zlib >= 1.2.11
+BuildRequires: python3-setuptools
+%description -n python3-blessed
+Blessed is an easy, practical library for making python terminal apps
+
+%package help
+Summary: Development documents and examples for blessed
+Provides: python3-blessed-doc
+%description help
+Blessed is an easy, practical library for making python terminal apps
+
+%prep
+%autosetup -n blessed-%{version}
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-blessed -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 2 2023 wubijie <wubijie@kylinos.cn> - 1.20.0-1
+- Update package to version 1.20.0
+
+* Thu Oct 27 2022 wangjunqi <wangjunqi@kylinos.cn> - 1.19.1-1
+- Update package to version 1.19.1
+
+* Fri Apr 22 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.19.0-2
+- Add zlib to buildrequires
+
+* Tue Dec 07 2021 Python_Bot <Python_Bot@openeuler.org> - 1.19.0-1
+- Package Init
diff --git a/sources b/sources
new file mode 100644
index 0000000..89d5976
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a640803116e0273f3ef1178626cb6282 blessed-1.20.0.tar.gz