summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 04:50:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 04:50:47 +0000
commit5a3db9d58f3168306a5f1e94eddb33d94a62b438 (patch)
treecc7751032d21106021afafa2aee99394b8c6779f
parenta6381bfa26619c96b46b41298bf9105162eeb682 (diff)
automatic import of python-cuppaopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-cuppa.spec129
-rw-r--r--sources1
3 files changed, 131 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..bf28f0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cuppa-0.9.103.tar.gz
diff --git a/python-cuppa.spec b/python-cuppa.spec
new file mode 100644
index 0000000..97031be
--- /dev/null
+++ b/python-cuppa.spec
@@ -0,0 +1,129 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cuppa
+Version: 0.9.103
+Release: 1
+Summary: Cuppa, an extension package to simplify and extend Scons
+License: Boost Software License 1.0 - http://www.boost.org/LICENSE_1_0.txt
+URL: https://github.com/ja11sop/cuppa
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/36/39/9f7dea54b6cb33db30aa9381345dd1d3ca720a3994d44a7d659b7691a0a6/cuppa-0.9.103.tar.gz
+BuildArch: noarch
+
+Requires: python3-colorama
+Requires: python3-gcovr
+Requires: python3-grip
+Requires: python3-jinja2
+Requires: python3-lxml
+Requires: python3-psutil
+Requires: python3-pyscss
+Requires: python3-six
+Requires: python3-pyyaml
+
+%description
+A simple, extensible build system for use with
+`Scons <http://www.scons.org/>`__. **Cuppa** is designed to leverage the
+capabilities of Scons, while allowing developers to focus on the task of
+describing what needs to be built. In general **cuppa** supports
+``make`` like usage on the command-line. That is developers can simply
+write:
+ scons -D
+and have Scons "do the right thing"; building targets for any
+``sconscript`` files found in the current directory.
+**Cuppa** can be installed as a normal python package or installed
+locally into a ``site_scons`` directory allowing it to be effortlessly
+integrated into any Scons setup.
+ Note: ``-D`` tells ``scons`` to look for an ``sconstruct`` file in
+ the current or in parent directories and if it finds one execute the
+ ``sconscript`` files as if called from that directory. This ensures
+ everything works as expected. For more details refer to the `Scons
+ documentation <http://www.scons.org/documentation.php>`__
+
+%package -n python3-cuppa
+Summary: Cuppa, an extension package to simplify and extend Scons
+Provides: python-cuppa
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cuppa
+A simple, extensible build system for use with
+`Scons <http://www.scons.org/>`__. **Cuppa** is designed to leverage the
+capabilities of Scons, while allowing developers to focus on the task of
+describing what needs to be built. In general **cuppa** supports
+``make`` like usage on the command-line. That is developers can simply
+write:
+ scons -D
+and have Scons "do the right thing"; building targets for any
+``sconscript`` files found in the current directory.
+**Cuppa** can be installed as a normal python package or installed
+locally into a ``site_scons`` directory allowing it to be effortlessly
+integrated into any Scons setup.
+ Note: ``-D`` tells ``scons`` to look for an ``sconstruct`` file in
+ the current or in parent directories and if it finds one execute the
+ ``sconscript`` files as if called from that directory. This ensures
+ everything works as expected. For more details refer to the `Scons
+ documentation <http://www.scons.org/documentation.php>`__
+
+%package help
+Summary: Development documents and examples for cuppa
+Provides: python3-cuppa-doc
+%description help
+A simple, extensible build system for use with
+`Scons <http://www.scons.org/>`__. **Cuppa** is designed to leverage the
+capabilities of Scons, while allowing developers to focus on the task of
+describing what needs to be built. In general **cuppa** supports
+``make`` like usage on the command-line. That is developers can simply
+write:
+ scons -D
+and have Scons "do the right thing"; building targets for any
+``sconscript`` files found in the current directory.
+**Cuppa** can be installed as a normal python package or installed
+locally into a ``site_scons`` directory allowing it to be effortlessly
+integrated into any Scons setup.
+ Note: ``-D`` tells ``scons`` to look for an ``sconstruct`` file in
+ the current or in parent directories and if it finds one execute the
+ ``sconscript`` files as if called from that directory. This ensures
+ everything works as expected. For more details refer to the `Scons
+ documentation <http://www.scons.org/documentation.php>`__
+
+%prep
+%autosetup -n cuppa-0.9.103
+
+%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-cuppa -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.103-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d419464
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c0a0dcaa9b055995912fc9d3bd7c6994 cuppa-0.9.103.tar.gz