commit 9fbc6749a4575f836ea04a3044e5934c2520d73ffbbc82d492a3b2d267d11901 Author: Todd R Date: Thu Nov 29 21:15:02 2018 +0000 Accepting request 652721 from home:TheBlackCat:branches:devel:languages:python:misc An utility to locally store files on a HTTP server OBS-URL: https://build.opensuse.org/request/show/652721 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-serverfiles?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/python-serverfiles.changes b/python-serverfiles.changes new file mode 100644 index 0000000..096dca4 --- /dev/null +++ b/python-serverfiles.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Nov 7 18:25:33 UTC 2017 - toddrme2178@gmail.com + +- initial version diff --git a/python-serverfiles.spec b/python-serverfiles.spec new file mode 100644 index 0000000..86cbf87 --- /dev/null +++ b/python-serverfiles.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-serverfiles +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-serverfiles +Version: 0.2.1 +Release: 0 +Summary: An utility to locally store files on a HTTP server +License: GPL-3.0-or-later +Group: Development/Languages/Python +URL: https://github.com/biolab/serverfiles +Source: https://files.pythonhosted.org/packages/source/s/serverfiles/serverfiles-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-requests >= 2.11.1 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module requests >= 2.11.1} +# /SECTION +%python_subpackages + +%description +A utility that accesses files on an HTTP server and stores them +locally for reuse. + +%prep +%setup -q -n serverfiles-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%license LICENSE.txt +%{python_sitelib}/* + +%changelog diff --git a/serverfiles-0.2.1.tar.gz b/serverfiles-0.2.1.tar.gz new file mode 100644 index 0000000..a32bc15 --- /dev/null +++ b/serverfiles-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7dfe1c28c7792231758929e3cbc24bff71bdc0120594d01e6f9b94847addf871 +size 11127