[python-fastimport] initial version

Dan Callaghan dcallagh at fedoraproject.org
Fri Oct 14 00:22:20 UTC 2011


commit 5a5160f532baacfdc71973d13dc075d4f200b0b2
Author: Dan Callaghan <dcallagh at redhat.com>
Date:   Thu Oct 6 09:31:15 2011 +1000

    initial version

 .gitignore             |    1 +
 python-fastimport.spec |   41 +++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fa5d58f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-fastimport-0.9.0.tar.gz
diff --git a/python-fastimport.spec b/python-fastimport.spec
new file mode 100644
index 0000000..27f655e
--- /dev/null
+++ b/python-fastimport.spec
@@ -0,0 +1,41 @@
+Name:           python-fastimport
+Version:        0.9.0
+Release:        1%{?dist}
+Summary:        Python parser for fastimport (VCS interchange format)
+Group:          Development/Languages
+License:        GPLv2+
+URL:            https://launchpad.net/python-fastimport
+Source0:        http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  python-setuptools-devel
+BuildRequires:  python-testtools
+BuildRequires:  python-nose
+
+%description
+This is the Python parser that was originally developed for bzr-fastimport, but 
+extracted so it can be used by other projects.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%check
+PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib} nosetests fastimport
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.txt
+%{python_sitelib}/fastimport*
+
+%changelog
+* Thu Jun 16 2011 Dan Callaghan <dcallagh at redhat.com> - 0.9.0-1
+- initial version
diff --git a/sources b/sources
index e69de29..c702539 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+71ee728023f7d9a42f57436edeae03fb  python-fastimport-0.9.0.tar.gz


More information about the scm-commits mailing list