diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:24:36 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:24:36 +0000 |
| commit | ac9c465af87f68ce42fe616b44b921a6eff1deec (patch) | |
| tree | d06f346c9375184f55a082eaa5098eb66309c797 | |
| parent | ea054814553520a0ce5700433380f1de539cc638 (diff) | |
automatic import of python-pulumi-github
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pulumi-github.spec | 258 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 260 insertions, 0 deletions
@@ -0,0 +1 @@ +/pulumi_github-5.9.0.tar.gz diff --git a/python-pulumi-github.spec b/python-pulumi-github.spec new file mode 100644 index 0000000..df1627b --- /dev/null +++ b/python-pulumi-github.spec @@ -0,0 +1,258 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pulumi-github +Version: 5.9.0 +Release: 1 +Summary: A Pulumi package for creating and managing github cloud resources. +License: Apache-2.0 +URL: https://pulumi.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e9/63/b0bce1ddafc04cc9897ae604621b92c481e6f8a8dc115d7dde0a7cf1986f/pulumi_github-5.9.0.tar.gz +BuildArch: noarch + + +%description +[](https://travis-ci.com/pulumi/pulumi-github) + +# GitHub provider + +The GitHub resource provider for Pulumi lets you use GitHub resources in your infrastructure programs. +To use this package, please [install the Pulumi CLI first](https://pulumi.io/reference/cli/). + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/github + +or `yarn`: + + $ yarn add @pulumi/github + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi-github + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-github/sdk/v5 + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Github + +## Configuration + +The following configuration points are available: + +- `github:token` - (Optional) This is the GitHub personal access token. It can also be sourced from the `GITHUB_TOKEN` + environment variable. If anonymous is false, token is required. +- `github:baseUrl` - (Optional) This is the target GitHub base API endpoint. Providing a value is a requirement when + working with GitHub Enterprise. It is optional to provide this value and it can also be sourced from the `GITHUB_BASE_URL` + environment variable. The value must end with a slash, and generally includes the API version, for instance + `https://github.someorg.example/api/v3/`. +- `github:owner` - (Optional) This is the target GitHub organization or individual user account to manage. For example, + `torvalds` and `github` are valid owners. It is optional to provide this value and it can also be sourced from the + `GITHUB_OWNER` environment variable. When not provided and a token is available, the individual user account owning + the token will be used. When not provided and no token is available, the provider may not function correctly. +- `github:organization` - (Deprecated) This behaves the same as owner, which should be used instead. This value can also + be sourced from the `GITHUB_ORGANIZATION` environment variable. + +## Reference + +For further information, please visit [the GitHub provider docs](https://www.pulumi.com/docs/intro/cloud-providers/github) +or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/github). + + + + +%package -n python3-pulumi-github +Summary: A Pulumi package for creating and managing github cloud resources. +Provides: python-pulumi-github +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pulumi-github +[](https://travis-ci.com/pulumi/pulumi-github) + +# GitHub provider + +The GitHub resource provider for Pulumi lets you use GitHub resources in your infrastructure programs. +To use this package, please [install the Pulumi CLI first](https://pulumi.io/reference/cli/). + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/github + +or `yarn`: + + $ yarn add @pulumi/github + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi-github + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-github/sdk/v5 + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Github + +## Configuration + +The following configuration points are available: + +- `github:token` - (Optional) This is the GitHub personal access token. It can also be sourced from the `GITHUB_TOKEN` + environment variable. If anonymous is false, token is required. +- `github:baseUrl` - (Optional) This is the target GitHub base API endpoint. Providing a value is a requirement when + working with GitHub Enterprise. It is optional to provide this value and it can also be sourced from the `GITHUB_BASE_URL` + environment variable. The value must end with a slash, and generally includes the API version, for instance + `https://github.someorg.example/api/v3/`. +- `github:owner` - (Optional) This is the target GitHub organization or individual user account to manage. For example, + `torvalds` and `github` are valid owners. It is optional to provide this value and it can also be sourced from the + `GITHUB_OWNER` environment variable. When not provided and a token is available, the individual user account owning + the token will be used. When not provided and no token is available, the provider may not function correctly. +- `github:organization` - (Deprecated) This behaves the same as owner, which should be used instead. This value can also + be sourced from the `GITHUB_ORGANIZATION` environment variable. + +## Reference + +For further information, please visit [the GitHub provider docs](https://www.pulumi.com/docs/intro/cloud-providers/github) +or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/github). + + + + +%package help +Summary: Development documents and examples for pulumi-github +Provides: python3-pulumi-github-doc +%description help +[](https://travis-ci.com/pulumi/pulumi-github) + +# GitHub provider + +The GitHub resource provider for Pulumi lets you use GitHub resources in your infrastructure programs. +To use this package, please [install the Pulumi CLI first](https://pulumi.io/reference/cli/). + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/github + +or `yarn`: + + $ yarn add @pulumi/github + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi-github + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-github/sdk/v5 + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Github + +## Configuration + +The following configuration points are available: + +- `github:token` - (Optional) This is the GitHub personal access token. It can also be sourced from the `GITHUB_TOKEN` + environment variable. If anonymous is false, token is required. +- `github:baseUrl` - (Optional) This is the target GitHub base API endpoint. Providing a value is a requirement when + working with GitHub Enterprise. It is optional to provide this value and it can also be sourced from the `GITHUB_BASE_URL` + environment variable. The value must end with a slash, and generally includes the API version, for instance + `https://github.someorg.example/api/v3/`. +- `github:owner` - (Optional) This is the target GitHub organization or individual user account to manage. For example, + `torvalds` and `github` are valid owners. It is optional to provide this value and it can also be sourced from the + `GITHUB_OWNER` environment variable. When not provided and a token is available, the individual user account owning + the token will be used. When not provided and no token is available, the provider may not function correctly. +- `github:organization` - (Deprecated) This behaves the same as owner, which should be used instead. This value can also + be sourced from the `GITHUB_ORGANIZATION` environment variable. + +## Reference + +For further information, please visit [the GitHub provider docs](https://www.pulumi.com/docs/intro/cloud-providers/github) +or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/github). + + + + +%prep +%autosetup -n pulumi-github-5.9.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-pulumi-github -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 5.9.0-1 +- Package Spec generated @@ -0,0 +1 @@ +303fb010b382ad6e6389504a49cc1ddf pulumi_github-5.9.0.tar.gz |
