Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
master
Branches (3)
master
20.09
openEuler-20.09
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
The license selected for the repository is subject to the license used by the main branch of the repository.
master
Branches (3)
master
20.09
openEuler-20.09
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
master
Branches (3)
master
20.09
openEuler-20.09
python-num2words
/
python-num2words.spec
python-num2words
/
python-num2words.spec
python-num2words.spec 2.58 KB
Copy Edit Raw Blame History
jin authored 2025年08月05日 16:29 +08:00 . Update package to version 0.5.14
%global _empty_manifest_terminate_build 0
Name: python-num2words
Version: 0.5.14
Release: 1
Summary: Modules to convert numbers
License: LGPL-2.1-only
URL: https://github.com/savoirfairelinux/num2words
Source0: https://files.pythonhosted.org/packages/source/n/num2words/num2words-%{version}.tar.gz
BuildArch: noarch
%description
A library that converts numbers to words
%package -n python3-num2words
Summary: Modules to convert numbers to words. Easily extensible.
Provides: python-num2words = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-docopt
%description -n python3-num2words
A library that converts numbers to words
%package help
Summary: Development documents and examples for num2words
Provides: python3-num2words-doc
%description help
A library that converts numbers to words
%prep
%autosetup -n num2words-%{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-num2words -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Aug 05 2025 jinshuaiyu <jinshuaiyu@kylinos.cn> - 0.5.14-1
- Update package to version 0.5.14
- Fixed a typo in PL
- Add catalan language support
* Thu Nov 28 2024 jinshuaiyu <jinshuaiyu@kylinos.cn> - 0.5.13-1
- Update package to version 0.5.13
- Fixed a typo in PL
- Run tests against Python 3.12
- Add catalan language support
* Wed Nov 16 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.5.12-1
- Update package to version 0.5.12
* Mon May 9 2022 yaoxin <yaoxin30@h-partners.com> - 0.5.10-3
- License compliance rectification
* Tue Apr 19 2022 huangduirong <huangduirong@huawei.com> - 0.5.10-2
- Update License to LGPL-2.1
* Sat Jul 10 2021 Python_Bot <Python_Bot@openeuler.org> - 0.5.10-1
- Package Spec generated
Loading...
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

本项目已经迁移至 AtomGit || This project has been migrated to AtomGit || Linked: https://atomgit.com/src-openeuler/python-num2words
Cancel

Releases

No release

The Open Source Evaluation Index is derived from the OSS Compass evaluation system, which evaluates projects around the following three dimensions

1. Open source ecosystem

  • Productivity: To evaluate the ability of open-source projects to output software artifacts and open-source value.
  • Innovation: Used to evaluate the degree of diversity of open source software and its ecosystem.
  • Robustness: Used to evaluate the ability of open-source projects to resist internal and external interference and self recover in the face of changing development environments.

2. Collaboration, People, Software

  • Collaboration: represents the degree and depth of collaboration in open source development behavior.
  • Observe the influence of core personnel in open source projects, and examine the evaluations of users and developers on open source projects from a third-party perspective.
  • Software: Evaluate the value of products exported from open-source projects and their ultimate destination. It is also a concrete manifestation of "open source software", one of the oldest mainstream directions in open source evaluation.

3. Evaluation model

    Based on the dimensions of "open source ecosystem" and "collaboration, people, and software", identify quantifiable indicators directly or indirectly related to this goal, quantitatively evaluate the health and ecology of open source projects, and ultimately form an open source evaluation index.

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-num2words.git
git@gitee.com:src-openeuler/python-num2words.git
src-openeuler
python-num2words
python-num2words
master
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /