%global _empty_manifest_terminate_build 0 Name: python-futsu Version: 0.0.35 Release: 1 Summary: Very reusable python code License: Public Domain URL: https://github.com/luzi82/py.futsu Source0: https://mirrors.aliyun.com/pypi/web/packages/c1/c6/c999c7bfd608869631b21d2ef228f7bb4337d863708ca985a7cb434304a5/futsu-0.0.35.tar.gz BuildArch: noarch %description [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/luzi82/py.futsu) ![Python package](https://github.com/luzi82/py.futsu/workflows/Python%20package/badge.svg) # Futsu Futsu = Japanese 普通 , means general, ordinary, usual. You can see this lib is like Apache Commons, but in python. https://github.com/luzi82/py.futsu ## Cheat sheet ``` gcloud auth login gcloud config configurations create futsu gcloud config set project futsu-242513 export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json virtualenv --python python3 venv source venv/bin/activate pip install --upgrade pip wheel pip install --upgrade setuptools wheel nose twine keyring google-cloud-storage boto3 keyring set https://upload.pypi.org/legacy/ luzi82 keyring set https://test.pypi.org/legacy/ luzi82 rm -rf dist python3 setup.py test python3 setup.py sdist bdist_wheel python3 -m twine upload -u luzi82 --repository-url https://test.pypi.org/legacy/ dist/* deactivate mkdir -p tmp;cd tmp rm -rf venv_test virtualenv --python python3 venv_test source venv_test/bin/activate pip install --index-url https://test.pypi.org/simple/ --no-deps futsu python3 -c "import futsu;print(futsu.name)" deactivate cd .. source venv/bin/activate python3 -m twine upload -u luzi82 dist/* deactivate # short output # update version in setup.py export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json source venv/bin/activate rm -rf dist \ && python3 setup.py test \ && python3 setup.py sdist bdist_wheel \ && python3 -m twine upload -u luzi82 dist/* ``` %package -n python3-futsu Summary: Very reusable python code Provides: python-futsu BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-futsu [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/luzi82/py.futsu) ![Python package](https://github.com/luzi82/py.futsu/workflows/Python%20package/badge.svg) # Futsu Futsu = Japanese 普通 , means general, ordinary, usual. You can see this lib is like Apache Commons, but in python. https://github.com/luzi82/py.futsu ## Cheat sheet ``` gcloud auth login gcloud config configurations create futsu gcloud config set project futsu-242513 export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json virtualenv --python python3 venv source venv/bin/activate pip install --upgrade pip wheel pip install --upgrade setuptools wheel nose twine keyring google-cloud-storage boto3 keyring set https://upload.pypi.org/legacy/ luzi82 keyring set https://test.pypi.org/legacy/ luzi82 rm -rf dist python3 setup.py test python3 setup.py sdist bdist_wheel python3 -m twine upload -u luzi82 --repository-url https://test.pypi.org/legacy/ dist/* deactivate mkdir -p tmp;cd tmp rm -rf venv_test virtualenv --python python3 venv_test source venv_test/bin/activate pip install --index-url https://test.pypi.org/simple/ --no-deps futsu python3 -c "import futsu;print(futsu.name)" deactivate cd .. source venv/bin/activate python3 -m twine upload -u luzi82 dist/* deactivate # short output # update version in setup.py export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json source venv/bin/activate rm -rf dist \ && python3 setup.py test \ && python3 setup.py sdist bdist_wheel \ && python3 -m twine upload -u luzi82 dist/* ``` %package help Summary: Development documents and examples for futsu Provides: python3-futsu-doc %description help [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/luzi82/py.futsu) ![Python package](https://github.com/luzi82/py.futsu/workflows/Python%20package/badge.svg) # Futsu Futsu = Japanese 普通 , means general, ordinary, usual. You can see this lib is like Apache Commons, but in python. https://github.com/luzi82/py.futsu ## Cheat sheet ``` gcloud auth login gcloud config configurations create futsu gcloud config set project futsu-242513 export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json virtualenv --python python3 venv source venv/bin/activate pip install --upgrade pip wheel pip install --upgrade setuptools wheel nose twine keyring google-cloud-storage boto3 keyring set https://upload.pypi.org/legacy/ luzi82 keyring set https://test.pypi.org/legacy/ luzi82 rm -rf dist python3 setup.py test python3 setup.py sdist bdist_wheel python3 -m twine upload -u luzi82 --repository-url https://test.pypi.org/legacy/ dist/* deactivate mkdir -p tmp;cd tmp rm -rf venv_test virtualenv --python python3 venv_test source venv_test/bin/activate pip install --index-url https://test.pypi.org/simple/ --no-deps futsu python3 -c "import futsu;print(futsu.name)" deactivate cd .. source venv/bin/activate python3 -m twine upload -u luzi82 dist/* deactivate # short output # update version in setup.py export GOOGLE_APPLICATION_CREDENTIALS=${PWD}/key/futsu-4bc2f6db1c50.json source venv/bin/activate rm -rf dist \ && python3 setup.py test \ && python3 setup.py sdist bdist_wheel \ && python3 -m twine upload -u luzi82 dist/* ``` %prep %autosetup -n futsu-0.0.35 %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-futsu -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 0.0.35-1 - Package Spec generated