chandankumar pushed to python-wrapt (f22). "Initial import bz#1200955"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 04:50:56 UTC 2015


>From 688bbdd751a1f11f3a46f0f477e6c66c7b3e005e Mon Sep 17 00:00:00 2001
From: Chandan Kumar <chkumar246 at gmail.com>
Date: Mon, 30 Mar 2015 10:06:26 +0530
Subject: Initial import bz#1200955


diff --git a/.gitignore b/.gitignore
index e69de29..13434fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/1.10.4.tar.gz
diff --git a/python-wrapt.spec b/python-wrapt.spec
new file mode 100644
index 0000000..b7e2ca0
--- /dev/null
+++ b/python-wrapt.spec
@@ -0,0 +1,66 @@
+# Created by pyp2rpm-1.1.1
+%global sname wrapt
+
+Name:           python-%{sname}
+Version:        1.10.4
+Release:        4%{?dist}
+Summary:        A Python module for decorators, wrappers and monkey patching
+
+License:        BSD
+URL:            https://github.com/GrahamDumpleton/wrapt
+Source0:        https://github.com/GrahamDumpleton/%{sname}/archive/%{version}.tar.gz
+
+BuildRequires:  python2-devel
+
+%description
+The aim of the wrapt module is to provide a transparent object proxy
+for Python, which can be used as the basis for the construction of
+function wrappers and decorator functions.
+
+%package doc
+Summary:        Documentation for the wrapt module
+
+BuildRequires:  python-sphinx
+BuildRequires:  python-sphinx_rtd_theme
+
+%description doc
+Documentation for the wrapt module
+
+%prep
+%setup -q -n %{sname}-%{version}
+
+%build
+%{__python2} setup.py build
+# for docs
+pushd docs
+sphinx-build -b html -d build/doctrees . build/html
+popd
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%doc README
+%license LICENSE
+%{python2_sitearch}/%{sname}
+%{python2_sitearch}/%{sname}-%{version}-py?.?.egg-info
+
+%files doc
+%doc docs/build/html
+
+%changelog
+* Wed Mar 25 2015 Chandan Kumar <chkumar246 at gmail.com> - 1.10.4-4
+- Added doc files for doc subpackage
+
+* Wed Mar 25 2015 Chandan Kumar <chkumar246 at gmail.com> - 1.10.4-3
+- Fixed Docs
+
+* Tue Mar 24 2015 Chandan Kumar <chkumar246 at gmail.com> - 1.10.4-2
+- Removed cflags and group section fro doc subpackage
+
+* Tue Mar 24 2015 Chandan Kumar <chkumar246 at gmail.com> - 1.10.4-1
+- Bumped to upstream version 1.10.4
+- Add docs
+
+* Wed Mar 11 2015 Chandan Kumar <chkumar246 at gmail.com> - 1.10.2-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..2716567 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3c76df8369c3ae22f8fee42345fdefcf  1.10.4.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-wrapt.git/commit/?h=f22&id=688bbdd751a1f11f3a46f0f477e6c66c7b3e005e


More information about the scm-commits mailing list