diff --git a/python-straight-plugin.spec b/python-straight-plugin.spec index d2929990dfea268903c365ee42a45fd59d07b4c6..819f7de4ebd924daf78b395af67ff32b09b80626 100644 --- a/python-straight-plugin.spec +++ b/python-straight-plugin.spec @@ -5,9 +5,8 @@ Summary: Python plugin loader License: BSD URL: https://github.com/ironfroggy/straight.plugin/ -# Version 1.5.0 was released on pypi but not tagged on github -# Use source from pypi -Source0: https://files.pythonhosted.org/packages/48/89/34ae6a87784d0b607af61c84a52c313c598f1d86ce5c1e9eb6da038fee5f/straight.plugin-1.5.0.tar.gz + +Source0: https://files.pythonhosted.org/packages/48/89/34ae6a87784d0b607af61c84a52c313c598f1d86ce5c1e9eb6da038fee5f/straight.plugin-%{version}.tar.gz BuildArch: noarch @@ -15,22 +14,28 @@ BuildRequires: python3-devel BuildRequires: /usr/bin/2to3 BuildRequires: python3-setuptools -%description -straight.plugin is a Python plugin loader inspired by twisted.plugin. -The system is used to allow multiple Python packages to provide plugins within -a namespace package, where other packages will locate and utilize. The plugins -themselves are modules in a namespace package where the namespace identifies -the plugins in it for some particular purpose or intent. + + +%global _description\ +straight.plugin is a Python plugin loader inspired by twisted.plugin with two\ +important distinctions:\ +\ + - Fewer dependencies\ + - Python 3 compatible\ +\ +The system is used to allow multiple Python packages to provide plugins within\ +a namespace package, where other packages will locate and utilize. The plugins\ +themselves are modules in a namespace package where the namespace identifies\ +the plugins in it for some particular purpose or intent.\ + + +%description %_description %package -n python3-straight-plugin Summary: Python plugin loader %description -n python3-straight-plugin -straight.plugin is a Python plugin loader inspired by twisted.plugin. -The system is used to allow multiple Python packages to provide plugins within -a namespace package, where other packages will locate and utilize. The plugins -themselves are modules in a namespace package where the namespace identifies -the plugins in it for some particular purpose or intent. +%_description %prep %setup -q -n straight.plugin-%{version} @@ -42,13 +47,11 @@ the plugins in it for some particular purpose or intent. %install %py3_install -%check -%{__python3} tests.py %files -n python3-straight-plugin +# For noarch packages: sitelib %{python3_sitelib}/straight* %changelog -* Tue Jul 13 2021 wangdi - 1.5.0-1 -- Package init - +* Wed Aug 18 2021 Python_Bot - 1.5.0-1 +- Init Package