From c0ce0f191c0943618fbbf239fbbbc47c71e80ab58aade080aea0ba3775b8f159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Jun 2019 07:17:53 +0000 Subject: [PATCH] Accepting request 707846 from home:pgajdos dependency of python-evtx OBS-URL: https://build.opensuse.org/request/show/707846 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hexdump?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + UNLICENSE | 24 +++++++++++++++++ hexdump-3.3.zip | 3 +++ python-hexdump.changes | 12 +++++++++ python-hexdump.spec | 59 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 122 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 UNLICENSE create mode 100644 hexdump-3.3.zip create mode 100644 python-hexdump.changes create mode 100644 python-hexdump.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/UNLICENSE b/UNLICENSE new file mode 100644 index 0000000..1b549c9 --- /dev/null +++ b/UNLICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/hexdump-3.3.zip b/hexdump-3.3.zip new file mode 100644 index 0000000..f06d8ce --- /dev/null +++ b/hexdump-3.3.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d781a43b0c16ace3f9366aade73e8ad3a7bd5137d58f0b45ab2d3f54876f20db +size 12658 diff --git a/python-hexdump.changes b/python-hexdump.changes new file mode 100644 index 0000000..71923ee --- /dev/null +++ b/python-hexdump.changes @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Wed Jun 5 12:54:16 UTC 2019 - pgajdos@suse.com + +- single spec, add license file +- updated to version 3.3 + * no upstream change log + +------------------------------------------------------------------- +Thu May 15 18:51:53 UTC 2014 - hpj@urpla.net + +- Version 2.0: initial build + diff --git a/python-hexdump.spec b/python-hexdump.spec new file mode 100644 index 0000000..3c21173 --- /dev/null +++ b/python-hexdump.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-hexdump +# +# Copyright (c) 2019 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-hexdump +Version: 3.3 +Release: 0 +Summary: Dump Binary Data +License: Unlicense +Group: Development/Languages/Python +URL: https://bitbucket.org/techtonik/hexdump/ +Source0: https://files.pythonhosted.org/packages/source/h/hexdump/hexdump-%{version}.zip +Source1: https://bitbucket.org/techtonik/hexdump/raw/66325cb5fed890df4a345e25ea8f107fd31b60d8/UNLICENSE +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip +BuildArch: noarch +%python_subpackages + +%description +View/edit your binary with any text editor. + +%prep +%setup -q -c -n hexdump-%{version} +sed -i '/^#!/d' hexdump.py +cp %{SOURCE1} . + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_expand $python %{buildroot}%{$python_sitelib}/hexdump.py --test + +%files %{python_files} +%{python_sitelib}/* +%doc README.txt +%license UNLICENSE + +%changelog