forked from pool/python-easydev
Accepting request 919394 from devel:languages:python
- Update to 0.12.0: * Fixing a warning from deprecated get_platform function. * Applied black * some cleanups * removed the package module (not used) * more tests * logging slightly improved - Actually run tests, skipping one test that requires network. - Stop installing easydev_buildPackage OBS-URL: https://build.opensuse.org/request/show/919394 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-easydev?expand=0&rev=5
This commit is contained in:
3
easydev-0.12.0.tar.gz
Normal file
3
easydev-0.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4a340c5ffe193654c387d271bcd466d1fe56bf9850f2704122d3b52b1e6090d
|
||||
size 47112
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e44e834a6bcdedcb468e28e34f7c0d08e96c572649f453a802c9c36b0108c6c
|
||||
size 53566
|
||||
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 16 04:01:51 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.12.0:
|
||||
* Fixing a warning from deprecated get_platform function.
|
||||
* Applied black
|
||||
* some cleanups
|
||||
* removed the package module (not used)
|
||||
* more tests
|
||||
* logging slightly improved
|
||||
- Actually run tests, skipping one test that requires network.
|
||||
- Stop installing easydev_buildPackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 06:34:04 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-easydev
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,11 +18,10 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-easydev
|
||||
Version: 0.9.38
|
||||
Version: 0.12.0
|
||||
Release: 0
|
||||
Summary: Common utilities to ease the development of Python packages
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/cokelaer/easydev
|
||||
Source: https://files.pythonhosted.org/packages/source/e/easydev/easydev-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -33,7 +32,7 @@ Requires: python-colorlog
|
||||
Requires: python-pexpect
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Recommends: python-line_profiler
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
@@ -41,9 +40,9 @@ BuildRequires: %{python_module colorama}
|
||||
BuildRequires: %{python_module colorlog}
|
||||
BuildRequires: %{python_module line_profiler}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pexpect}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -57,30 +56,29 @@ also as an incubator for other packages and is stable.
|
||||
%prep
|
||||
%setup -q -n easydev-%{version}
|
||||
sed -i -e '/^#!\//, 1d' easydev/appdirs.py
|
||||
rm -r easydev/share/__pycache__
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/easydev_buildPackage
|
||||
%python_clone -a %{buildroot}%{_bindir}/browse
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Requires network access
|
||||
%pytest -k 'not test_isurl'
|
||||
|
||||
%post
|
||||
%python_install_alternative easydev_buildPackage
|
||||
%python_install_alternative browse
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative easydev_buildPackage
|
||||
%python_uninstall_alternative browse
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license COPYING
|
||||
%python_alternative %{_bindir}/browse
|
||||
%python_alternative %{_bindir}/easydev_buildPackage
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user