diff --git a/.gitignore b/.gitignore index 9e16dd4..3d0e712 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,7 @@ /flit-3.2.0.tar.gz /flit-3.3.0.tar.gz /flit-3.4.0.tar.gz +/flit-3.5.1.tar.gz +/flit-3.7.1.tar.gz +/flit-3.8.0.tar.gz +/flit-3.9.0.tar.gz diff --git a/classifiers.lst b/classifiers.lst index ca7074b..5b79770 100644 --- a/classifiers.lst +++ b/classifiers.lst @@ -37,8 +37,19 @@ Environment :: GPU :: NVIDIA CUDA :: 9.2 Environment :: GPU :: NVIDIA CUDA :: 10.0 Environment :: GPU :: NVIDIA CUDA :: 10.1 Environment :: GPU :: NVIDIA CUDA :: 10.2 +Environment :: GPU :: NVIDIA CUDA :: 11 Environment :: GPU :: NVIDIA CUDA :: 11.0 Environment :: GPU :: NVIDIA CUDA :: 11.1 +Environment :: GPU :: NVIDIA CUDA :: 11.2 +Environment :: GPU :: NVIDIA CUDA :: 11.3 +Environment :: GPU :: NVIDIA CUDA :: 11.4 +Environment :: GPU :: NVIDIA CUDA :: 11.5 +Environment :: GPU :: NVIDIA CUDA :: 11.6 +Environment :: GPU :: NVIDIA CUDA :: 11.7 +Environment :: GPU :: NVIDIA CUDA :: 11.8 +Environment :: GPU :: NVIDIA CUDA :: 12 +Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.0 +Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.1 Environment :: Handhelds/PDA's Environment :: MacOS X Environment :: MacOS X :: Aqua @@ -52,6 +63,9 @@ Environment :: Web Environment Environment :: Web Environment :: Buffet Environment :: Web Environment :: Mozilla Environment :: Web Environment :: ToscaWidgets +Environment :: WebAssembly +Environment :: WebAssembly :: Emscripten +Environment :: WebAssembly :: WASI Environment :: Win32 (MS Windows) Environment :: X11 Applications Environment :: X11 Applications :: GTK @@ -60,8 +74,12 @@ Environment :: X11 Applications :: KDE Environment :: X11 Applications :: Qt Framework :: AWS CDK Framework :: AWS CDK :: 1 +Framework :: AWS CDK :: 2 Framework :: AiiDA Framework :: Ansible +Framework :: AnyIO +Framework :: Apache Airflow +Framework :: Apache Airflow :: Provider Framework :: AsyncIO Framework :: BEAT Framework :: BFG @@ -72,11 +90,14 @@ Framework :: Buildout :: Extension Framework :: Buildout :: Recipe Framework :: CastleCMS Framework :: CastleCMS :: Theme +Framework :: Celery Framework :: Chandler Framework :: CherryPy Framework :: CubicWeb Framework :: Dash +Framework :: Datasette Framework :: Django +Framework :: Django :: 1 Framework :: Django :: 1.4 Framework :: Django :: 1.5 Framework :: Django :: 1.6 @@ -85,30 +106,61 @@ Framework :: Django :: 1.8 Framework :: Django :: 1.9 Framework :: Django :: 1.10 Framework :: Django :: 1.11 +Framework :: Django :: 2 Framework :: Django :: 2.0 Framework :: Django :: 2.1 Framework :: Django :: 2.2 +Framework :: Django :: 3 Framework :: Django :: 3.0 Framework :: Django :: 3.1 Framework :: Django :: 3.2 +Framework :: Django :: 4 +Framework :: Django :: 4.0 +Framework :: Django :: 4.1 +Framework :: Django :: 4.2 Framework :: Django CMS Framework :: Django CMS :: 3.4 Framework :: Django CMS :: 3.5 Framework :: Django CMS :: 3.6 Framework :: Django CMS :: 3.7 Framework :: Django CMS :: 3.8 +Framework :: Django CMS :: 3.9 +Framework :: Django CMS :: 3.10 +Framework :: Django CMS :: 3.11 +Framework :: Django CMS :: 4.0 +Framework :: Django CMS :: 4.1 +Framework :: FastAPI Framework :: Flake8 Framework :: Flask +Framework :: Hatch Framework :: Hypothesis Framework :: IDLE Framework :: IPython Framework :: Jupyter +Framework :: Jupyter :: JupyterLab +Framework :: Jupyter :: JupyterLab :: 1 +Framework :: Jupyter :: JupyterLab :: 2 +Framework :: Jupyter :: JupyterLab :: 3 +Framework :: Jupyter :: JupyterLab :: 4 +Framework :: Jupyter :: JupyterLab :: Extensions +Framework :: Jupyter :: JupyterLab :: Extensions :: Mime Renderers +Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt +Framework :: Jupyter :: JupyterLab :: Extensions :: Themes Framework :: Kedro Framework :: Lektor Framework :: Masonite Framework :: Matplotlib Framework :: Nengo Framework :: Odoo +Framework :: Odoo :: 8.0 +Framework :: Odoo :: 9.0 +Framework :: Odoo :: 10.0 +Framework :: Odoo :: 11.0 +Framework :: Odoo :: 12.0 +Framework :: Odoo :: 13.0 +Framework :: Odoo :: 14.0 +Framework :: Odoo :: 15.0 +Framework :: Odoo :: 16.0 Framework :: Opps Framework :: Paste Framework :: Pelican @@ -128,7 +180,12 @@ Framework :: Plone :: 5.3 Framework :: Plone :: 6.0 Framework :: Plone :: Addon Framework :: Plone :: Core +Framework :: Plone :: Distribution Framework :: Plone :: Theme +Framework :: Pycsou +Framework :: Pydantic +Framework :: Pydantic :: 1 +Framework :: Pydantic :: 2 Framework :: Pylons Framework :: Pyramid Framework :: Pytest @@ -151,6 +208,9 @@ Framework :: Twisted Framework :: Wagtail Framework :: Wagtail :: 1 Framework :: Wagtail :: 2 +Framework :: Wagtail :: 3 +Framework :: Wagtail :: 4 +Framework :: Wagtail :: 5 Framework :: ZODB Framework :: Zope Framework :: Zope2 @@ -159,6 +219,8 @@ Framework :: Zope :: 2 Framework :: Zope :: 3 Framework :: Zope :: 4 Framework :: Zope :: 5 +Framework :: aiohttp +Framework :: cocotb Framework :: napari Framework :: tox Intended Audience :: Customer Service @@ -234,6 +296,7 @@ License :: OSI Approved :: Motosoto License License :: OSI Approved :: Mozilla Public License 1.0 (MPL) License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1) License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) +License :: OSI Approved :: Mulan Permissive Software License v2 (MulanPSL-2.0) License :: OSI Approved :: Nethack General Public License License :: OSI Approved :: Nokia Open Source License License :: OSI Approved :: Open Group Test Suite License @@ -330,6 +393,7 @@ Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: Microsoft :: Windows :: Windows 8 Operating System :: Microsoft :: Windows :: Windows 8.1 Operating System :: Microsoft :: Windows :: Windows 10 +Operating System :: Microsoft :: Windows :: Windows 11 Operating System :: Microsoft :: Windows :: Windows 95/98/2000 Operating System :: Microsoft :: Windows :: Windows CE Operating System :: Microsoft :: Windows :: Windows NT/2000 @@ -370,6 +434,7 @@ Programming Language :: C# Programming Language :: C++ Programming Language :: Cold Fusion Programming Language :: Cython +Programming Language :: D Programming Language :: Delphi/Kylix Programming Language :: Dylan Programming Language :: Eiffel @@ -422,6 +487,8 @@ Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 +Programming Language :: Python :: 3.11 +Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: IronPython @@ -522,6 +589,9 @@ Topic :: Documentation :: Sphinx Topic :: Education Topic :: Education :: Computer Aided Instruction (CAI) Topic :: Education :: Testing +Topic :: File Formats +Topic :: File Formats :: JSON +Topic :: File Formats :: JSON :: JSON Schema Topic :: Games/Entertainment Topic :: Games/Entertainment :: Arcade Topic :: Games/Entertainment :: Board Games @@ -754,4 +824,5 @@ Topic :: Text Processing :: Markup :: VRML Topic :: Text Processing :: Markup :: XML Topic :: Text Processing :: Markup :: reStructuredText Topic :: Utilities +Typing :: Stubs Only Typing :: Typed \ No newline at end of file diff --git a/python-flit.spec b/python-flit.spec index 68f30e1..2543083 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -1,141 +1,132 @@ -# circular build dependency on requests-download and testpath -%bcond_with tests +# Tests are enabled by default +# RHEL does not have all the test dependencies +%bcond tests %[! %[%{defined rhel} && %{undefined epel}]] -%global srcname flit +Name: python-flit +Version: 3.9.0 +Release: 1%{?dist} +Summary: Simplified packaging of Python modules -Name: python-%{srcname} -Version: 3.4.0 -Release: 1%{?dist} -Summary: Simplified packaging of Python modules +# ./flit/log.py: Apache-2.0 +# ./flit/upload.py: PSF-2.0 +License: BSD-3-Clause AND Apache-2.0 AND PSF-2.0 -# ./flit/log.py under ASL 2.0 license -# ./flit/upload.py under PSF license -License: BSD and ASL 2.0 and Python - -URL: https://flit.readthedocs.io/en/latest/ -Source0: https://github.com/takluyver/flit/archive/%{version}/%{srcname}-%{version}.tar.gz +URL: https://flit.pypa.io/ +Source0: https://github.com/pypa/flit/archive/%{version}/flit-%{version}.tar.gz # For the tests -Source1: https://pypi.org/pypi?%3Aaction=list_classifiers#/classifiers.lst - -BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: pyproject-rpm-macros >= 0-40 -BuildRequires: python3-pip +Source1: https://pypi.org/pypi?%3Aaction=list_classifiers#/classifiers.lst -# Runtime deps needed to build self -BuildRequires: python3-tomli +BuildArch: noarch +BuildRequires: python3-devel %if %{with tests} -# Runtime deps, others -BuildRequires: python3-requests -BuildRequires: python3-docutils -BuildRequires: python3-pygments -BuildRequires: python3-tomli-w - -# Test deps -BuildRequires: /usr/bin/python -BuildRequires: python3-pytest -BuildRequires: python3-responses - -# Test deps that require flit to build: -BuildRequires: python3-testpath -BuildRequires: python3-requests-download +BuildRequires: /usr/bin/python +BuildRequires: python3-pytest +BuildRequires: python3-responses +BuildRequires: python3-testpath +BuildRequires: python3-requests-download +BuildRequires: git-core %endif %global _description %{expand: Flit is a simple way to put Python packages and modules on PyPI. - -Flit only creates packages in the new 'wheel' format. People using older -versions of pip (<1.5) or easy_install will not be able to install them. +It tries to require less thought about packaging and help you avoid common +mistakes. Flit packages a single importable module or package at a time, using the import name as the name on PyPI. All sub-packages and data files within a package are -included automatically. - -Flit requires Python 3, but you can use it to distribute modules for Python 2, -so long as they can be imported on Python 3.} +included automatically.} %description %_description -%package -n python3-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python3-%{srcname}} -Requires: python3-%{srcname}-core = %{version}-%{release} +%package -n python3-flit +Summary: %{summary} # https://pypi.python.org/pypi/tornado # ./flit/log.py unknown version -Provides: bundled(python3dist(tornado)) - -# soft dependency: (WARNING) Cannot analyze code. Pygments package not found. -Recommends: python3-pygments +Provides: bundled(python3dist(tornado)) -%description -n python3-%{srcname} %_description +%description -n python3-flit %_description -%package -n python3-%{srcname}-core -Summary: PEP 517 build backend for packages using Flit -%{?python_provide:%python_provide python3-%{srcname}-core} -Conflicts: python3-%{srcname} < 2.1.0-2 +%prep +%autosetup -p1 -n flit-%{version} -%description -n python3-%{srcname}-core -This provides a PEP 517 build backend for packages using Flit. -The only public interface is the API specified by PEP 517, -at flit_core.buildapi. +%generate_buildrequires +%pyproject_buildrequires -%prep -%autosetup -p1 -n %{srcname}-%{version} %build -export FLIT_NO_NETWORK=1 - -# first, build flit_core with self -cd flit_core %pyproject_wheel -cd - -# build of the main flit (needs flit_core) -export PYTHONPATH=$PWD:$PWD/flit_core -%pyproject_wheel %install %pyproject_install +%pyproject_save_files flit -# don't ship tests in flit_core package -# if upstream decides to change the installation, it can be removed: -# https://github.com/takluyver/flit/issues/403 -rm -r %{buildroot}%{python3_sitelib}/flit_core/tests/ -%if %{with tests} %check +%pyproject_check_import + +%if %{with tests} # flit attempts to download list of classifiers from PyPI, but not if it's cached # test_invalid_classifier fails without the list mkdir -p fake_cache/flit cp %{SOURCE1} fake_cache/flit export XDG_CACHE_HOME=$PWD/fake_cache +# This also runs tests of flit_core but deselecting them breaks the flit tests, +# so we run them anyway: %pytest %endif -%files -n python3-%{srcname} +%files -n python3-flit -f %{pyproject_files} %license LICENSE %doc README.rst -%{python3_sitelib}/flit-*.dist-info/ -%{python3_sitelib}/flit/ %{_bindir}/flit -%files -n python3-%{srcname}-core -%license LICENSE -%doc flit_core/README.rst -%{python3_sitelib}/flit_core-*.dist-info/ -%{python3_sitelib}/flit_core/ +%changelog +* Thu Jun 08 2023 Miro Hrončok - 3.9.0-1 +- Update to 3.9.0, fixes rhbz#2203614 +- Drop unhelpful Recommends of python3-pygments +* Fri May 19 2023 Miro Hrončok - 3.8.0-3 +- Fork python-flit-core from the python-flit package + +* Fri Jan 20 2023 Fedora Release Engineering - 3.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Nov 10 2022 Tomáš Hrnčiar - 3.8.0-1 +- Update to 3.8.0 +- Fixes: rhbz#2140390 + +* Fri Jul 22 2022 Fedora Release Engineering - 3.7.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jun 26 2022 Maxwell G - 3.7.1-4 +- Removed unnecessarily vendored tomli. + +* Tue Jun 14 2022 Python Maint - 3.7.1-3 +- Rebuilt for Python 3.11 + +* Mon Jun 13 2022 Python Maint - 3.7.1-2 +- Bootstrap for Python 3.11 + +* Wed Mar 16 2022 Charalampos Stratakis - 3.7.1-1 +- Update to 3.7.1 +- Fixes: rhbz#2057214 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Nov 29 2021 Tomáš Hrnčiar - 3.5.1-1 +- Update to 3.5.1 -%changelog * Tue Oct 26 2021 Tomáš Hrnčiar - 3.4.0-1 - Update to 3.4.0 diff --git a/sources b/sources index 4d484ef..2c3625c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flit-3.4.0.tar.gz) = 5793854e93f4abb477c19830d71d43dbacae89e4a1259756810e5bd91febd827efac5c6e9e8517653d000f3c9d190c409f0353e2123cab5621dc07feeccf3ed4 +SHA512 (flit-3.9.0.tar.gz) = 1218756afcb79af1df0020548102ba29245a9fa998d332357a2a6a2b7b543dda835918f4811ba343e86e1f7c6b45a6dcafe26f8e905c1e49734141f7d4e9f4fc