diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:17:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:17:43 +0000 |
commit | 4ea718bf742c55cdad6c7b73a328e0e82352b7ef (patch) | |
tree | 8f20fb98fbba01d10d3c60ea2a27913d5c6ffa8d | |
parent | 69c0183f0319853d24444e865d3211c5404de1a4 (diff) |
automatic import of python-replitdevopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-replitdev.spec | 158 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 160 insertions, 0 deletions
@@ -0,0 +1 @@ +/replitdev-2.5.22.tar.gz diff --git a/python-replitdev.spec b/python-replitdev.spec new file mode 100644 index 0000000..8554c1f --- /dev/null +++ b/python-replitdev.spec @@ -0,0 +1,158 @@ +%global _empty_manifest_terminate_build 0 +Name: python-replitdev +Version: 2.5.22 +Release: 1 +Summary: A library for interacting with features of repl.it +License: MIT +URL: https://github.com/replit/replit-py +Source0: https://mirrors.aliyun.com/pypi/web/packages/2b/35/1d7bf2dd43211ad998e64575af920213a5de1b8df23c7dabb1794d8b03d3/replitdev-2.5.22.tar.gz +BuildArch: noarch + +Requires: python3-typing_extensions +Requires: python3-flask +Requires: python3-werkzeug +Requires: python3-aiohttp +Requires: python3-requests-html + +%description +# `replit` Python Module + + +The [Repl.it](https://repl.it/) Python environment does not require any platform-specific code, however, these optional utilities provide additional platform features in a simple and accessible way. + + + + +*Example*: [Repl.it DB](https://docs.repl.it/misc/database) is an HTTP service, but an optional Python client (here!) is available. + + +### `>>> import replit` + +This repository is the home for the `replit` Python package, which provides: + +- A fully-featured database client for [Repl.it DB](https://docs.repl.it/misc/database). **[[docs]](https://example.com)** +- A **work in progress** Repl.it user profile lookup. **[[docs]](https://example.com)** +- A Flask application decorator for ensuring Repl.it Auth required on specific routes. **[[docs]](https://example.com)** + +& other helpful toys and utilities, like... + +- A simple audio library that can play tones and audio files! +- Some helpful functions for displaying ANSI colors within interactive terminal sessions. + +### Open Source License + +This library is licensed under the [ISC License](https://en.wikipedia.org/wiki/ISC_license) and is free for you to use, change, or even profit from! + + +%package -n python3-replitdev +Summary: A library for interacting with features of repl.it +Provides: python-replitdev +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-replitdev +# `replit` Python Module + + +The [Repl.it](https://repl.it/) Python environment does not require any platform-specific code, however, these optional utilities provide additional platform features in a simple and accessible way. + + + + +*Example*: [Repl.it DB](https://docs.repl.it/misc/database) is an HTTP service, but an optional Python client (here!) is available. + + +### `>>> import replit` + +This repository is the home for the `replit` Python package, which provides: + +- A fully-featured database client for [Repl.it DB](https://docs.repl.it/misc/database). **[[docs]](https://example.com)** +- A **work in progress** Repl.it user profile lookup. **[[docs]](https://example.com)** +- A Flask application decorator for ensuring Repl.it Auth required on specific routes. **[[docs]](https://example.com)** + +& other helpful toys and utilities, like... + +- A simple audio library that can play tones and audio files! +- Some helpful functions for displaying ANSI colors within interactive terminal sessions. + +### Open Source License + +This library is licensed under the [ISC License](https://en.wikipedia.org/wiki/ISC_license) and is free for you to use, change, or even profit from! + + +%package help +Summary: Development documents and examples for replitdev +Provides: python3-replitdev-doc +%description help +# `replit` Python Module + + +The [Repl.it](https://repl.it/) Python environment does not require any platform-specific code, however, these optional utilities provide additional platform features in a simple and accessible way. + + + + +*Example*: [Repl.it DB](https://docs.repl.it/misc/database) is an HTTP service, but an optional Python client (here!) is available. + + +### `>>> import replit` + +This repository is the home for the `replit` Python package, which provides: + +- A fully-featured database client for [Repl.it DB](https://docs.repl.it/misc/database). **[[docs]](https://example.com)** +- A **work in progress** Repl.it user profile lookup. **[[docs]](https://example.com)** +- A Flask application decorator for ensuring Repl.it Auth required on specific routes. **[[docs]](https://example.com)** + +& other helpful toys and utilities, like... + +- A simple audio library that can play tones and audio files! +- Some helpful functions for displaying ANSI colors within interactive terminal sessions. + +### Open Source License + +This library is licensed under the [ISC License](https://en.wikipedia.org/wiki/ISC_license) and is free for you to use, change, or even profit from! + + +%prep +%autosetup -n replitdev-2.5.22 + +%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-replitdev -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.22-1 +- Package Spec generated @@ -0,0 +1 @@ +25ed397c72614226a66e2c078e609701 replitdev-2.5.22.tar.gz |