summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 05:10:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 05:10:41 +0000
commit44cbb4f167ff2df8828b2046f8fdde00185acc54 (patch)
treedb87f8687a3b72563a986e485102be79d829fb7d
parent24bc887dd6199b2507a4d877faf72b6777a92041 (diff)
automatic import of python-ci-scripts
-rw-r--r--.gitignore1
-rw-r--r--python-ci-scripts.spec144
-rw-r--r--sources1
3 files changed, 146 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ae604f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ci-scripts-1.19.0.tar.gz
diff --git a/python-ci-scripts.spec b/python-ci-scripts.spec
new file mode 100644
index 0000000..da508db
--- /dev/null
+++ b/python-ci-scripts.spec
@@ -0,0 +1,144 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ci-scripts
+Version: 1.19.0
+Release: 1
+Summary: Scripts to streamline Gitlab CI builds
+License: GNU GPL3
+URL: https://gitlab.namibsun.net/namibsun/python/ci-scripts
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/51/57/c79c467fba75ca6f8e58af363afbe487495c9854bfb38822d7c168c350ab/ci-scripts-1.19.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-typing
+Requires: python3-colorama
+
+%description
+# CI Scripts
+
+|master|develop|
+|:---:|:---:|
+|[![build status](https://gitlab.namibsun.net/namibsun/python/ci-scripts/badges/master/build.svg)](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/master)|[![build status](https://gitlab.namibsun.net/namibsun/python/ci-scripts/badges/develop/build.svg)](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/develop)|
+
+
+![Logo](resources/logo/logo-readme.png)
+
+This project contains various scripts for use with Gitlab CI.
+For an overview of which scripts are available, have a look
+[here](bin)
+
+## Further Information
+
+* [Changelog](CHANGELOG)
+* [License (GPLv3)](LICENSE)
+* [Gitlab](https://gitlab.namibsun.net/namibsun/python/ci-scripts)
+* [Github](https://github.com/namboy94/ci-scripts)
+* [Progstats](https://progstats.namibsun.net/projects/ci-scripts)
+* [PyPi](https://pypi.org/project/ci-scripts)
+
+
+
+
+%package -n python3-ci-scripts
+Summary: Scripts to streamline Gitlab CI builds
+Provides: python-ci-scripts
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ci-scripts
+# CI Scripts
+
+|master|develop|
+|:---:|:---:|
+|[![build status](https://gitlab.namibsun.net/namibsun/python/ci-scripts/badges/master/build.svg)](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/master)|[![build status](https://gitlab.namibsun.net/namibsun/python/ci-scripts/badges/develop/build.svg)](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/develop)|
+
+
+![Logo](resources/logo/logo-readme.png)
+
+This project contains various scripts for use with Gitlab CI.
+For an overview of which scripts are available, have a look
+[here](bin)
+
+## Further Information
+
+* [Changelog](CHANGELOG)
+* [License (GPLv3)](LICENSE)
+* [Gitlab](https://gitlab.namibsun.net/namibsun/python/ci-scripts)
+* [Github](https://github.com/namboy94/ci-scripts)
+* [Progstats](https://progstats.namibsun.net/projects/ci-scripts)
+* [PyPi](https://pypi.org/project/ci-scripts)
+
+
+
+
+%package help
+Summary: Development documents and examples for ci-scripts
+Provides: python3-ci-scripts-doc
+%description help
+# CI Scripts
+
+|master|develop|
+|:---:|:---:|
+|[![build status](https://gitlab.namibsun.net/namibsun/python/ci-scripts/badges/master/build.svg)](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/master)|[![build status](https://gitlab.namibsun.net/namibsun/python/ci-scripts/badges/develop/build.svg)](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/develop)|
+
+
+![Logo](resources/logo/logo-readme.png)
+
+This project contains various scripts for use with Gitlab CI.
+For an overview of which scripts are available, have a look
+[here](bin)
+
+## Further Information
+
+* [Changelog](CHANGELOG)
+* [License (GPLv3)](LICENSE)
+* [Gitlab](https://gitlab.namibsun.net/namibsun/python/ci-scripts)
+* [Github](https://github.com/namboy94/ci-scripts)
+* [Progstats](https://progstats.namibsun.net/projects/ci-scripts)
+* [PyPi](https://pypi.org/project/ci-scripts)
+
+
+
+
+%prep
+%autosetup -n ci-scripts-1.19.0
+
+%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-ci-scripts -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 1.19.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e051fc1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1b3d0911d5ff2b6e5a2af10fba9203f6 ci-scripts-1.19.0.tar.gz