forked from pool/python-pypiserver
- Update to 2.3.2:
* use importlib_resources only when needed (#627) * use json client for update (#588) * solve deprecated types-pkg_resources (#589) * Update Deprecated Compose Commands for Pypiserver Services (#583) * Updated HTML formatting (#580) (#581) * deprecated setuptools.py when building in package.sh (#568) * use the right env variables in release-tag workflow (#569) * Handle tar.xz archives (#536) * support Python 3.12 (#539) * add tar xz test case (#538) * specify long_description as MD type (#532) * simpler release_tag action (#530) * Json Info for the same version (#511) * Switch default hash-algo to sha256 (#459) * cleanup release process (#516) * TOC internal links (#520) - Correct URL. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypiserver?expand=0&rev=17
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pypiserver
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
@@ -25,11 +26,11 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pypiserver%{psuffix}
|
||||
Version: 1.5.2
|
||||
Version: 2.3.2
|
||||
Release: 0
|
||||
Summary: Minimal PyPI server for uploading & downloading packages with pip/easy_install
|
||||
License: MIT
|
||||
URL: https://github.com/pypiserver
|
||||
URL: https://github.com/pypiserver/pypiserver
|
||||
Source: https://github.com/pypiserver/pypiserver/archive/v%{version}.tar.gz#/pypiserver-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip >= 7}
|
||||
BuildRequires: %{python_module setuptools-git >= 0.3}
|
||||
@@ -38,19 +39,22 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel >= 0.25.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-packaging
|
||||
Requires: python-passlib >= 1.6
|
||||
Requires: python-setuptools
|
||||
Requires: python-pip
|
||||
%if 0%{?python_version_nodots} < 312
|
||||
Requires: python-importlib-resources
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module passlib >= 1.6}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
BuildRequires: %{python_module build >= 1.2}
|
||||
BuildRequires: %{python_module pypiserver = %{version}}
|
||||
BuildRequires: %{python_module pytest >= 3.5}
|
||||
BuildRequires: %{python_module tox}
|
||||
BuildRequires: %{python_module twine}
|
||||
BuildRequires: %{python_module WebTest}
|
||||
%endif
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -90,10 +94,10 @@ rm -f pytest.ini
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/pypiserver
|
||||
%{python_sitelib}/pypiserver-%{version}*-info
|
||||
%{python_sitelib}/pypiserver-%{version}.dist-info
|
||||
%python_alternative %{_bindir}/pypi-server
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user