Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37816977
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-jq

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin