diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 19:26:21 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 19:26:21 +0000 |
commit | f3374c229436398d70c6ff6784f2af3831e27aa9 (patch) | |
tree | a707997c9477934680a0da245b06f44b5532328a | |
parent | 265261b9e7f31cf01ddaefa4c6cc23c880a30a03 (diff) |
automatic import of python-gotrueopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-gotrue.spec | 39 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 17 insertions, 25 deletions
@@ -1 +1,2 @@ /gotrue-1.0.1.tar.gz +/gotrue-1.0.2.tar.gz diff --git a/python-gotrue.spec b/python-gotrue.spec index 20e4d39..acc5fd3 100644 --- a/python-gotrue.spec +++ b/python-gotrue.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-gotrue -Version: 1.0.1 +Version: 1.0.2 Release: 1 Summary: Python Client Library for GoTrue License: MIT URL: https://github.com/supabase-community/gotrue-py -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/57/4a/dab4ca4dc4bfba15794a34744be9091f8da0c55576690d876825d1bf12e7/gotrue-1.0.1.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/2c/34/761b71dcc52925be3c89703970a7fb79aa024fd579b750b59a6a640a2d33/gotrue-1.0.2.tar.gz BuildArch: noarch Requires: python3-httpx @@ -69,13 +69,13 @@ Also, the `gotrue` library for Python parses the date-time string into `datetime To instantiate the client, you'll need the URL and any request headers at a minimum. ```python -from gotrue import Client +from gotrue import SyncGoTrueClient headers = { "apiKey": "my-mega-awesome-api-key", # ... any other headers you might need. } -client: Client = Client(url="www.genericauthwebsite.com", headers=headers) +client: SyncGoTrueClient = SyncGoTrueClient(url="www.genericauthwebsite.com", headers=headers) ``` To send a magic email link to the user, just provide the email kwarg to the `sign_in` method: @@ -111,9 +111,6 @@ assert client.session() is not None We would be immensely grateful for any contributions to this project. In particular are the following items: -- Add documentation -- Update `README.md` - %package -n python3-gotrue Summary: Python Client Library for GoTrue @@ -179,13 +176,13 @@ Also, the `gotrue` library for Python parses the date-time string into `datetime To instantiate the client, you'll need the URL and any request headers at a minimum. ```python -from gotrue import Client +from gotrue import SyncGoTrueClient headers = { "apiKey": "my-mega-awesome-api-key", # ... any other headers you might need. } -client: Client = Client(url="www.genericauthwebsite.com", headers=headers) +client: SyncGoTrueClient = SyncGoTrueClient(url="www.genericauthwebsite.com", headers=headers) ``` To send a magic email link to the user, just provide the email kwarg to the `sign_in` method: @@ -221,9 +218,6 @@ assert client.session() is not None We would be immensely grateful for any contributions to this project. In particular are the following items: -- Add documentation -- Update `README.md` - %package help Summary: Development documents and examples for gotrue @@ -286,13 +280,13 @@ Also, the `gotrue` library for Python parses the date-time string into `datetime To instantiate the client, you'll need the URL and any request headers at a minimum. ```python -from gotrue import Client +from gotrue import SyncGoTrueClient headers = { "apiKey": "my-mega-awesome-api-key", # ... any other headers you might need. } -client: Client = Client(url="www.genericauthwebsite.com", headers=headers) +client: SyncGoTrueClient = SyncGoTrueClient(url="www.genericauthwebsite.com", headers=headers) ``` To send a magic email link to the user, just provide the email kwarg to the `sign_in` method: @@ -328,12 +322,9 @@ assert client.session() is not None We would be immensely grateful for any contributions to this project. In particular are the following items: -- Add documentation -- Update `README.md` - %prep -%autosetup -n gotrue-1.0.1 +%autosetup -n gotrue-1.0.2 %build %py3_build @@ -347,20 +338,20 @@ 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 + 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 + 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 + 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 + 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 + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -373,5 +364,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.1-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.2-1 - Package Spec generated @@ -1 +1 @@ -8a64654d29c7346d5756ccfda1b8ce61 gotrue-1.0.1.tar.gz +bc1f837b10be969e1423224c623ad1b4 gotrue-1.0.2.tar.gz |