summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-realpython-reader.spec274
-rw-r--r--sources1
3 files changed, 276 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e43939c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/realpython-reader-1.1.2.tar.gz
diff --git a/python-realpython-reader.spec b/python-realpython-reader.spec
new file mode 100644
index 0000000..27cec10
--- /dev/null
+++ b/python-realpython-reader.spec
@@ -0,0 +1,274 @@
+%global _empty_manifest_terminate_build 0
+Name: python-realpython-reader
+Version: 1.1.2
+Release: 1
+Summary: Read the latest Real Python tutorials
+License: MIT License Copyright (c) 2018 Real Python Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+URL: https://pypi.org/project/realpython-reader/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/17/ef/1b5db025e5fdea3d4b0158f78b1a908197c48e15d564d7c2b2abbd58e06e/realpython-reader-1.1.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-feedparser
+Requires: python3-html2text
+Requires: python3-tomli
+Requires: python3-build
+Requires: python3-twine
+Requires: python3-black
+Requires: python3-bumpver
+Requires: python3-isort
+Requires: python3-mypy
+Requires: python3-pytest
+
+%description
+# Real Python Feed Reader
+
+The Real Python Feed Reader is a basic [web feed](https://en.wikipedia.org/wiki/Web_feed) reader that can download the latest Real Python tutorials from the [Real Python feed](https://realpython.com/contact/#rss-atom-feed).
+
+For more information see the tutorial [How to Publish an Open-Source Python Package to PyPI](https://realpython.com/pypi-publish-python-package/) on Real Python.
+
+## Installation
+
+You can install the Real Python Feed Reader from [PyPI](https://pypi.org/project/realpython-reader/):
+
+ python -m pip install realpython-reader
+
+The reader is supported on Python 3.7 and above. Older versions of Python, including Python 2.7, are supported by version 1.0.0 of the reader.
+
+## How to use
+
+The Real Python Feed Reader is a command line application, named `realpython`. To see a list of the [latest Real Python tutorials](https://realpython.com/), call the program without any arguments:
+
+ $ realpython
+ The latest tutorials from Real Python (https://realpython.com/)
+ 0 How to Publish an Open-Source Python Package to PyPI
+ 1 Python "while" Loops (Indefinite Iteration)
+ 2 Writing Comments in Python (Guide)
+ 3 Setting Up Python for Machine Learning on Windows
+ 4 Python Community Interview With Michael Kennedy
+ 5 Practical Text Classification With Python and Keras
+ 6 Getting Started With Testing in Python
+ 7 Python, Boto3, and AWS S3: Demystified
+ 8 Python's range() Function (Guide)
+ 9 Python Community Interview With Mike Grouchy
+ 10 How to Round Numbers in Python
+ 11 Building and Documenting Python REST APIs With Flask and Connexion – Part 2
+ 12 Splitting, Concatenating, and Joining Strings in Python
+ 13 Image Segmentation Using Color Spaces in OpenCV + Python
+ 14 Python Community Interview With Mahdi Yusuf
+ 15 Absolute vs Relative Imports in Python
+ 16 Top 10 Must-Watch PyCon Talks
+ 17 Logging in Python
+ 18 The Best Python Books
+ 19 Conditional Statements in Python
+
+To read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:
+
+ $ realpython 0
+ # How to Publish an Open-Source Python Package to PyPI
+
+ Python is famous for coming with batteries included. Sophisticated
+ capabilities are available in the standard library. You can find modules for
+ working with sockets, parsing CSV, JSON, and XML files, and working with
+ files and file paths.
+
+ However great the packages included with Python are, there are many
+ fantastic projects available outside the standard library. These are most
+ often hosted at the Python Packaging Index (PyPI), historically known as the
+ Cheese Shop. At PyPI, you can find everything from Hello World to advanced
+ deep learning libraries.
+
+ [... The full text of the article ...]
+
+You can also call the Real Python Feed Reader in your own Python code, by importing from the `reader` package:
+
+ >>> from reader import feed
+ >>> feed.get_titles()
+ ['How to Publish an Open-Source Python Package to PyPI', ...]
+
+
+%package -n python3-realpython-reader
+Summary: Read the latest Real Python tutorials
+Provides: python-realpython-reader
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-realpython-reader
+# Real Python Feed Reader
+
+The Real Python Feed Reader is a basic [web feed](https://en.wikipedia.org/wiki/Web_feed) reader that can download the latest Real Python tutorials from the [Real Python feed](https://realpython.com/contact/#rss-atom-feed).
+
+For more information see the tutorial [How to Publish an Open-Source Python Package to PyPI](https://realpython.com/pypi-publish-python-package/) on Real Python.
+
+## Installation
+
+You can install the Real Python Feed Reader from [PyPI](https://pypi.org/project/realpython-reader/):
+
+ python -m pip install realpython-reader
+
+The reader is supported on Python 3.7 and above. Older versions of Python, including Python 2.7, are supported by version 1.0.0 of the reader.
+
+## How to use
+
+The Real Python Feed Reader is a command line application, named `realpython`. To see a list of the [latest Real Python tutorials](https://realpython.com/), call the program without any arguments:
+
+ $ realpython
+ The latest tutorials from Real Python (https://realpython.com/)
+ 0 How to Publish an Open-Source Python Package to PyPI
+ 1 Python "while" Loops (Indefinite Iteration)
+ 2 Writing Comments in Python (Guide)
+ 3 Setting Up Python for Machine Learning on Windows
+ 4 Python Community Interview With Michael Kennedy
+ 5 Practical Text Classification With Python and Keras
+ 6 Getting Started With Testing in Python
+ 7 Python, Boto3, and AWS S3: Demystified
+ 8 Python's range() Function (Guide)
+ 9 Python Community Interview With Mike Grouchy
+ 10 How to Round Numbers in Python
+ 11 Building and Documenting Python REST APIs With Flask and Connexion – Part 2
+ 12 Splitting, Concatenating, and Joining Strings in Python
+ 13 Image Segmentation Using Color Spaces in OpenCV + Python
+ 14 Python Community Interview With Mahdi Yusuf
+ 15 Absolute vs Relative Imports in Python
+ 16 Top 10 Must-Watch PyCon Talks
+ 17 Logging in Python
+ 18 The Best Python Books
+ 19 Conditional Statements in Python
+
+To read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:
+
+ $ realpython 0
+ # How to Publish an Open-Source Python Package to PyPI
+
+ Python is famous for coming with batteries included. Sophisticated
+ capabilities are available in the standard library. You can find modules for
+ working with sockets, parsing CSV, JSON, and XML files, and working with
+ files and file paths.
+
+ However great the packages included with Python are, there are many
+ fantastic projects available outside the standard library. These are most
+ often hosted at the Python Packaging Index (PyPI), historically known as the
+ Cheese Shop. At PyPI, you can find everything from Hello World to advanced
+ deep learning libraries.
+
+ [... The full text of the article ...]
+
+You can also call the Real Python Feed Reader in your own Python code, by importing from the `reader` package:
+
+ >>> from reader import feed
+ >>> feed.get_titles()
+ ['How to Publish an Open-Source Python Package to PyPI', ...]
+
+
+%package help
+Summary: Development documents and examples for realpython-reader
+Provides: python3-realpython-reader-doc
+%description help
+# Real Python Feed Reader
+
+The Real Python Feed Reader is a basic [web feed](https://en.wikipedia.org/wiki/Web_feed) reader that can download the latest Real Python tutorials from the [Real Python feed](https://realpython.com/contact/#rss-atom-feed).
+
+For more information see the tutorial [How to Publish an Open-Source Python Package to PyPI](https://realpython.com/pypi-publish-python-package/) on Real Python.
+
+## Installation
+
+You can install the Real Python Feed Reader from [PyPI](https://pypi.org/project/realpython-reader/):
+
+ python -m pip install realpython-reader
+
+The reader is supported on Python 3.7 and above. Older versions of Python, including Python 2.7, are supported by version 1.0.0 of the reader.
+
+## How to use
+
+The Real Python Feed Reader is a command line application, named `realpython`. To see a list of the [latest Real Python tutorials](https://realpython.com/), call the program without any arguments:
+
+ $ realpython
+ The latest tutorials from Real Python (https://realpython.com/)
+ 0 How to Publish an Open-Source Python Package to PyPI
+ 1 Python "while" Loops (Indefinite Iteration)
+ 2 Writing Comments in Python (Guide)
+ 3 Setting Up Python for Machine Learning on Windows
+ 4 Python Community Interview With Michael Kennedy
+ 5 Practical Text Classification With Python and Keras
+ 6 Getting Started With Testing in Python
+ 7 Python, Boto3, and AWS S3: Demystified
+ 8 Python's range() Function (Guide)
+ 9 Python Community Interview With Mike Grouchy
+ 10 How to Round Numbers in Python
+ 11 Building and Documenting Python REST APIs With Flask and Connexion – Part 2
+ 12 Splitting, Concatenating, and Joining Strings in Python
+ 13 Image Segmentation Using Color Spaces in OpenCV + Python
+ 14 Python Community Interview With Mahdi Yusuf
+ 15 Absolute vs Relative Imports in Python
+ 16 Top 10 Must-Watch PyCon Talks
+ 17 Logging in Python
+ 18 The Best Python Books
+ 19 Conditional Statements in Python
+
+To read one particular tutorial, call the program with the numerical ID of the tutorial as a parameter:
+
+ $ realpython 0
+ # How to Publish an Open-Source Python Package to PyPI
+
+ Python is famous for coming with batteries included. Sophisticated
+ capabilities are available in the standard library. You can find modules for
+ working with sockets, parsing CSV, JSON, and XML files, and working with
+ files and file paths.
+
+ However great the packages included with Python are, there are many
+ fantastic projects available outside the standard library. These are most
+ often hosted at the Python Packaging Index (PyPI), historically known as the
+ Cheese Shop. At PyPI, you can find everything from Hello World to advanced
+ deep learning libraries.
+
+ [... The full text of the article ...]
+
+You can also call the Real Python Feed Reader in your own Python code, by importing from the `reader` package:
+
+ >>> from reader import feed
+ >>> feed.get_titles()
+ ['How to Publish an Open-Source Python Package to PyPI', ...]
+
+
+%prep
+%autosetup -n realpython-reader-1.1.2
+
+%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-realpython-reader -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..376df36
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+08b7c387978e7aa76dd0e4eda95eaa7c realpython-reader-1.1.2.tar.gz