diff --git a/atpublic-1.0.tar.gz b/atpublic-1.0.tar.gz deleted file mode 100644 index 65a7b82..0000000 --- a/atpublic-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7dca670499e9a9d3aae5a8914bc799475fe24be3bcd29c8129642dda665f7a44 -size 13611 diff --git a/atpublic-2.1.1.tar.gz b/atpublic-2.1.1.tar.gz new file mode 100644 index 0000000..896b6b7 --- /dev/null +++ b/atpublic-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:048dec41e2abbea53b3296e469c3e1172c2062f0524e4365a1441da990d23185 +size 14953 diff --git a/python-atpublic.changes b/python-atpublic.changes index 36f2950..019abbf 100644 --- a/python-atpublic.changes +++ b/python-atpublic.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Nov 30 07:48:01 UTC 2020 - John Vandenberg + +- Update to v2.1.1 + * Clean up some typing problems + * Reorganized docs and tests out of the code directory + * Fix the Windows CI tests + +- from v2.0 + * Drop Python 3.4 and 3.5; add Python 3.8 and 3.9. + * The C implementation is removed + * Added an ``@private`` decorator + * Build and test on Windows in addition to Linux + * Fix the doctests so that they actually run and pass! + * Add type annotations and API reference documentation + * Internal improvements and modernizations + ------------------------------------------------------------------- Fri May 10 03:49:45 PM UTC 2019 - John Vandenberg diff --git a/python-atpublic.spec b/python-atpublic.spec index ef9d837..4a67731 100644 --- a/python-atpublic.spec +++ b/python-atpublic.spec @@ -1,7 +1,7 @@ # # spec file for package python-atpublic # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,51 +12,54 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-atpublic -Version: 1.0 +Version: 2.1.1 Release: 0 -License: Apache-2.0 Summary: @public decorator for populating __all__ -Url: http://public.readthedocs.io/ +License: Apache-2.0 Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/a/atpublic/atpublic-%{version}.tar.gz -BuildRequires: python-rpm-macros +URL: http://public.readthedocs.io/ +Source: https://gitlab.com/warsaw/public/-/archive/%{version}/public-%{version}.tar.gz#/atpublic-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes - +BuildRequires: python-rpm-macros +Requires: python-typing_extensions +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module sybil} +BuildRequires: %{python_module typing_extensions} +# /SECTION %python_subpackages %description public -- @public for populating __all__. %prep -%setup -q -n atpublic-%{version} +%setup -q -n public-%{version} +rm setup.cfg %build -export CFLAGS="%{optflags}" -export ATPUBLIC_BUILD_EXTENSION=1 %python_build %install -export ATPUBLIC_BUILD_EXTENSION=1 %python_install -%{python_expand rm -r %{buildroot}%{$python_sitearch}/public/tests -%fdupes %{buildroot}%{$python_sitearch} -} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test --test-suite=public.tests +%pytest %files %{python_files} -%doc NEWS.rst README.rst -%license LICENSE.txt -%{python_sitearch}/* +%doc docs/NEWS.rst README.rst +%license LICENSE +%{python_sitelib}/* %changelog