summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 09:31:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 09:31:12 +0000
commit089602306c7cdde80815e568ed8be936b40c3046 (patch)
treee8b27408482488f925808ad1b62b916f67149203
parentd5f089fc26b75878d7637c06028d3f839935cec2 (diff)
automatic import of python-syllapy
-rw-r--r--.gitignore1
-rw-r--r--python-syllapy.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5970d71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/syllapy-0.7.2.tar.gz
diff --git a/python-syllapy.spec b/python-syllapy.spec
new file mode 100644
index 0000000..ce6b67b
--- /dev/null
+++ b/python-syllapy.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-syllapy
+Version: 0.7.2
+Release: 1
+Summary: Calculate syllable counts for English words.
+License: MIT
+URL: https://github.com/mholtzscher/syllapy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/29/a1/7bc1ce4852e14ab5f3153262639742ae63fbfa626507dac4ab919a1e5232/syllapy-0.7.2.tar.gz
+BuildArch: noarch
+
+
+%description
+<p>
+ <a href="https://badge.fury.io/py/syllapy"><img src="https://badge.fury.io/py/syllapy.svg" alt="PyPI version"></a>
+ <a href="https://github.com/mholtzscher/syllapy"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Black"></a>
+</p>
+Calculate syllable counts for English words.
+
+%package -n python3-syllapy
+Summary: Calculate syllable counts for English words.
+Provides: python-syllapy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-syllapy
+<p>
+ <a href="https://badge.fury.io/py/syllapy"><img src="https://badge.fury.io/py/syllapy.svg" alt="PyPI version"></a>
+ <a href="https://github.com/mholtzscher/syllapy"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Black"></a>
+</p>
+Calculate syllable counts for English words.
+
+%package help
+Summary: Development documents and examples for syllapy
+Provides: python3-syllapy-doc
+%description help
+<p>
+ <a href="https://badge.fury.io/py/syllapy"><img src="https://badge.fury.io/py/syllapy.svg" alt="PyPI version"></a>
+ <a href="https://github.com/mholtzscher/syllapy"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Black"></a>
+</p>
+Calculate syllable counts for English words.
+
+%prep
+%autosetup -n syllapy-0.7.2
+
+%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-syllapy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..dd0f41f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+828730bfe1fb80d8e3b012836063e22a syllapy-0.7.2.tar.gz