Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e439c9bd3c
!8 Upgrade to 2.3.1
From: @jxy_git 
Reviewed-by: @wm-wm-wm 
Signed-off-by: @wm-wm-wm
2022-07-29 02:32:00 +00:00
jiangxinyu
845b575b3e Update to 2.3.1 2022-07-29 10:23:13 +08:00
openeuler-ci-bot
84206964cf
!7 python-testtools升级到2.5.0版本,导致python-daemon测试阶段报错
From: @starlet-dx 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-07-08 01:03:03 +00:00
starlet-dx
b08fe6d6a9 Resolve the compilation fails, due to python-testtools update to 2.5.0 2022-07-07 19:07:17 +08:00
openeuler-ci-bot
c6486941e1
!5 Add url field
From: @liqiuyu123 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-06-07 08:32:45 +00:00
openeuler-ci-bot
868ac29e00
!6 License compliance rectification
From: @lauk001 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
2022-06-07 07:51:26 +00:00
lauk
8c97582107 License compliance rectification 2022-06-07 15:42:47 +08:00
liqiuyu
fc09dfe6e6 add yaml 2022-04-06 16:57:14 +08:00
openeuler-ci-bot
f1235f4565 !1 Package init
From: @hht8
Reviewed-by: @jxy_git
Signed-off-by: @jxy_git
2021-08-26 11:53:29 +00:00
hht8
7a4e8dcf56 Package init 2021-08-26 19:39:28 +08:00
4 changed files with 79 additions and 0 deletions

BIN
python-daemon-2.3.1.tar.gz Normal file

Binary file not shown.

64
python-daemon.spec Normal file
View File

@ -0,0 +1,64 @@
Name: python-daemon
Version: 2.3.1
Release: 1
Summary: Library to implement a well-behaved Unix daemon process
License: GPL-3.0-only and Apache-2.0
URL: https://pagure.io/python-daemon
Source0: https://files.pythonhosted.org/packages/05/97/210f94322675c838319ffa8e505032373ff1f6a6219af8d16427e00b1051/%{name}-%{version}.tar.gz
# Downstream-only patch, twine is unnecessary to build
# https://pagure.io/python-daemon/c/cc9e6a0321a547aacd568aa1e8c7d94a000d5d11
Patch0: remove-twine-dependency.patch
BuildArch: noarch
BuildRequires: python3-devel, python3-setuptools
BuildRequires: python3-testscenarios
BuildRequires: python3-docutils
BuildRequires: python3-lockfile
BuildRequires: python3-mock
BuildRequires: python3-testtools
%global _description\
This library implements the well-behaved daemon specification of PEP 3143,\
"Standard daemon process library".\
%description %_description
%package -n python3-daemon
Summary: Library to implement a well-behaved Unix daemon process
Requires: python3-lockfile
Requires: python3-docutils
%{?python_provide:%python_provide python3-daemon}
%description -n python3-daemon %_description
%prep
%autosetup -p1
%build
%py3_build
%install
%py3_install
rm -fr %{buildroot}%{python3_sitelib}/tests
%check
PYTHONPATH=$(pwd) %{__python3} -m unittest discover
%files -n python3-daemon
%license LICENSE.ASF-2
%{python3_sitelib}/daemon/
%{python3_sitelib}/python_daemon-%{version}-py%{python3_version}.egg-info/
%changelog
* Fri Jul 29 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.3.1-1
- Update to 2.3.1
* Thu Jul 07 2022 yaoxin <yaoxin30@h-partners.com> - 2.2.4-3
- Resolve the compilation fails, due to python-testtools update to 2.5.0
* Tue Jun 07 2022 liukuo <liukuo@kylinos.cn> - 2.2.4-2
- License compliance rectification
* Wed Aug 18 2021 Python_Bot <Python_Bot@openeuler.org> - 2.2.4-1
- Init Package

4
python-daemon.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: python-daemon
tag_prefix: ^v
separator: "."

View File

@ -0,0 +1,11 @@
diff -Nurp python-daemon-2.2.4.orig/setup.py python-daemon-2.2.4/setup.py
--- python-daemon-2.2.4.orig/setup.py 2019-10-04 22:21:52.000000000 -0500
+++ python-daemon-2.2.4/setup.py 2020-03-22 14:04:30.853124836 -0500
@@ -68,7 +68,6 @@ setup_kwargs = dict(
zip_safe=False,
setup_requires=[
"docutils",
- "twine",
],
test_suite="setup.test_suite",
tests_require=test_requirements,