[packages/python-onedrive] new, version 14.04.3
glen
glen at pld-linux.org
Sat May 10 13:29:02 CEST 2014
commit 5e8aa90dcc697343d35cd949531a7a92159c384d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 10 14:28:15 2014 +0300
new, version 14.04.3
created with pyp2rpm
python-onedrive.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
---
diff --git a/python-onedrive.spec b/python-onedrive.spec
new file mode 100644
index 0000000..a413b76
--- /dev/null
+++ b/python-onedrive.spec
@@ -0,0 +1,46 @@
+%define pypi_name onedrive
+Summary: Python and command-line interface for Microsoft LiveConnect OneDrive REST API v5.0
+Name: python-%{pypi_name}
+Version: 14.04.3
+Release: 1
+License: WTFPL
+Group: Libraries/Python
+Source0: https://pypi.python.org/packages/source/p/python-onedrive/%{name}-%{version}.tar.gz
+# Source0-md5: 2da74c0fe68452bc84dd050617a33b3e
+URL: https://github.com/mk-fg/python-onedrive
+BuildRequires: python-devel
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python and command-line interface for `OneDrive API (version 5.0)
+(formerly known as SkyDrive).
+
+This module allows to access data on Microsoft OneDrive cloud storage
+from Python code, abstracting authentication, HTTP requests and
+response processing to a simple Python methods.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{_bindir}/onedrive-cli
+%{py_sitescriptdir}/onedrive
+%{py_sitescriptdir}/python_onedrive-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-onedrive.git/commitdiff/5e8aa90dcc697343d35cd949531a7a92159c384d
More information about the pld-cvs-commit
mailing list