Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37857172
en ru br
ALT Linux repos
S:0.3.0-alt3

Group :: Development/Python3
RPM: python3-module-yelp-bytes

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname yelp_bytes

Name:           python3-module-yelp-bytes
Version:        0.3.0
Release:        alt3
Summary:        Utilities for dealing with byte strings, invented and maintained by Yelp.
Group:          Development/Python3
License:        Unlicense
URL:            https://pypi.python.org/pypi/yelp_bytes
BuildArch:      noarch

# https://github.com/Yelp/yelp_bytes.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools
BuildRequires: python3(yelp_encodings)
BuildRequires: python3(pytest)

%description
yelp_bytes contains several utility functions to help ensure
that the data you're using is always either Unicode or byte strings,
taking care of the edge cases for you so that you don't have to worry about them.
We handle ambiguous bytestrings by leveraging our our "internet" encoding.
This allows you to write functions that need unicode but can accept arbitrary values without crashing.

%prep
%setup

%build
%python3_build

%install
%python3_install

%check
py.test3

%files
%doc UNLICENSE
%doc README.md
%python3_sitelibdir/%{oname}.py
%python3_sitelibdir/__pycache__/%{oname}.*
%python3_sitelibdir/%oname-%version-py3*.egg-info

%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