From c517e282cd321da8a66ad67b0f19715691843bf072d8bf01a92308426572559b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 22:16:53 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-pysendfile revision 9d4348abefb89fd30b1df9947e6c3f98 --- .gitattributes | 23 +++++++++++++++++ pysendfile-2.0.1.tar.gz | 3 +++ python-pysendfile.changes | 52 +++++++++++++++++++++++++++++++++++++ python-pysendfile.spec | 54 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 .gitattributes create mode 100644 pysendfile-2.0.1.tar.gz create mode 100644 python-pysendfile.changes create mode 100644 python-pysendfile.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.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 +*.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/pysendfile-2.0.1.tar.gz b/pysendfile-2.0.1.tar.gz new file mode 100644 index 0000000..10d7666 --- /dev/null +++ b/pysendfile-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:510a414b270986fba3c79cb76d90a4c910c701bfb43ff983a5d4e92846050e17 +size 19315 diff --git a/python-pysendfile.changes b/python-pysendfile.changes new file mode 100644 index 0000000..1f2c3ac --- /dev/null +++ b/python-pysendfile.changes @@ -0,0 +1,52 @@ +------------------------------------------------------------------- +Fri Apr 21 12:31:18 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 23:38:24 UTC 2023 - Matej Cepl + +- Refresh SPEC file. + +------------------------------------------------------------------- +Thu Apr 13 22:43:55 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Fri Aug 11 16:33:20 UTC 2017 - tbechtold@suse.com + +- convert to singlespec + +------------------------------------------------------------------- +Thu Oct 2 18:40:28 UTC 2014 - p.drouand@gmail.com + +- Use tarball from pypi as source + +------------------------------------------------------------------- +Fri Sep 12 08:21:49 UTC 2014 - dmueller@suse.com + +- update to 2.0.1: + - #20: host tarball on PYPI + - #21: project migrated from google code to github + - #21: project migrated from SVN to GIT + - #22: pysendfile won't compile on python 3.4 + - #23: add a Makefile + - #24: use of travis continuous integration + - #25: use tox for multiple python versions testing + +------------------------------------------------------------------- +Sat Apr 13 10:11:29 UTC 2013 - toddrme2178@gmail.com + +- Remove pre_checkin.sh since the two packages are not the same + +------------------------------------------------------------------- +Mon Jan 21 15:50:12 UTC 2013 - p.drouand@gmail.com + +- Add python3 support + +------------------------------------------------------------------- +Thu Nov 8 11:35:29 UTC 2012 - saschpe@suse.de + +- Initial version + diff --git a/python-pysendfile.spec b/python-pysendfile.spec new file mode 100644 index 0000000..f412f1b --- /dev/null +++ b/python-pysendfile.spec @@ -0,0 +1,54 @@ +# +# spec file for package python-pysendfile +# +# Copyright (c) 2023 SUSE LLC +# +# 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/ +# + + +%{?sle15_python_module_pythons} +%define mod_name pysendfile +Name: python-pysendfile +Version: 2.0.1 +Release: 0 +Summary: A Python interface to sendfile(2) +License: MIT +Group: Development/Languages/Python +URL: https://github.com/giampaolo/pysendfile +Source: https://files.pythonhosted.org/packages/source/p/pysendfile/pysendfile-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +%python_subpackages + +%description +A python interface to sendfile(2) system call. + +%prep +%setup -q -n %{mod_name}-%{version} + +%build +export CFLAGS="%{optflags}" +%pyproject_wheel + +%install +%pyproject_install + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitearch}/sendfile.*.so +%{python_sitearch}/pysendfile-%{version}*-info + +%changelog