From 6ef444da242f133b224a638f1cae93aac9138c71 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 14:53:29 +0000 Subject: automatic import of python-aleat3 --- .gitignore | 1 + python-aleat3.spec | 219 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 221 insertions(+) create mode 100644 python-aleat3.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..b5519d9 100644 --- a/.gitignore +++ b/.gitignore @@ -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 - 0.2.9-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..17e7984 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +668dc491bc27b702ca13669d6a848b6e aleat3-0.2.9.tar.gz -- cgit v1.2.3