commit 9ea8210b840eb5262bbba5cf6c338776c96c77803a568b52a47540ad3e0548b2 Author: Matej Cepl Date: Fri Nov 27 15:14:55 2020 +0000 Accepting request 850180 from home:jayvdb:py-submit dep of https://build.opensuse.org/package/show/devel:languages:python:django/python-django-perf-rec OBS-URL: https://build.opensuse.org/request/show/850180 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-patchy?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/patchy-2.1.0.tar.gz b/patchy-2.1.0.tar.gz new file mode 100644 index 0000000..7572256 --- /dev/null +++ b/patchy-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc86231765956733e148db13887d911a01700a3571e01a6db67bac5d90d7e2af +size 152896 diff --git a/python-patchy.changes b/python-patchy.changes new file mode 100644 index 0000000..31426d4 --- /dev/null +++ b/python-patchy.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Sun Jul 5 17:48:56 UTC 2020 - John Vandenberg + +- Update to v2.1.0 + +------------------------------------------------------------------- +Sun Dec 15 12:07:39 PM UTC 2019 - John Vandenberg + +- Initial spec for v2.0.0 diff --git a/python-patchy.spec b/python-patchy.spec new file mode 100644 index 0000000..39a23ad --- /dev/null +++ b/python-patchy.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-patchy +# +# 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-patchy +Version: 2.1.0 +Release: 0 +License: BSD-3-Clause +Summary: Patch the inner source of python functions at runtime +Url: https://github.com/adamchainz/patchy +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/p/patchy/patchy-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pkgutil-resolve-name} +BuildRequires: fdupes +Requires: python-pkgutil-resolve-name +BuildArch: noarch + +%python_subpackages + +%description +Patch the inner source of python functions at runtime. + +%prep +%setup -q -n patchy-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc AUTHORS.rst README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog