Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37860514
en ru br
ALT Linux repositórios
4.1: 0.22-alt2.1
4.0: 0.22-alt1
3.0: 0.22-alt1

Group :: Desenvolvimento/Python
RPM: Pymacs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: Pymacs
Version: 0.22
Release: alt1

Summary: Two-way communication between Python and Emacs
Source0: Pymacs.tar.gz
License: GPL
Group: Development/Python
Requires: python
Requires: emacs
Packager: Andrey Khavryuchenko <akhavr at altlinux.ru>
Url: http://www.iro.umontreal.ca/~pinard/pymacs/
BuildRequires: python-devel
BuildRequires: emacs

%description
Pymacs is a powerful tool which, once started from Emacs, allows both-way
communication between Emacs Lisp and Python. Pymacs aims Python as an
extension language for Emacs rather than the other way around, and this
assymetry is reflected in some design choices. Within Emacs Lisp code,
one may load and use Python modules. Python functions may themselves use
Emacs services, and handle Emacs Lisp objects kept in Emacs Lisp space.

%prep
%setup -n Pymacs-%version -q

%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
mkdir -p $RPM_BUILD_ROOT/%_datadir/emacs/site-lisp/pymacs
./setup -l $RPM_BUILD_ROOT/%_datadir/emacs/site-lisp/pymacs

mkdir -p $RPM_BUILD_ROOT/%_sysconfdir/emacs/site-start.d/
echo <<EOF > $RPM_BUILD_ROOT/%_sysconfdir/emacs/site-start.d/pymacs.el
(autoload 'pymacs-load "pymacs" nil t)
(autoload 'pymacs-eval "pymacs" nil t)
(autoload 'pymacs-apply "pymacs")
(autoload 'pymacs-call "pymacs")
EOF

%files -f INSTALLED_FILES
%_sysconfdir/emacs/site-start.d/pymacs.el
%_libdir/python*/site-packages/Pymacs/*pyo
%_libdir/python*/site-packages/Pymacs/Nn/*pyo
%_libdir/python*/site-packages/Pymacs/Rebox/*pyo
%_datadir/emacs/site-lisp/pymacs
%doc doc TODO README THANKS README.html ChangeLog

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009