commit 58eac04c3ae73c11df803eb8861545230c7dc90483535172666c968a40d783d1 Author: Ondřej Súkup Date: Thu Nov 8 09:28:48 2018 +0000 Accepting request 646272 from home:alarrosa:branches:multimedia:voice-assistant New package python-ddg3 0.6.6, required by mycroft-core OBS-URL: https://build.opensuse.org/request/show/646272 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddg3?expand=0&rev=1 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/_service b/_service new file mode 100644 index 0000000..8fe9b00 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + https://github.com/jpetrucciani/python-duckduckgo.git + git + 0.6.6git~%ci~%h + ddg3 + + + *.tar + xz + + + + diff --git a/ddg3-0.6.6git~20170824T092521~0ef6b2f.tar.xz b/ddg3-0.6.6git~20170824T092521~0ef6b2f.tar.xz new file mode 100644 index 0000000..e721b2a --- /dev/null +++ b/ddg3-0.6.6git~20170824T092521~0ef6b2f.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8da4415fa088a63a2153e8cb4ca64327cc5b835d712af5bedfc6e0b7a76c211 +size 3404 diff --git a/python-ddg3.changes b/python-ddg3.changes new file mode 100644 index 0000000..c8c9bf1 --- /dev/null +++ b/python-ddg3.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Sun Nov 4 17:42:19 UTC 2018 - alarrosa@suse.com + +- Initial release of python-ddg3 . Upstream doesn't provide a release + neither in github nor pypi, so this takes the sources from github + and use the internal version, 0.6.6 . diff --git a/python-ddg3.spec b/python-ddg3.spec new file mode 100644 index 0000000..0908a5e --- /dev/null +++ b/python-ddg3.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-ddg3 +# +# 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 http://bugs.opensuse.org/ + + +%define skip_python2 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-ddg3 +Version: 0.6.6git~20170824T092521~0ef6b2f +Release: 0 +License: BSD-3-Clause +Summary: Library for querying the Duck Duck Go API +Url: https://github.com/jpetrucciani/python-duckduckgo +Group: Development/Languages/Python +Source: ddg3-%{version}.tar.xz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: unzip +BuildRequires: fdupes +BuildRequires: python3-requests +BuildArch: noarch + +%python_subpackages + +%description +A Python3 library for querying the Duck Duck Go API. + +%prep +%setup -q -n ddg3-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE +%python3_only %{_bindir}/ddg3 +%{python_sitelib}/* + +%changelog