diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 14:53:29 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 14:53:29 +0000 |
commit | 6ef444da242f133b224a638f1cae93aac9138c71 (patch) | |
tree | 6cac8550664fbb36ed39e90d066a292ef48caafc | |
parent | 56753106da076f9fd7e319a992598ca4c5e235d8 (diff) |
automatic import of python-aleat3openeuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aleat3.spec | 219 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 221 insertions, 0 deletions
@@ -0,0 +1 @@ +/aleat3-0.2.9.tar.gz diff --git a/python-aleat3.spec b/python-aleat3.spec new file mode 100644 index 0000000..ae42635 --- /dev/null +++ b/python-aleat3.spec @@ -0,0 +1,219 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aleat3 +Version: 0.2.9 +Release: 1 +Summary: An aleatory syntaxes package. Third generation. +License: MIT License +URL: https://github.com/diddileija/aleat3/blob/main/README.md +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/7d/d304cc1260cdfeaedf141626cad1f2c841224ba887c27a2fdb411d3c927f/aleat3-0.2.9.tar.gz +BuildArch: noarch + + +%description +# Aleatoryous 3 + +This is the 3rth Generation of aleatory objects, built by Diego +Ramirez. + +## Introduction + +The Aleatoryous package allows you to build: + +- Aleatory Syntax objects + - Dice: aleatory.dice + - Coin: aleatory.coin + - Roulette: aleatory.roulette + +By using the [Python](http://python.org) library [random](http://docs.python.org/3.8/library/random), Aleatoryous object can build many solutions +for problems where aleatory numbers or specific output are needed. + +This package is built to be used with Python versions 3.5 to 3.9. + +To enjoy the Aleatoryous materials, you must download the package from the [PyPi](http://pypi.org/project/aleat3#files) +and install it with pip by one of this ways: + +``` +pip install aleat3_[version]_[platform].whl + +pip install aleat3_[version]_[platform].tar.gz +``` + +Also, you can install it with Pip from Internet without downloading: + +``` +pip install aleat3==[version] + +pip install --upgrade aleat3 + +pip install aleat3 +``` + +## To view more + +Check out more docs here: + +- [General documentation](http://DiddiLeija.github.io/aleat3/blob/main/DOCUMENTATION.md) + - Get some useful info about the package, issues, etc. +- [Contributing page](http://DiddiLeija.github.io/aleat3/blob/main/CONTRIBUTING.md) + - Learn about how to contribute to aleat3. +- [Some aleat3 examples](http://DiddiLeija.github.io/aleat3/blob/main/SOLUTIONS.md) + + + + +%package -n python3-aleat3 +Summary: An aleatory syntaxes package. Third generation. +Provides: python-aleat3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aleat3 +# Aleatoryous 3 + +This is the 3rth Generation of aleatory objects, built by Diego +Ramirez. + +## Introduction + +The Aleatoryous package allows you to build: + +- Aleatory Syntax objects + - Dice: aleatory.dice + - Coin: aleatory.coin + - Roulette: aleatory.roulette + +By using the [Python](http://python.org) library [random](http://docs.python.org/3.8/library/random), Aleatoryous object can build many solutions +for problems where aleatory numbers or specific output are needed. + +This package is built to be used with Python versions 3.5 to 3.9. + +To enjoy the Aleatoryous materials, you must download the package from the [PyPi](http://pypi.org/project/aleat3#files) +and install it with pip by one of this ways: + +``` +pip install aleat3_[version]_[platform].whl + +pip install aleat3_[version]_[platform].tar.gz +``` + +Also, you can install it with Pip from Internet without downloading: + +``` +pip install aleat3==[version] + +pip install --upgrade aleat3 + +pip install aleat3 +``` + +## To view more + +Check out more docs here: + +- [General documentation](http://DiddiLeija.github.io/aleat3/blob/main/DOCUMENTATION.md) + - Get some useful info about the package, issues, etc. +- [Contributing page](http://DiddiLeija.github.io/aleat3/blob/main/CONTRIBUTING.md) + - Learn about how to contribute to aleat3. +- [Some aleat3 examples](http://DiddiLeija.github.io/aleat3/blob/main/SOLUTIONS.md) + + + + +%package help +Summary: Development documents and examples for aleat3 +Provides: python3-aleat3-doc +%description help +# Aleatoryous 3 + +This is the 3rth Generation of aleatory objects, built by Diego +Ramirez. + +## Introduction + +The Aleatoryous package allows you to build: + +- Aleatory Syntax objects + - Dice: aleatory.dice + - Coin: aleatory.coin + - Roulette: aleatory.roulette + +By using the [Python](http://python.org) library [random](http://docs.python.org/3.8/library/random), Aleatoryous object can build many solutions +for problems where aleatory numbers or specific output are needed. + +This package is built to be used with Python versions 3.5 to 3.9. + +To enjoy the Aleatoryous materials, you must download the package from the [PyPi](http://pypi.org/project/aleat3#files) +and install it with pip by one of this ways: + +``` +pip install aleat3_[version]_[platform].whl + +pip install aleat3_[version]_[platform].tar.gz +``` + +Also, you can install it with Pip from Internet without downloading: + +``` +pip install aleat3==[version] + +pip install --upgrade aleat3 + +pip install aleat3 +``` + +## To view more + +Check out more docs here: + +- [General documentation](http://DiddiLeija.github.io/aleat3/blob/main/DOCUMENTATION.md) + - Get some useful info about the package, issues, etc. +- [Contributing page](http://DiddiLeija.github.io/aleat3/blob/main/CONTRIBUTING.md) + - Learn about how to contribute to aleat3. +- [Some aleat3 examples](http://DiddiLeija.github.io/aleat3/blob/main/SOLUTIONS.md) + + + + +%prep +%autosetup -n aleat3-0.2.9 + +%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-aleat3 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.9-1 +- Package Spec generated @@ -0,0 +1 @@ +668dc491bc27b702ca13669d6a848b6e aleat3-0.2.9.tar.gz |