summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 04:14:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 04:14:08 +0000
commit2c28244bf62cdc8d32ae69cfa454acccdd7c9478 (patch)
tree8c9093aa7a1187a9402ff10dd12f32d2c0952d7f
parentf7a090e47a3a19000abd40dc3e12b74072303730 (diff)
automatic import of python-airpg
-rw-r--r--.gitignore1
-rw-r--r--python-airpg.spec175
-rw-r--r--sources1
3 files changed, 177 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..47ff6a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
+[![Build Status](https://travis-ci.com/michaelgruenstaeudl/airpg.svg?branch=master)](https://travis-ci.com/michaelgruenstaeudl/airpg)
+[![PyPI status](https://img.shields.io/pypi/status/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI pyversions](https://img.shields.io/pypi/pyversions/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI version shields.io](https://img.shields.io/pypi/v/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI license](https://img.shields.io/pypi/l/airpg.svg)](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
+[![Build Status](https://travis-ci.com/michaelgruenstaeudl/airpg.svg?branch=master)](https://travis-ci.com/michaelgruenstaeudl/airpg)
+[![PyPI status](https://img.shields.io/pypi/status/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI pyversions](https://img.shields.io/pypi/pyversions/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI version shields.io](https://img.shields.io/pypi/v/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI license](https://img.shields.io/pypi/l/airpg.svg)](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
+[![Build Status](https://travis-ci.com/michaelgruenstaeudl/airpg.svg?branch=master)](https://travis-ci.com/michaelgruenstaeudl/airpg)
+[![PyPI status](https://img.shields.io/pypi/status/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI pyversions](https://img.shields.io/pypi/pyversions/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI version shields.io](https://img.shields.io/pypi/v/airpg.svg)](https://pypi.python.org/pypi/airpg/)
+[![PyPI license](https://img.shields.io/pypi/l/airpg.svg)](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
diff --git a/sources b/sources
new file mode 100644
index 0000000..c35683c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f4aac4f439fda05b251f75b07d7c7bb2 airpg-1.1.4.tar.gz