Name: python-fastapi-pagination Version: 0.15.1 Release: %autorelease Summary: FastAPI pagination utilities with ORM support License: MIT URL: https://github.com/uriyyo/fastapi-pagination # Back to underscores to match the PyPI file you downloaded Source: %{pypi_source fastapi_pagination} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: FastAPI Pagination provides easy, extensible pagination for FastAPI applications with support for multiple ORMs and async DB layers.} %description %_description %package -n python3-fastapi-pagination Summary: %{summary} %description -n python3-fastapi-pagination %_description # Only the 'sqlalchemy' extra is packaged because other extras require dependencies # currently unavailable in Fedora (e.g., databases, tortoise, odmantic, sqlakeyset, etc.). %pyproject_extras_subpkg -n python3-fastapi-pagination sqlalchemy %prep %autosetup -p1 -n fastapi_pagination-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l fastapi_pagination %check # The ext/ modules depend on optional third-party libraries that are not packaged in Fedora. # We exclude them here so that the minimal smoke-test passes without requiring unavailable deps. %pyproject_check_import -e 'fastapi_pagination.ext*' %files -n python3-fastapi-pagination -f %{pyproject_files} %doc README.md %changelog %autochangelog