diff --git a/files/0001-Fix-version-tag.patch b/files/0001-Fix-version-tag.patch new file mode 100644 --- /dev/null +++ b/files/0001-Fix-version-tag.patch @@ -0,0 +1,29 @@ +From 0ee672a392e251b54091fcb125e07b0def410b47 Mon Sep 17 00:00:00 2001 +From: Algent Albrahimi +Date: Fri, 25 Dec 2020 20:53:34 +0100 +Subject: [PATCH] Fix version tag + +--- + setup.py | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 6068493..3e51f8b 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,3 +1,11 @@ + from setuptools import setup + +-setup() ++setup( ++ use_scm_version={ ++ 'version_scheme': 'post-release', ++ 'local_scheme': 'dirty-tag' ++ }, ++ setup_requires=[ ++ 'setuptools_scm >= 1.7.0' ++ ] ++) +-- +2.29.2 + diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : python-typeguard -version : 2.9.1 -release : 1 +version : 2.10.0 +release : 2 source : - - https://files.pythonhosted.org/packages/bd/5e/bcf5dd82607a2e77d4e81da33223bafcee3a1011445173b5bf48af247167/typeguard-2.9.1.tar.gz : 529ef3d88189cc457f4340388028412f71be8091c2c943465146d4170fb67288 + - https://files.pythonhosted.org/packages/source/t/typeguard/typeguard-2.10.0.tar.gz : d830132dcd544d3f8a2a842ea739eaa0d7c099fcebb9dcdf3802f4c9929d8191 homepage : https://github.com/agronholm/typeguard license : MIT component : programming.python @@ -10,10 +10,14 @@ description: | This library provides run-time type checking for functions defined with PEP 484 argument (and return) type annotations. builddeps : + - python-pytest - python-setuptools-scm + - python-typing-extensions +setup : | + %patch -p1 < $pkgfiles/0001-Fix-version-tag.patch build : | %python3_setup install : | %python3_install check : | - %python3_test + %python3_test pytest3 -v diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -20,16 +20,18 @@ programming.python - /usr/lib/python3.7/site-packages/typeguard-2.9.1-py3.7.egg-info/PKG-INFO - /usr/lib/python3.7/site-packages/typeguard-2.9.1-py3.7.egg-info/SOURCES.txt - /usr/lib/python3.7/site-packages/typeguard-2.9.1-py3.7.egg-info/dependency_links.txt - /usr/lib/python3.7/site-packages/typeguard-2.9.1-py3.7.egg-info/entry_points.txt - /usr/lib/python3.7/site-packages/typeguard-2.9.1-py3.7.egg-info/not-zip-safe - /usr/lib/python3.7/site-packages/typeguard-2.9.1-py3.7.egg-info/requires.txt - /usr/lib/python3.7/site-packages/typeguard-2.9.1-py3.7.egg-info/top_level.txt + /usr/lib/python3.7/site-packages/typeguard-2.10.0-py3.7.egg-info/PKG-INFO + /usr/lib/python3.7/site-packages/typeguard-2.10.0-py3.7.egg-info/SOURCES.txt + /usr/lib/python3.7/site-packages/typeguard-2.10.0-py3.7.egg-info/dependency_links.txt + /usr/lib/python3.7/site-packages/typeguard-2.10.0-py3.7.egg-info/entry_points.txt + /usr/lib/python3.7/site-packages/typeguard-2.10.0-py3.7.egg-info/not-zip-safe + /usr/lib/python3.7/site-packages/typeguard-2.10.0-py3.7.egg-info/requires.txt + /usr/lib/python3.7/site-packages/typeguard-2.10.0-py3.7.egg-info/top_level.txt /usr/lib/python3.7/site-packages/typeguard/__init__.py /usr/lib/python3.7/site-packages/typeguard/__pycache__/__init__.cpython-37.pyc + /usr/lib/python3.7/site-packages/typeguard/__pycache__/importhook.cpython-37-PYTEST.pyc /usr/lib/python3.7/site-packages/typeguard/__pycache__/importhook.cpython-37.pyc + /usr/lib/python3.7/site-packages/typeguard/__pycache__/pytest_plugin.cpython-37-PYTEST.pyc /usr/lib/python3.7/site-packages/typeguard/__pycache__/pytest_plugin.cpython-37.pyc /usr/lib/python3.7/site-packages/typeguard/importhook.py /usr/lib/python3.7/site-packages/typeguard/py.typed @@ -37,12 +39,12 @@ - - 2020-06-14 - 2.9.1 + + 2020-12-25 + 2.10.0 Packaging update Algent Albrahimi algent@protonmail.com \ No newline at end of file