diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-17 05:10:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 05:10:41 +0000 |
commit | 44cbb4f167ff2df8828b2046f8fdde00185acc54 (patch) | |
tree | db87f8687a3b72563a986e485102be79d829fb7d | |
parent | 24bc887dd6199b2507a4d877faf72b6777a92041 (diff) |
automatic import of python-ci-scripts
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-ci-scripts.spec | 144 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 146 insertions, 0 deletions
@@ -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| +|:---:|:---:| +|[](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/master)|[](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/develop)| + + + + +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| +|:---:|:---:| +|[](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/master)|[](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/develop)| + + + + +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| +|:---:|:---:| +|[](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/master)|[](https://gitlab.namibsun.net/namibsun/python/ci-scripts/commits/develop)| + + + + +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 @@ -0,0 +1 @@ +1b3d0911d5ff2b6e5a2af10fba9203f6 ci-scripts-1.19.0.tar.gz |