!5 UpdatePackage

From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-11-02 12:29:49 +00:00 committed by Gitee
commit cc3d178f4b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 50 additions and 8 deletions

38
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,38 @@
--- c/setup.py 1970-01-01 08:00:00.000000000 +0800
+++ a/setup.py 2022-11-02 10:34:45.755934377 +0800
@@ -0,0 +1,35 @@
+#!/usr/bin/env python
+# setup.py generated by flit for tools that don't yet use PEP 517
+
+from distutils.core import setup
+
+packages = \
+['jeepney',
+ 'jeepney.io',
+ 'jeepney.io.tests',
+ 'jeepney.tests']
+
+package_data = \
+{'': ['*']}
+
+extras_require = \
+{'test': ['pytest',
+ 'pytest-trio',
+ 'pytest-asyncio >=0.17',
+ 'testpath',
+ 'trio',
+ 'async-timeout'],
+ 'trio': ['trio'],
+ "trio:python_version == '3.6'": ['async_generator']}
+
+setup(name='jeepney',
+ version='0.8.0',
+ description='Low-level, pure Python DBus protocol wrapper.',
+ author='Thomas Kluyver',
+ author_email='thomas@kluyver.me.uk',
+ url='https://gitlab.com/takluyver/jeepney',
+ packages=packages,
+ package_data=package_data,
+ extras_require=extras_require,
+ python_requires='>=3.7',
+ )

Binary file not shown.

BIN
jeepney-0.8.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,15 @@
%global _empty_manifest_terminate_build 0
Name: python-jeepney
Version: 0.7.1
Version: 0.8.0
Release: 1
Summary: Low-level, pure Python DBus protocol wrapper.
License: MIT License
License: MIT
URL: https://gitlab.com/takluyver/jeepney
Source0: https://files.pythonhosted.org/packages/09/0d/81744e179cf3aede2d117c20c6d5b97a62ffe16b2ca5d856e068e81c7a68/jeepney-0.7.1.tar.gz
Source0: https://files.pythonhosted.org/packages/d6/f4/154cf374c2daf2020e05c3c6a03c91348d59b23c5366e968feb198306fdf/jeepney-0.8.0.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
Requires: python3-testpath
Recommends: %{name}-help = %{version}-%{release}
%description
This is a low-level, pure Python DBus protocol client. It has an `I/O-free
@ -23,12 +23,12 @@ DBus is an inter-process communication system, mainly used in Linux.
This project is experimental, and there are a
number of `more mature Python DBus bindings <https://www.freedesktop.org/wiki/Software/DBusBindings/#python>`__.
%package -n python3-jeepney
Summary: Low-level, pure Python DBus protocol wrapper.
Provides: python-jeepney
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-jeepney
This is a low-level, pure Python DBus protocol client. It has an `I/O-free
<https://sans-io.readthedocs.io/>`__ core, and integration modules for different
@ -41,10 +41,10 @@ DBus is an inter-process communication system, mainly used in Linux.
This project is experimental, and there are a
number of `more mature Python DBus bindings <https://www.freedesktop.org/wiki/Software/DBusBindings/#python>`__.
%package help
Summary: Development documents and examples for jeepney
Provides: python3-jeepney-doc
%description help
This is a low-level, pure Python DBus protocol client. It has an `I/O-free
<https://sans-io.readthedocs.io/>`__ core, and integration modules for different
@ -57,9 +57,9 @@ DBus is an inter-process communication system, mainly used in Linux.
This project is experimental, and there are a
number of `more mature Python DBus bindings <https://www.freedesktop.org/wiki/Software/DBusBindings/#python>`__.
%prep
%autosetup -n jeepney-0.7.1
%autosetup -n jeepney-%{version}
%patch0
%build
%py3_build
@ -99,8 +99,12 @@ mv %{buildroot}/doclist.lst .
%{_pkgdocdir}
%changelog
* Wed Nov 02 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.8.0-1
- Update package to version 0.8.0
* Mon Jul 25 2022 renliang16 <renliang@uniontech.com> - 0.7.1-1
- Upgrade package python3-jeepney to version 0.7.1
* Thu Dec 3 2020 baizhonggui <baizhonggui@huawei.com>
- Package init