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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define  modulename pyperclip

Name:    python3-module-%modulename
Version: 1.8.2
Release: alt1

Summary: Python module for cross-platform clipboard functions.

License: BSD-3-Clause
Group:   Development/Python3
URL:     https://github.com/asweigart/pyperclip

Packager: Grigory Ustinov <grenka at altlinux.org>

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-sphinx

BuildArch: noarch

Source:  %modulename-%version.tar

%description
%summary

%package doc
Summary: Documentation for %modulename
Group: Development/Documentation

%description doc
Documentation for %modulename.

%prep
%setup -n %modulename-%version

# Fix ends of line encoding

sed -i 's/\r$//' README.md docs/*

%build
%python3_build
# generate html docs
PYTHONPATH=${PWD} sphinx-build-3 docs html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}

%install
%python3_install

%files
%python3_sitelibdir/%modulename/
%python3_sitelibdir/*.egg-info
%doc *.md

%files doc
%doc html

%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