%global _empty_manifest_terminate_build 0 Name: python-cdk8s-redis Version: 0.1.587 Release: 1 Summary: Basic implementation of a Redis construct for cdk8s. License: Apache-2.0 URL: https://github.com/cdk8s-team/cdk8s-redis.git Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fa/8a/58540d0a07ec7b3a75c82e06307ed2a98cca6c937514d86e19c86d5273e1/cdk8s-redis-0.1.587.tar.gz BuildArch: noarch Requires: python3-cdk8s Requires: python3-constructs Requires: python3-jsii Requires: python3-publication Requires: python3-typeguard %description # cdk8s-redis > Redis constructs for cdk8s Basic implementation of a Redis construct for cdk8s. Contributions are welcome! ## Usage The following will define a Redis cluster with a primary and 2 replicas: ```python import { Redis } from 'cdk8s-redis'; // inside your chart: const redis = new Redis(this, 'my-redis'); ``` DNS names can be obtained from `redis.primaryHost` and `redis.replicaHost`. You can specify how many replicas to define: ```python new Redis(this, 'my-redis', { replicas: 4 }); ``` Or, you can specify no replicas: ```python new Redis(this, 'my-redis', { replicas: 0 }); ``` ## License Distributed under the [Apache 2.0](./LICENSE) license. %package -n python3-cdk8s-redis Summary: Basic implementation of a Redis construct for cdk8s. Provides: python-cdk8s-redis BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-cdk8s-redis # cdk8s-redis > Redis constructs for cdk8s Basic implementation of a Redis construct for cdk8s. Contributions are welcome! ## Usage The following will define a Redis cluster with a primary and 2 replicas: ```python import { Redis } from 'cdk8s-redis'; // inside your chart: const redis = new Redis(this, 'my-redis'); ``` DNS names can be obtained from `redis.primaryHost` and `redis.replicaHost`. You can specify how many replicas to define: ```python new Redis(this, 'my-redis', { replicas: 4 }); ``` Or, you can specify no replicas: ```python new Redis(this, 'my-redis', { replicas: 0 }); ``` ## License Distributed under the [Apache 2.0](./LICENSE) license. %package help Summary: Development documents and examples for cdk8s-redis Provides: python3-cdk8s-redis-doc %description help # cdk8s-redis > Redis constructs for cdk8s Basic implementation of a Redis construct for cdk8s. Contributions are welcome! ## Usage The following will define a Redis cluster with a primary and 2 replicas: ```python import { Redis } from 'cdk8s-redis'; // inside your chart: const redis = new Redis(this, 'my-redis'); ``` DNS names can be obtained from `redis.primaryHost` and `redis.replicaHost`. You can specify how many replicas to define: ```python new Redis(this, 'my-redis', { replicas: 4 }); ``` Or, you can specify no replicas: ```python new Redis(this, 'my-redis', { replicas: 0 }); ``` ## License Distributed under the [Apache 2.0](./LICENSE) license. %prep %autosetup -n cdk8s-redis-0.1.587 %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-cdk8s-redis -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Apr 25 2023 Python_Bot - 0.1.587-1 - Package Spec generated