Blob Blame History Raw
Name:           python-pgspecial
Version:        1.13.0
Release:        %autorelease
Summary:        Python implementation of postgres meta (backslash) commands

License:        BSD
Source0:        %{pypi_source pgspecial}
BuildArch:      noarch

# Drop mock dev/test dependency, which is not actually used.

BuildRequires:  python3-devel

%global common_description %{expand:
This package provides an API to execute meta-commands (AKA “special”, or
“backslash commands”) on PostgreSQL.}

%description %{common_description}

%package -n     python3-pgspecial
Summary:        %{summary}

%description -n python3-pgspecial %{common_description}

%autosetup -p1 -n pgspecial-%{version}

%pyproject_buildrequires -t


%pyproject_save_files pgspecial

# Note that most tests will be skipped since there is not a postgres database
# we can connect to.

%files -n python3-pgspecial -f %{pyproject_files}
%license License.txt
%doc README.rst
%doc changelog.rst
%doc DEVELOP.rst