Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37863738
en ru br
ALT Linux repositórios
S:5.8.0-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname ujson

Name: python3-module-%oname
Version: 5.7.0
Release: alt1

Summary: Ultra fast JSON encoder and decoder for Python

License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/ujson

# https://github.com/esnme/ultrajson.git

Source0: %name-%version.tar

BuildRequires(pre): rpm-build-python3

BuildRequires: gcc-c++ libdouble-conversion-devel

BuildRequires: python3-module-setuptools
BuildRequires: python3-module-setuptools_scm
BuildRequires: python3-module-wheel

%description
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
bindings for Python.

%prep
%setup
# Remove bundled double-conversion
rm -vrf deps

%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
export UJSON_BUILD_NO_STRIP=1
export UJSON_BUILD_DC_INCLUDES='%{_includedir}/double-conversion'
export UJSON_BUILD_DC_LIBS='-ldouble-conversion'
%pyproject_build

%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%pyproject_install

%check
%tox_create_default_config
%tox_check_pyproject

%files
%doc *.md
%python3_sitelibdir/%oname.cpython-*.so
%python3_sitelibdir/%oname-%version.dist-info

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009