!3 Update package to version 0.28.1
From: @jxy_git Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
2351d900ef
28
0001-add-setup.py-file.patch
Normal file
28
0001-add-setup.py-file.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From d5fb0d492700901a26fe1d9c7421adb8eceeee24 Mon Sep 17 00:00:00 2001
|
||||
From: jxy_git <jiangxinyu@kylinos.cn>
|
||||
Date: Mon, 20 Mar 2023 17:46:03 +0800
|
||||
Subject: [PATCH] Add setup.py file
|
||||
|
||||
---
|
||||
setup.py | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
create mode 100644 setup.py
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
new file mode 100644
|
||||
index 0000000..26251c6
|
||||
--- /dev/null
|
||||
+++ b/setup.py
|
||||
@@ -0,0 +1,9 @@
|
||||
+#!/usr/bin/env python
|
||||
+
|
||||
+from setuptools import setup
|
||||
+
|
||||
+if __name__ == "__main__":
|
||||
+ setup(
|
||||
+ name = "argh",
|
||||
+ version = "0.28.1",
|
||||
+)
|
||||
--
|
||||
2.33.0
|
||||
|
||||
Binary file not shown.
BIN
argh-0.28.1.tar.gz
Normal file
BIN
argh-0.28.1.tar.gz
Normal file
Binary file not shown.
@ -1,20 +1,21 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-argh
|
||||
Version: 0.26.2
|
||||
Version: 0.28.1
|
||||
Release: 1
|
||||
Summary: An unobtrusive argparse wrapper with natural syntax
|
||||
License: GNU Lesser General Public License (LGPL), Version 3
|
||||
License: LGPL-3.0 and GPL-3.0
|
||||
URL: http://github.com/neithere/argh/
|
||||
Source0: https://files.pythonhosted.org/packages/e3/75/1183b5d1663a66aebb2c184e0398724b624cecd4f4b679cb6e25de97ed15/argh-0.26.2.tar.gz
|
||||
Source0: https://github.com/neithere/argh/archive/refs/tags/v%{version}.tar.gz#/argh-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Patch0: 0001-add-setup.py-file.patch
|
||||
|
||||
%description
|
||||
Argh: The Natural CLI
|
||||
|
||||
%package -n python3-argh
|
||||
Summary: An unobtrusive argparse wrapper with natural syntax
|
||||
Provides: python-argh
|
||||
Provides: python-argh = %{version}-%{release}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%description -n python3-argh
|
||||
@ -27,7 +28,7 @@ Provides: python3-argh-doc
|
||||
Argh: The Natural CLI
|
||||
|
||||
%prep
|
||||
%autosetup -n argh-0.26.2
|
||||
%autosetup -p1 -n argh-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -67,5 +68,8 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 06 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||
* Mon Mar 20 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.28.1-1
|
||||
- Update package to version 0.28.1
|
||||
|
||||
* Mon Jul 06 2020 Python_Bot <Python_Bot@openeuler.org> - 0.26.2-1
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user