summaryrefslogtreecommitdiff
path: root/python-geonomics.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:33:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:33:43 +0000
commit05047d0512d865c87e86fbc203d3e88d96da8c42 (patch)
treeb0db276aa5a7505a2a9301b0ea184e3e1305d32d /python-geonomics.spec
parenta1e1e32e88c51a2010aea4a315854ac0bc57ab2e (diff)
automatic import of python-geonomics
Diffstat (limited to 'python-geonomics.spec')
-rw-r--r--python-geonomics.spec140
1 files changed, 140 insertions, 0 deletions
diff --git a/python-geonomics.spec b/python-geonomics.spec
new file mode 100644
index 0000000..ee7b14f
--- /dev/null
+++ b/python-geonomics.spec
@@ -0,0 +1,140 @@
+%global _empty_manifest_terminate_build 0
+Name: python-geonomics
+Version: 1.3.9
+Release: 1
+Summary: A package for landscape genomic simulation
+License: MIT License
+URL: https://github.com/drewhart/geonomics
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/80/82/e545df016dfa7e1b900fe0091478c415642ddeca0577b6b8b9f341ae428a/geonomics-1.3.9.tar.gz
+BuildArch: noarch
+
+Requires: python3-pykrige
+Requires: python3-nlmpy
+
+%description
+The following is a short list of highlights. For the full monty, please see
+the `homepage <https://github.com/drewhart/geonomics>`_,
+the `docs <https://geonomics.readthedocs.org>`_,
+and the `original methods paper <PAPER_URL_HERE>`_.
+ - a model object, which serves as the primary user interface and which
+ contains all other model components
+ - a landscape object consisting of an arbitrary number of environmental
+ raster layers
+ - a community object consisting of an arbitrary number of species objects,
+ each consisting of an arbitrary number of individuals
+ - an optional genomic-architecture object, upon which individuals' genomes
+ are based
+ - spatialized logistic growth regulating local population densities
+ - the capability to model realistic movement and offspring dispersal
+ across conductance surfaces
+ - neutral and non-neutral evolution capabilities, with spatially contingent
+ selection
+ - demographic- and environmental-change capabilities
+ - the capability to run an arbitrary number of iterations of a model
+ - the capability to sample data and a variety of statistics at any desired
+ timesteps during a model run
+ - numerous visualization methods to aid in model design, exploration,
+ analysis, and presentation
+
+%package -n python3-geonomics
+Summary: A package for landscape genomic simulation
+Provides: python-geonomics
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-geonomics
+The following is a short list of highlights. For the full monty, please see
+the `homepage <https://github.com/drewhart/geonomics>`_,
+the `docs <https://geonomics.readthedocs.org>`_,
+and the `original methods paper <PAPER_URL_HERE>`_.
+ - a model object, which serves as the primary user interface and which
+ contains all other model components
+ - a landscape object consisting of an arbitrary number of environmental
+ raster layers
+ - a community object consisting of an arbitrary number of species objects,
+ each consisting of an arbitrary number of individuals
+ - an optional genomic-architecture object, upon which individuals' genomes
+ are based
+ - spatialized logistic growth regulating local population densities
+ - the capability to model realistic movement and offspring dispersal
+ across conductance surfaces
+ - neutral and non-neutral evolution capabilities, with spatially contingent
+ selection
+ - demographic- and environmental-change capabilities
+ - the capability to run an arbitrary number of iterations of a model
+ - the capability to sample data and a variety of statistics at any desired
+ timesteps during a model run
+ - numerous visualization methods to aid in model design, exploration,
+ analysis, and presentation
+
+%package help
+Summary: Development documents and examples for geonomics
+Provides: python3-geonomics-doc
+%description help
+The following is a short list of highlights. For the full monty, please see
+the `homepage <https://github.com/drewhart/geonomics>`_,
+the `docs <https://geonomics.readthedocs.org>`_,
+and the `original methods paper <PAPER_URL_HERE>`_.
+ - a model object, which serves as the primary user interface and which
+ contains all other model components
+ - a landscape object consisting of an arbitrary number of environmental
+ raster layers
+ - a community object consisting of an arbitrary number of species objects,
+ each consisting of an arbitrary number of individuals
+ - an optional genomic-architecture object, upon which individuals' genomes
+ are based
+ - spatialized logistic growth regulating local population densities
+ - the capability to model realistic movement and offspring dispersal
+ across conductance surfaces
+ - neutral and non-neutral evolution capabilities, with spatially contingent
+ selection
+ - demographic- and environmental-change capabilities
+ - the capability to run an arbitrary number of iterations of a model
+ - the capability to sample data and a variety of statistics at any desired
+ timesteps during a model run
+ - numerous visualization methods to aid in model design, exploration,
+ analysis, and presentation
+
+%prep
+%autosetup -n geonomics-1.3.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-geonomics -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.9-1
+- Package Spec generated