[python-setuptools_hg] Initial import (#720989).
kumarpraveen
kumarpraveen at fedoraproject.org
Fri Jul 15 00:12:24 UTC 2011
commit db5072ec84ee1867c62dfa046b236cf604861b7f
Author: Praveen <daredevil at localhost.localdomain>
Date: Fri Jul 15 05:41:44 2011 +0530
Initial import (#720989).
.gitignore | 1 +
python-setuptools_hg.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..459045c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/setuptools_hg-0.2.1.tar.gz
diff --git a/python-setuptools_hg.spec b/python-setuptools_hg.spec
new file mode 100644
index 0000000..d4f518d
--- /dev/null
+++ b/python-setuptools_hg.spec
@@ -0,0 +1,49 @@
+%global mod_name setuptools_hg
+
+Name: python-%{mod_name}
+Version: 0.2.1
+Release: 2%{?dist}
+Summary: Setuptools plugin for Mercurial version control
+
+Group: Development/Libraries
+License: GPLv2
+URL: http://pypi.python.org/pypi/%{mod_name}
+Source0: http://pypi.python.org/packages/source/s/%{mod_name}/%{mod_name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+
+%description
+setuptools_hg is a plugin for setuptools that enables setuptools to find files
+under the Mercurial version control system.It uses the Mercurial Python library
+by default and falls back to use the command line program ``hg``. That's
+especially useful inside virtualenvs that don't have access to the system wide
+installed Mercurial lib (e.g. when created with ``--no-site-packages``).
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+chmod -x LICENSE
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+
+%files
+%{python_sitelib}/%{mod_name}.*
+%{python_sitelib}/*.egg-info/
+
+%doc LICENSE PKG-INFO
+
+
+%changelog
+* Thu Jul 14 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.2.1-2
+- Add license file and some minor changes
+
+* Wed Jul 13 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.2.1-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..f47d197 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+797dbc30b4862e21aca737828cbbd5b3 setuptools_hg-0.2.1.tar.gz
More information about the scm-commits
mailing list