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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define pypi_name gphoto2

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

Summary: Python bindings to GPhoto libraries
Group: Development/Python3
License: GPL-3.0
Url: https://pypi.python.org/pypi/%pypi_name

Source: https://pypi.io/packages/source/g/%pypi_name/%pypi_name-%version.tar.gz

%define gphoto_ver 2.5.10
BuildRequires: libgphoto2-devel >= %gphoto_ver swig
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3(wheel) python3(setuptools)

%description
python-gphoto2 is a comprehensive Python3 interface (or binding) to
libgphoto2_. It is built using SWIG_ to automatically generate the
interface code. This gives direct access to nearly all the libgphoto2_
functions, but sometimes in a rather un-Pythonic manner.

%prep
%setup -n %pypi_name-%version

%build
%pyproject_build

%install
%pyproject_install

%files
%python3_sitelibdir/%pypi_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%doc README.rst


%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