Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17508 | Посещений: 15303898
en ru br
Репозитории ALT
S:0.20.3-alt1.git20140717.2
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-facebook_utils

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname facebook_utils

%def_with python3

Name: python-module-%oname
Version: 0.20.3
Release: alt1.git20140717
Summary: Simple utilites for facebook integration
License: BSD
Group: Development/Python
Url: https://pypi.python.org/pypi/facebook_utils/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# https://github.com/jvanasco/facebook_utils.git

Source: %name-%version.tar
BuildArch: noarch

BuildPreReq: python-devel python-module-setuptools
%if_with python3
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools
BuildPreReq: python-tools-2to3
%endif

%description
A collection of utilities for integrating user accounts with
Facebook.com.

Right now this handles oauth and graph operations.

%package -n python3-module-%oname
Summary: Simple utilites for facebook integration
Group: Development/Python3

%description -n python3-module-%oname
A collection of utilities for integrating user accounts with
Facebook.com.

Right now this handles oauth and graph operations.

%prep
%setup

%if_with python3
cp -fR . ../python3
find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' +
%endif

%build
%python_build_debug

%if_with python3
pushd ../python3
%python3_build_debug
popd
%endif

%install
%python_install

%if_with python3
pushd ../python3
%python3_install
popd
%endif

%files
%doc *.txt *.md
%python_sitelibdir/*

%if_with python3
%files -n python3-module-%oname
%doc *.txt *.md
%python3_sitelibdir/*
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin