summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 19:39:09 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 19:39:09 +0000
commit90b908707f37e52e3aaef4a10ad453d31001845c (patch)
tree84125389ff5a72f0541dee3e38dcfb487d3ee0dc
parent204546ff6c1a19fb7dbf0bd46db2b54a77275915 (diff)
automatic import of python-launchable
-rw-r--r--.gitignore1
-rw-r--r--python-launchable.spec370
-rw-r--r--sources1
3 files changed, 372 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..18d1bb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/launchable-1.62.0.tar.gz
diff --git a/python-launchable.spec b/python-launchable.spec
new file mode 100644
index 0000000..fa66212
--- /dev/null
+++ b/python-launchable.spec
@@ -0,0 +1,370 @@
+%global _empty_manifest_terminate_build 0
+Name: python-launchable
+Version: 1.62.0
+Release: 1
+Summary: Launchable CLI
+License: Apache Software License v2
+URL: https://launchableinc.com/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/44/92/482f23bd2084f58720f33b539a0f94e757dd46ede277e59e017619279cea/launchable-1.62.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-urllib3
+Requires: python3-junitparser
+Requires: python3-setuptools
+Requires: python3-dateutil
+Requires: python3-tabulate
+Requires: python3-wmi
+Requires: python3-click
+Requires: python3-requests
+Requires: python3-more-itertools
+Requires: python3-click
+Requires: python3-click
+Requires: python3-requests
+Requires: python3-more-itertools
+
+%description
+# Usage
+
+See https://docs.launchableinc.com/cli-reference and
+https://docs.launchableinc.com/getting-started.
+
+# Development
+
+## Preparation
+
+We recommend Pipenv
+
+```shell
+pip install pipenv==2021.5.29
+pipenv install --dev
+```
+
+Note that you will need to use 2021.5.29 as the Python version is fixed at 3.5,
+and the Pipenv beyond that version won't support Python 3.5 or below.
+
+If you mess up your local pipenv, `pipenv --rm` will revert the operation above.
+
+In order to automatically format files with autopep8, this repository contains a
+configuration for [pre-commit](https://pre-commit.com). Install the hook with
+`pipenv run pre-commit install`.
+
+## Load development environment
+
+```shell
+pipenv shell
+```
+
+## Run tests cli
+
+```shell
+pipenv run test
+```
+
+## Run tests exe_deploy.jar
+
+```
+bazel test ...
+```
+
+## Add dependency
+
+```shell
+pipenv install --dev some-what-module
+```
+
+# How to release
+
+Create new release on Github, then Github Actions automatically uploads the
+module to PyPI.
+
+## How to update launchable/jar/exe_deploy.jar
+
+```
+bazel build //src/main/java/com/launchableinc/ingest/commits:exe_deploy.jar
+cp bazel-bin/src/main/java/com/launchableinc/ingest/commits/exe_deploy.jar launchable/jar/exe_deploy.jar
+ ```
+
+# Installing CLI
+
+You can install the `launchable` command from either source or [pypi](https://pypi.org/project/launchable/).
+
+## Prerequisite
+
+- \>= Python 3.5
+- \>= Java 8
+
+## Install from source
+
+```sh
+$ pwd
+~/cli
+
+$ python setup.py install
+```
+
+## Install from pypi
+
+```sh
+$ pip3 install --user --upgrade launchable~=1.0
+```
+
+## Versioning
+
+This module follows [Semantic versioning](https://semver.org/) such as X.Y.Z.
+
+* Major (X)
+ * Drastic update breaking backward compatibility
+* Minor (Y)
+ * Add new plugins, options with backward compatibility
+* Patch (Z)-
+ * Fix bugs or minor behaviors
+
+
+%package -n python3-launchable
+Summary: Launchable CLI
+Provides: python-launchable
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-launchable
+# Usage
+
+See https://docs.launchableinc.com/cli-reference and
+https://docs.launchableinc.com/getting-started.
+
+# Development
+
+## Preparation
+
+We recommend Pipenv
+
+```shell
+pip install pipenv==2021.5.29
+pipenv install --dev
+```
+
+Note that you will need to use 2021.5.29 as the Python version is fixed at 3.5,
+and the Pipenv beyond that version won't support Python 3.5 or below.
+
+If you mess up your local pipenv, `pipenv --rm` will revert the operation above.
+
+In order to automatically format files with autopep8, this repository contains a
+configuration for [pre-commit](https://pre-commit.com). Install the hook with
+`pipenv run pre-commit install`.
+
+## Load development environment
+
+```shell
+pipenv shell
+```
+
+## Run tests cli
+
+```shell
+pipenv run test
+```
+
+## Run tests exe_deploy.jar
+
+```
+bazel test ...
+```
+
+## Add dependency
+
+```shell
+pipenv install --dev some-what-module
+```
+
+# How to release
+
+Create new release on Github, then Github Actions automatically uploads the
+module to PyPI.
+
+## How to update launchable/jar/exe_deploy.jar
+
+```
+bazel build //src/main/java/com/launchableinc/ingest/commits:exe_deploy.jar
+cp bazel-bin/src/main/java/com/launchableinc/ingest/commits/exe_deploy.jar launchable/jar/exe_deploy.jar
+ ```
+
+# Installing CLI
+
+You can install the `launchable` command from either source or [pypi](https://pypi.org/project/launchable/).
+
+## Prerequisite
+
+- \>= Python 3.5
+- \>= Java 8
+
+## Install from source
+
+```sh
+$ pwd
+~/cli
+
+$ python setup.py install
+```
+
+## Install from pypi
+
+```sh
+$ pip3 install --user --upgrade launchable~=1.0
+```
+
+## Versioning
+
+This module follows [Semantic versioning](https://semver.org/) such as X.Y.Z.
+
+* Major (X)
+ * Drastic update breaking backward compatibility
+* Minor (Y)
+ * Add new plugins, options with backward compatibility
+* Patch (Z)-
+ * Fix bugs or minor behaviors
+
+
+%package help
+Summary: Development documents and examples for launchable
+Provides: python3-launchable-doc
+%description help
+# Usage
+
+See https://docs.launchableinc.com/cli-reference and
+https://docs.launchableinc.com/getting-started.
+
+# Development
+
+## Preparation
+
+We recommend Pipenv
+
+```shell
+pip install pipenv==2021.5.29
+pipenv install --dev
+```
+
+Note that you will need to use 2021.5.29 as the Python version is fixed at 3.5,
+and the Pipenv beyond that version won't support Python 3.5 or below.
+
+If you mess up your local pipenv, `pipenv --rm` will revert the operation above.
+
+In order to automatically format files with autopep8, this repository contains a
+configuration for [pre-commit](https://pre-commit.com). Install the hook with
+`pipenv run pre-commit install`.
+
+## Load development environment
+
+```shell
+pipenv shell
+```
+
+## Run tests cli
+
+```shell
+pipenv run test
+```
+
+## Run tests exe_deploy.jar
+
+```
+bazel test ...
+```
+
+## Add dependency
+
+```shell
+pipenv install --dev some-what-module
+```
+
+# How to release
+
+Create new release on Github, then Github Actions automatically uploads the
+module to PyPI.
+
+## How to update launchable/jar/exe_deploy.jar
+
+```
+bazel build //src/main/java/com/launchableinc/ingest/commits:exe_deploy.jar
+cp bazel-bin/src/main/java/com/launchableinc/ingest/commits/exe_deploy.jar launchable/jar/exe_deploy.jar
+ ```
+
+# Installing CLI
+
+You can install the `launchable` command from either source or [pypi](https://pypi.org/project/launchable/).
+
+## Prerequisite
+
+- \>= Python 3.5
+- \>= Java 8
+
+## Install from source
+
+```sh
+$ pwd
+~/cli
+
+$ python setup.py install
+```
+
+## Install from pypi
+
+```sh
+$ pip3 install --user --upgrade launchable~=1.0
+```
+
+## Versioning
+
+This module follows [Semantic versioning](https://semver.org/) such as X.Y.Z.
+
+* Major (X)
+ * Drastic update breaking backward compatibility
+* Minor (Y)
+ * Add new plugins, options with backward compatibility
+* Patch (Z)-
+ * Fix bugs or minor behaviors
+
+
+%prep
+%autosetup -n launchable-1.62.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-launchable -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.62.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ce9be03
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9cdab317564c23ca0226c8eff75f128a launchable-1.62.0.tar.gz