From f29d68be632e336a007f153ff3f1d3463488b719c752fedfe9cfba922bda1768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 25 May 2019 08:54:20 +0000 Subject: [PATCH] - Update to 3.0.3: * No upstream changelog provided OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pythonfinder?expand=0&rev=5 --- python-pythonfinder.changes | 7 +++++++ python-pythonfinder.spec | 13 ++----------- pythonfinder-1.2.0.tar.gz | 3 --- pythonfinder-1.2.1.tar.gz | 3 +++ setup-ascii.patch | 17 ----------------- 5 files changed, 12 insertions(+), 31 deletions(-) delete mode 100644 pythonfinder-1.2.0.tar.gz create mode 100644 pythonfinder-1.2.1.tar.gz delete mode 100644 setup-ascii.patch diff --git a/python-pythonfinder.changes b/python-pythonfinder.changes index b1b10a1..12ff023 100644 --- a/python-pythonfinder.changes +++ b/python-pythonfinder.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat May 25 08:52:45 UTC 2019 - Tomáš Chvátal + +- Update to 1.2.1: + * Added support for subprocess timeouts while discovering python paths. #62 +- Merged patch setup-ascii.patch + ------------------------------------------------------------------- Sat Mar 16 17:43:50 UTC 2019 - Jan Engelhardt diff --git a/python-pythonfinder.spec b/python-pythonfinder.spec index 8eb28cd..27138be 100644 --- a/python-pythonfinder.spec +++ b/python-pythonfinder.spec @@ -18,15 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pythonfinder -Version: 1.2.0 +Version: 1.2.1 Release: 0 Summary: A tool to locate Python on the system License: MIT Group: Development/Languages/Python URL: https://github.com/sarugaku/pythonfinder Source: https://github.com/sarugaku/pythonfinder/archive/%{version}.tar.gz#/pythonfinder-%{version}.tar.gz -# https://github.com/sarugaku/pythonfinder/issues/62 -Patch0: setup-ascii.patch BuildRequires: %{python_module setuptools >= 36.2.2} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -55,11 +53,6 @@ A Python discovery tool to locate Python on the system. %prep %setup -q -n pythonfinder-%{version} -%patch0 -p1 -# Has no direct dependency on pathlib2 or lru_cache, which it obtains from vistir -# https://github.com/sarugaku/pythonfinder/pull/63 -sed -i '/pathlib2/d;/lru_cache/d' setup.cfg - rm -r tasks sed -i '/addopts/d' setup.cfg @@ -78,9 +71,7 @@ rm -rf src/pythonfinder/_vendor/pep514tools %check # Three tests fail with OSError: [Errno 1] Operation not permitted , attempting # to modify read-only system image files. -%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest -k \ - 'not (test_python_versions or test_shims_are_kept or test_shims_are_removed)' -} +%pytest -k 'not (test_python_versions or test_shims_are_kept or test_shims_are_removed)' %files %{python_files} %doc CHANGELOG.rst README.rst diff --git a/pythonfinder-1.2.0.tar.gz b/pythonfinder-1.2.0.tar.gz deleted file mode 100644 index d66000d..0000000 --- a/pythonfinder-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:91824d6047c862fa7213723336bc5926a05aacb84ccff0a76bcbdc39e94da98c -size 65255 diff --git a/pythonfinder-1.2.1.tar.gz b/pythonfinder-1.2.1.tar.gz new file mode 100644 index 0000000..875f530 --- /dev/null +++ b/pythonfinder-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10e645105cd7931893258d8478c13e390f996f09765b6e76ae51c81048d48556 +size 72133 diff --git a/setup-ascii.patch b/setup-ascii.patch deleted file mode 100644 index ae3012b..0000000 --- a/setup-ascii.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- pythonfinder-1.2.0/setup.py.orig 2019-03-07 11:23:59.616077036 +0700 -+++ pythonfinder-1.2.0/setup.py 2019-03-07 11:28:00.449877443 +0700 -@@ -49,11 +49,11 @@ - pass - - def run(self): -- self.status('Building Source distribution…') -+ self.status('Building Source distribution.') - os.system('{0} setup.py sdist'.format(sys.executable)) -- self.status('Uploading the package to PyPi via Twine…') -+ self.status('Uploading the package to PyPi via Twine.') - os.system('twine upload dist/*') -- self.status('Pushing git tags…') -+ self.status('Pushing git tags.') - os.system('git tag v{0}'.format(find_version("src", "pythonfinder", "__init__.py"))) - os.system('git push --tags') - sys.exit()