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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname combomethod

Name: python3-module-%oname
Version: 1.0.10
Release: alt2
Summary: Decorator indicating a method is both a class and an instance method
License: Apache-2.0
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.python.org/pypi/combomethod

Source: %name-%version.tar

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

%description
Python has instance methods, class methods ( at classmethod),
and static methods ( at staticmethod).
But it doesn't have a clear way to invoke a method on
either a class or its instances. With combomethod, it does.

%prep
%setup

%build
%python3_build_debug

%install
%python3_install

%check
export PYTHONPATH=$PWD
py.test3 -vv

%files
%doc *.rst
%python3_sitelibdir/*

%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