Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e5bf3fc065
!11 [sync] PR-10: 修复python3-ansible-runner与python3-augeas的安装冲突
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-03-27 09:35:34 +00:00
starlet-dx
8255502644 Fix installation conflicts between python3-ansible-runner and python3-augeas
(cherry picked from commit 15c8183167ec095f33d1ef24d786ede5170ddbd9)
2023-02-25 11:02:42 +08:00
openeuler-ci-bot
7be77fcb4b
!4 Upgrade to 1.1.0
From: @houyingchao 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-06-14 08:17:40 +00:00
houyingchao
5f6bffe5fa Upgrade to 1.1.0 2022-06-14 15:39:27 +08:00
openeuler-ci-bot
9498cb94b6 !3 remove python2 subpackage
From: @caodongxia
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 16:23:37 +08:00
caodongxia
e49156e48d Remove subpackage python2-antlr 2020-10-30 15:17:41 +08:00
openeuler-ci-bot
f002d92781 !2 add yaml file
Merge pull request !2 from ultra_planet/master
2020-05-09 16:57:04 +08:00
ultra_planet
d2657455d6 add yaml file 2020-05-09 09:35:00 +08:00
openeuler-ci-bot
d73200f784 !1 package init
Merge pull request !1 from gu-gu-gu/gu
2020-02-17 20:40:54 +08:00
gu-gu-gu
812cb632eb package init 2020-02-14 11:29:16 +08:00
4 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,22 @@
From f74c4a8206c5a7f28836cbe3cd043bc481c5e518 Mon Sep 17 00:00:00 2001
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
Date: Sun, 23 May 2021 09:54:53 -0400
Subject: [PATCH] Ensure exclude is a tuple (#53)
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 6c4265e..13b1a38 100755
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@
author="Harald Hoyer",
author_email="augeas-devel@redhat.com",
description="""Python bindings for Augeas""",
- packages=find_packages(exclude=('test')),
+ packages=find_packages(exclude=('test',)),
setup_requires=["cffi>=1.0.0"],
cffi_modules=["augeas/ffi.py:ffi"],
install_requires=["cffi>=1.0.0"],

52
python-augeas.spec Normal file
View File

@ -0,0 +1,52 @@
Name: python-augeas
Version: 1.1.0
Release: 2
Summary: Python bindings for augeas
License: LGPLv2+
URL: http://augeas.net/
Source0: https://github.com/hercules-team/python-augeas/archive/refs/tags/v1.1.0.tar.gz
Patch0: python-augeas-test-package-installation.patch
BuildArch: noarch
BuildRequires: python3-setuptools python3-devel python3-cffi augeas
%description
Pure python bindings for augeas
%package -n python3-augeas
Summary: Python3 bindings for augeas
Requires: augeas-libs
%{?python_provide:%python_provide python3-augeas}
%description -n python3-augeas
Python 3 bindings for augeas
%prep
%autosetup -n %{name}-%{version} -p1
%build
%{py3_build}
%install
%{py3_install}
%files -n python3-augeas
%defattr(-,root,root)
%doc AUTHORS README.txt
%license COPYING
%{python3_sitelib}/augeas.py
%{python3_sitelib}/augeas/
%{python3_sitelib}/python_augeas-*.egg-info
%{python3_sitelib}/__pycache__/augeas.cpython*
%changelog
* Sat Feb 25 2023 yaoxin <yaoxin30@h-partners.com> - 1.1.0-2
- Fix installation conflicts between python3-ansible-runner and python3-augeas
* Tue Jun 14 2022 houyingchao <houyingchao@h-partners.com> - 1.1.0-1
- Upgrade to 1.1.0
* Wed Oct 21 2020 chengzihan<chengzihan2@huawei.com> - 0.5.0-17
- Remove subpackage python2-augeas
* Fri Feb 14 2020 gulining<gulining1@huawei.com> - 0.5.0-16
- Package init

4
python-augeas.yaml Normal file
View File

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

BIN
v1.1.0.tar.gz Normal file

Binary file not shown.