From 6d100402edd5147866232ba561d1914cf09cb68b Mon Sep 17 00:00:00 2001 From: jxy_git Date: Fri, 28 Feb 2025 17:00:02 +0800 Subject: [PATCH] Add patches missed due to upgraded versions --- 0001-remove-unused-install-require.patch | 25 ++++++++++++++++++++++++ pyArango.spec | 9 +++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 0001-remove-unused-install-require.patch diff --git a/0001-remove-unused-install-require.patch b/0001-remove-unused-install-require.patch new file mode 100644 index 0000000..3894c80 --- /dev/null +++ b/0001-remove-unused-install-require.patch @@ -0,0 +1,25 @@ +From af93b7114fff07474cff9958830d6bbcb55fae26 Mon Sep 17 00:00:00 2001 +From: algorithmofdish +Date: Tue, 2 Aug 2022 20:04:09 +0800 +Subject: [PATCH] remove unused install require + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index d885f69..d2d2012 100644 +--- a/setup.py ++++ b/setup.py +@@ -44,7 +44,7 @@ setup( + 'Programming Language :: Python :: 3', + ], + +- install_requires=['requests>=2.7.0', 'future', 'datetime'], ++ install_requires=['requests>=2.7.0', 'future'], + + keywords='database ORM nosql arangodb driver validation', + +-- +2.27.0 + diff --git a/pyArango.spec b/pyArango.spec index 76307c0..66f9442 100644 --- a/pyArango.spec +++ b/pyArango.spec @@ -2,13 +2,15 @@ Name: pyarango Version: 2.1.1 -Release: 1 +Release: 2 Summary: Python Driver for ArangoDB with built-in validation License: Apache-2.0 URL: https://github.com/ArangoDB-Community/pyArango -Source0: https://files.pythonhosted.org/packages/2c/2c/90e656f781b01e9bb1cd240f38412e6f08379dce256757f523d5044577d3/pyArango-2.1.1.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/pyArango/pyArango-%{version}.tar.gz BuildArch: noarch +Patch0001: 0001-remove-unused-install-require.patch + BuildRequires: python3-setuptools python3-devel @@ -55,6 +57,9 @@ pyArango supports graphs, indexes and probably everything that arangodb can do. %changelog +* Fri Feb 28 2025 jiangxinyu - 2.1.1-2 +- Add patches missed due to upgraded versions + * Fri Oct 18 2024 zhaosaisai - 2.1.1-1 - Upgrade to latest version 2.1.1 -- Gitee