[pycscope] Initial import #806517

Ankur Sinha ankursinha at fedoraproject.org
Sat Mar 24 19:10:28 UTC 2012


commit 245072367b54edf91c7759ba9efd0029d8566638
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur at gmail.com>
Date:   Sun Mar 25 00:39:11 2012 +0530

    Initial import #806517

 .gitignore    |    1 +
 pycscope.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f719283 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pycscope-0.3.tar.gz
diff --git a/pycscope.spec b/pycscope.spec
new file mode 100644
index 0000000..21b7e1b
--- /dev/null
+++ b/pycscope.spec
@@ -0,0 +1,47 @@
+Name:           pycscope
+Version:        0.3
+Release:        3%{?dist}
+Summary:        Generates a cscope index of Python source trees
+
+License:        GPLv2
+URL:            http://pypi.python.org/pypi/%{name}/0.3
+Source0:        http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+# chmod 0644 to correct permissions
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+
+%description
+A python script to generate a cscope index from a Python source tree. %{name}
+uses Python's own parser and AST to generate the index, so it is a bit more
+accurate than plain cscope.
+
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc README LICENSE
+%{_bindir}/%{name}.py
+%{python_sitelib}/%{name}-%{version}-py?.?.egg-info
+
+
+%changelog
+* Sat Mar 24 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3-3
+- Removed rm commands https://bugzilla.redhat.com/show_bug.cgi?id=806517#c4
+
+* Sat Mar 24 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3-2
+- Changed to python2-devel
+
+* Sat Mar 24 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3-1
+- Initial rpmbuild
+
diff --git a/sources b/sources
index e69de29..1b7d28e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ec83c70bce31909cb3cdeae233c00374  pycscope-0.3.tar.gz


More information about the scm-commits mailing list