rpms/python-markdown/F-9 import.log, NONE, 1.1 markdown, NONE, 1.1 python-markdown.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Thomas Moschny (thm)
fedora-extras-commits at redhat.com
Tue Aug 12 08:08:35 UTC 2008
- Previous message (by thread): rpms/pisg/devel import.log, NONE, 1.1 pisg-0.72-systemdirs.patch, NONE, 1.1 pisg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/pisg/F-9 pisg-0.72-systemdirs.patch, NONE, 1.1 pisg.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: thm
Update of /cvs/pkgs/rpms/python-markdown/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28962/F-9
Modified Files:
.cvsignore sources
Added Files:
import.log markdown python-markdown.spec
Log Message:
Initial import.
--- NEW FILE import.log ---
python-markdown-1_7-1_fc9:F-9:python-markdown-1.7-1.fc9.src.rpm:1218528470
--- NEW FILE markdown ---
#!/usr/bin/python
""" Run Markdown from the command line. """
import sys
from markdown import parse_options, markdownFromFile
options = parse_options()
#if os.access(inFile, os.R_OK):
if not options:
sys.exit(0)
markdownFromFile(**options)
--- NEW FILE python-markdown.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define srcname markdown
Name: python-markdown
Version: 1.7
Release: 1%{?dist}
Summary: Markdown implementation in Python
Group: Development/Languages
License: GPLv2 or BSD
URL: http://www.freewisdom.org/projects/python-markdown/
Source0: http://downloads.sourceforge.net/%{name}/%{srcname}-%{version}.tar.gz
Source1: markdown
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
This is a Python implementation of John Gruber's Markdown. It is
almost completely compliant with the reference implementation, though
there are a few known issues.
%prep
%setup -q -n %{srcname}-%{version}
# remove shebang
%{__sed} -i -e '/#! *\/usr\/bin\/.*python.*/{1D}' markdown.py
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__install} -p -m 0755 -D %{SOURCE1} %{buildroot}%{_bindir}/markdown
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGE_LOG.txt README.txt README.html
%{python_sitelib}/*
%{_bindir}/markdown
%changelog
* Mon Aug 4 2008 Thomas Moschny <thomas.moschny at gmx.de> - 1.7-1
- New package.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-markdown/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 11 Aug 2008 17:30:16 -0000 1.1
+++ .cvsignore 12 Aug 2008 08:08:05 -0000 1.2
@@ -0,0 +1 @@
+markdown-1.7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-markdown/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 11 Aug 2008 17:30:16 -0000 1.1
+++ sources 12 Aug 2008 08:08:05 -0000 1.2
@@ -0,0 +1 @@
+4297ebcdedc92b4bc7bc9ecd01053565 markdown-1.7.tar.gz
- Previous message (by thread): rpms/pisg/devel import.log, NONE, 1.1 pisg-0.72-systemdirs.patch, NONE, 1.1 pisg.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/pisg/F-9 pisg-0.72-systemdirs.patch, NONE, 1.1 pisg.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list