diff --git a/python-xmod.spec b/python-xmod.spec index bee7c30587e8c86ea4181898457ec5975e83e418..7a289fcb3a1b7fa7ef77bfad9aa9942165eaf80d 100644 --- a/python-xmod.spec +++ b/python-xmod.spec @@ -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 - 1.3.2-1 - Update to 1.3.2 diff --git a/remove-requires-dek.patch b/remove-requires-dek.patch new file mode 100644 index 0000000000000000000000000000000000000000..93902b19b5c66e5b71b3c2eed06a94d8de48148a --- /dev/null +++ b/remove-requires-dek.patch @@ -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', + } + diff --git a/xmod-1.3.2.tar.gz b/xmod-1.3.2.tar.gz deleted file mode 100644 index 2069139cf30f7e8ab8c7ee6e8b5cfae514ff4105..0000000000000000000000000000000000000000 Binary files a/xmod-1.3.2.tar.gz and /dev/null differ diff --git a/xmod-1.4.0.tar.gz b/xmod-1.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2ecee3bd5ea338b9e194d406be060e5745413bc6 Binary files /dev/null and b/xmod-1.4.0.tar.gz differ