summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-mario.spec103
-rw-r--r--sources1
3 files changed, 105 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b953902 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mario-0.0.154.tar.gz
diff --git a/python-mario.spec b/python-mario.spec
new file mode 100644
index 0000000..b054180
--- /dev/null
+++ b/python-mario.spec
@@ -0,0 +1,103 @@
+%global _empty_manifest_terminate_build 0
+Name: python-mario
+Version: 0.0.154
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: GPL-3.0
+URL: https://pypi.org/project/mario/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/78/34/56d717faa23e6ffc4867f6bbfd71a7de04c91059909883f3c78c93103591/mario-0.0.154.tar.gz
+BuildArch: noarch
+
+Requires: python3-click
+Requires: python3-attrs
+Requires: python3-parso
+Requires: python3-bump2version
+Requires: python3-trio
+Requires: python3-async_generator
+Requires: python3-async_exit_stack
+Requires: python3-appdirs
+Requires: python3-toml
+Requires: python3-asks
+Requires: python3-marshmallow
+Requires: python3-trio_typing
+Requires: python3-docutils
+Requires: python3-pytest
+Requires: python3-importlib_metadata
+Requires: python3-xmltodict
+Requires: python3-pyyaml
+Requires: python3-pyrsistent
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-sphinx-autodoc-typehints
+Requires: python3-sphinx-click
+Requires: python3-marshmallow-jsonschema
+Requires: python3-sphinx-jsonschema
+Requires: python3-toolz
+
+%description
+Use ``eval`` to evaluate a Python expression.
+ % mario eval 'datetime.datetime.utcnow()'
+ 2019-01-01 01:23:45.562736
+
+%package -n python3-mario
+Summary: please add a summary manually as the author left a blank one
+Provides: python-mario
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-mario
+Use ``eval`` to evaluate a Python expression.
+ % mario eval 'datetime.datetime.utcnow()'
+ 2019-01-01 01:23:45.562736
+
+%package help
+Summary: Development documents and examples for mario
+Provides: python3-mario-doc
+%description help
+Use ``eval`` to evaluate a Python expression.
+ % mario eval 'datetime.datetime.utcnow()'
+ 2019-01-01 01:23:45.562736
+
+%prep
+%autosetup -n mario-0.0.154
+
+%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-mario -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.154-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c32259e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e18569dc7fa350965438a6db58cd5fd1 mario-0.0.154.tar.gz