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

Group :: Development/Python3
RPM: python3-module-django-facebook-comments

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname django-facebook-comments

%def_with bootstrap

Name: python3-module-%oname
Version: 0.1.5
Release: alt3.1

Summary: Drop-in facebook comments for django
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/django-facebook-comments/
BuildArch: noarch

# hg clone https://bitbucket.org/sirpengi/django-facebook-comments

Source: %name-%version.tar
Patch: porting-on-python3.patch

BuildRequires(pre): rpm-build-python3

%add_python3_self_prov_path %buildroot%python3_sitelibdir/facebook_comments

%description
django-facebook-comments is a reusable Django app to place facebook
comment boxes in your templates.

This app basically provides two templatetags to use in your templates,
one which just places in a facebook comment box, and one which caches
the facebook comment box (using their api) so that content will be in
the rendered html (some people like this for SEO purposes).

%prep
%setup
%patch0 -p1

sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
   $(find ./ -name '*.py')

%build
%python3_build_debug

%install
%python3_install

%files
%doc *.rst dfc_test_app
%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