!7 Upgrade package to 1.4.0 version
From: @cherry530 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
4b474b024e
@ -1,13 +1,15 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-xmod
|
||||
Version: 1.3.2
|
||||
Version: 1.4.0
|
||||
Release: 1
|
||||
Summary: Create and recursively fill a temporary directory
|
||||
License: MIT
|
||||
URL: https://github.com/rec/xmod
|
||||
Source0: https://files.pythonhosted.org/packages/87/b8/1a0e180623c12e3592d880340d76b2c2fd16dc8bd2084da8e34b377d973c/xmod-1.3.2.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/96/ef/ddfc9926e0e5a6e2b8a0bb08ac0e9f976ce53712f0d59fa673e7031dd00f/xmod-1.4.0.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Patch0: remove-requires-dek.patch
|
||||
|
||||
%description
|
||||
``xmod`` is a tiny library that extends a module to do things that normally
|
||||
only a class could do - handy for modules that "just do one thing".
|
||||
@ -29,9 +31,7 @@ Provides: python3-xmod-doc
|
||||
only a class could do - handy for modules that "just do one thing".
|
||||
|
||||
%prep
|
||||
%autosetup -n xmod-1.3.2
|
||||
sed -i '/dek/d' requirements.txt
|
||||
sed -i '/dek/d' xmod.egg-info/requires.txt
|
||||
%autosetup -n xmod-1.4.0 -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -71,6 +71,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 25 2023 xu_ping <707078654@qq.com> - 1.4.0-1
|
||||
- Update to 1.4.0
|
||||
|
||||
* Fri Aug 5 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 1.3.2-1
|
||||
- Update to 1.3.2
|
||||
|
||||
|
||||
45
remove-requires-dek.patch
Normal file
45
remove-requires-dek.patch
Normal file
@ -0,0 +1,45 @@
|
||||
diff --git a/PKG-INFO b/PKG-INFO
|
||||
index 41701ca..7b1beef 100644
|
||||
--- a/PKG-INFO
|
||||
+++ b/PKG-INFO
|
||||
@@ -13,7 +13,6 @@ Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
-Requires-Dist: dek (>=1.0.2,<2.0.0)
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
Callable modules! Indexable modules!?
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 48bc54b..6c6fccd 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -16,7 +16,6 @@ readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.7"
|
||||
-dek = "^1.0.2"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
coverage = "^7.1.0"
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 697456f..940c4be 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -3,8 +3,6 @@ from setuptools import setup
|
||||
|
||||
modules = \
|
||||
['xmod']
|
||||
-install_requires = \
|
||||
-['dek>=1.0.2,<2.0.0']
|
||||
|
||||
setup_kwargs = {
|
||||
'name': 'xmod',
|
||||
@@ -17,7 +15,6 @@ setup_kwargs = {
|
||||
'maintainer_email': 'None',
|
||||
'url': 'None',
|
||||
'py_modules': modules,
|
||||
- 'install_requires': install_requires,
|
||||
'python_requires': '>=3.7,<4.0',
|
||||
}
|
||||
|
||||
Binary file not shown.
BIN
xmod-1.4.0.tar.gz
Normal file
BIN
xmod-1.4.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user