diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-airpg.spec | 175 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 177 insertions, 0 deletions
@@ -0,0 +1 @@ +/airpg-1.1.4.tar.gz diff --git a/python-airpg.spec b/python-airpg.spec new file mode 100644 index 0000000..e21b617 --- /dev/null +++ b/python-airpg.spec @@ -0,0 +1,175 @@ +%global _empty_manifest_terminate_build 0 +Name: python-airpg +Version: 1.1.4 +Release: 1 +Summary: A package to automatically access the inverted repeats of archived plastid genomes +License: GPLv3 +URL: https://github.com/michaelgruenstaeudl/airpg +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/30/24/14b2fcc1d3e9ad96632cd7348c4428faa5f7d422ae09bc1ac5dbbdeb5218/airpg-1.1.4.tar.gz +BuildArch: noarch + +Requires: python3-biopython +Requires: python3-ete3 +Requires: python3-entrezpy +Requires: python3-pandas +Requires: python3-fuzzywuzzy +Requires: python3-coloredlogs +Requires: python3-Levenshtein + +%description +[](https://travis-ci.com/michaelgruenstaeudl/airpg) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +A Python package for automatically accessing the inverted repeats of thousands of plastid genomes stored on NCBI Nucleotide +## INSTALLATION +To get the most recent stable version of *airpg*, run: + pip install airpg +Or, alternatively, if you want to get the latest development version of *airpg*, run: + pip install git+https://github.com/michaelgruenstaeudl/airpg.git +## EXAMPLE USAGE +### [Tutorial 1](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial1.md): Very short survey (runtime ca. 5 min.; for the impatient) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide within the past 10 days. +### [Tutorial 2](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial2.md): Short survey (runtime ca. 15 min.; for testing) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide within the current month. +### [Tutorial 3](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial3.md): Medium survey (runtime ca. 5 hours) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide in 2019 only. Note: The results of this survey are available on Zenodo via DOI [10.5281/zenodo.4335906](https://zenodo.org/record/4335906) +### [Tutorial 4](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial4.md): Full survey (runtime ca. 19 hours; with explanations) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide from January 2000 until, and including, December 2020. Note: The results of this survey are available on Zenodo via DOI [10.5281/zenodo.4335906](https://zenodo.org/record/4335906) +<!-- +## PACKAGING INSTRUCTIONS +``` +#pip install . ## For local testing +python3 -m build +python3 -m twine upload --repository testpypi dist/* +python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps airpg +python3 -m twine upload dist/* +python3 -m pip install airpg +``` +--> +## CHANGELOG +See [`CHANGELOG.md`](CHANGELOG.md) for a list of recent changes to the software. + +%package -n python3-airpg +Summary: A package to automatically access the inverted repeats of archived plastid genomes +Provides: python-airpg +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-airpg +[](https://travis-ci.com/michaelgruenstaeudl/airpg) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +A Python package for automatically accessing the inverted repeats of thousands of plastid genomes stored on NCBI Nucleotide +## INSTALLATION +To get the most recent stable version of *airpg*, run: + pip install airpg +Or, alternatively, if you want to get the latest development version of *airpg*, run: + pip install git+https://github.com/michaelgruenstaeudl/airpg.git +## EXAMPLE USAGE +### [Tutorial 1](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial1.md): Very short survey (runtime ca. 5 min.; for the impatient) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide within the past 10 days. +### [Tutorial 2](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial2.md): Short survey (runtime ca. 15 min.; for testing) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide within the current month. +### [Tutorial 3](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial3.md): Medium survey (runtime ca. 5 hours) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide in 2019 only. Note: The results of this survey are available on Zenodo via DOI [10.5281/zenodo.4335906](https://zenodo.org/record/4335906) +### [Tutorial 4](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial4.md): Full survey (runtime ca. 19 hours; with explanations) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide from January 2000 until, and including, December 2020. Note: The results of this survey are available on Zenodo via DOI [10.5281/zenodo.4335906](https://zenodo.org/record/4335906) +<!-- +## PACKAGING INSTRUCTIONS +``` +#pip install . ## For local testing +python3 -m build +python3 -m twine upload --repository testpypi dist/* +python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps airpg +python3 -m twine upload dist/* +python3 -m pip install airpg +``` +--> +## CHANGELOG +See [`CHANGELOG.md`](CHANGELOG.md) for a list of recent changes to the software. + +%package help +Summary: Development documents and examples for airpg +Provides: python3-airpg-doc +%description help +[](https://travis-ci.com/michaelgruenstaeudl/airpg) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +[](https://pypi.python.org/pypi/airpg/) +A Python package for automatically accessing the inverted repeats of thousands of plastid genomes stored on NCBI Nucleotide +## INSTALLATION +To get the most recent stable version of *airpg*, run: + pip install airpg +Or, alternatively, if you want to get the latest development version of *airpg*, run: + pip install git+https://github.com/michaelgruenstaeudl/airpg.git +## EXAMPLE USAGE +### [Tutorial 1](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial1.md): Very short survey (runtime ca. 5 min.; for the impatient) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide within the past 10 days. +### [Tutorial 2](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial2.md): Short survey (runtime ca. 15 min.; for testing) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide within the current month. +### [Tutorial 3](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial3.md): Medium survey (runtime ca. 5 hours) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide in 2019 only. Note: The results of this survey are available on Zenodo via DOI [10.5281/zenodo.4335906](https://zenodo.org/record/4335906) +### [Tutorial 4](https://github.com/michaelgruenstaeudl/airpg/tree/main/airpg/tutorials/tutorial4.md): Full survey (runtime ca. 19 hours; with explanations) +Survey of all plastid genomes of flowering plants submitted to NCBI Nucleotide from January 2000 until, and including, December 2020. Note: The results of this survey are available on Zenodo via DOI [10.5281/zenodo.4335906](https://zenodo.org/record/4335906) +<!-- +## PACKAGING INSTRUCTIONS +``` +#pip install . ## For local testing +python3 -m build +python3 -m twine upload --repository testpypi dist/* +python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps airpg +python3 -m twine upload dist/* +python3 -m pip install airpg +``` +--> +## CHANGELOG +See [`CHANGELOG.md`](CHANGELOG.md) for a list of recent changes to the software. + +%prep +%autosetup -n airpg-1.1.4 + +%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-airpg -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.4-1 +- Package Spec generated @@ -0,0 +1 @@ +f4aac4f439fda05b251f75b07d7c7bb2 airpg-1.1.4.tar.gz |