Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37563472
en ru br
ALT Linux repos
S:1.6.0-alt1

Group :: Development/Python3
RPM: python3-module-jq

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define pypi_name jq

%def_with check

Name: python3-module-%pypi_name
Version: 1.4.1
Release: alt1

Summary: Python bindings for jq
License: BSD-2-Clause
Group: Development/Python3
Url: https://pypi.org/project/jq/
Vcs: https://github.com/mwilliamson/jq.py.git

Source0: %name-%version.tar
Source1: setup.py

BuildRequires(pre): rpm-build-python3

BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3(Cython)

BuildRequires: libjq-devel

%if_with check
BuildRequires: python3(pytest)
%endif

%py3_provides %pypi_name

%description
jq is a lightweight and flexible JSON processor.

This project contains Python bindings for jq.

%prep
%setup

# remove vendored libraries

rm -fvr deps

# provide self-written building instructions

cp -fv %SOURCE1 .
rm -fv pyproject.toml

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check_pyproject

%files
%doc *.rst
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin